sly le globe trotter Posted August 1, 2006 Report Share Posted August 1, 2006 Hello everybody, I have to complete a LabVIEW program by exporting data to a text file under a defined format. At the present time, data is exported in an Excel file. As I start with LabVIEW, I don't really know how to proceed. Do you have some information to help me to start with this task ? How to cerat a etxt file, to open it, to fill it, to close it ? Thank you very much ! Sylvain Quote Link to comment
Falevoz Y. Posted August 1, 2006 Report Share Posted August 1, 2006 Hello! On the diagram menu, you can find a sub-menu with a disk as icon. In this sub-menu, you can find different VIs than can export data to a text file (simple text file, Comma Separated Value...) BY! Quote Link to comment
Ulrich Posted August 2, 2006 Report Share Posted August 2, 2006 Hello!On the diagram menu, you can find a sub-menu with a disk as icon. In this sub-menu, you can find different VIs than can export data to a text file (simple text file, Comma Separated Value...) BY! Hi, if you have your data in an string array you can use the "Array to Spreadsheet String.vi" (you'll find this in the string menu) If your data is only numbers you can use the read and write to a spreadsheet file VIs from the File I/O menu (with the disk icon) Then you can easily import the text file into Excel if you need. have a nice day Ulrich Quote Link to comment
sly le globe trotter Posted August 2, 2006 Author Report Share Posted August 2, 2006 Hello, I had a look in that menu and find different things but I've got trouble to use them. In the text file I have to create, I have to write a first line with defined information and then numeric data separated by ";" I haven't find for the moment how to have data of two types (string and numeric). Sylvain Quote Link to comment
Falevoz Y. Posted August 2, 2006 Report Share Posted August 2, 2006 Hello,I had a look in that menu and find different things but I've got trouble to use them. In the text file I have to create, I have to write a first line with defined information and then numeric data separated by ";" I haven't find for the moment how to have data of two types (string and numeric). Sylvain Try somthing like that... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.