iNakhimovich Posted November 24, 2008 Report Share Posted November 24, 2008 I am new to labview and have a problem with outputting to an external file I am using LabView to gather data on various tanks in a system. The tanks have a sensor that sense what the level of the volume in them is. These sensors are to be checked every 5 seconds and an output file needs to be updated with the new level of each tank. This program needs to monitor the tanks and constantly output the levels to a text file (or any other output system that I decide upon). The user of my system wants to be able to at anytime view what is currently in the text file so far. For example this would be what they need to see after 20. seconds tine value1 value2 0 2 3 5 2 4 10 3 4 15 2 4 20 5 1 The client wants to be able to open the text file at anytime and see what has happened so far. I can get my data to be outputted to a table inside of labview but am having trouble outputting to a text file, how would I go about doing this? Note: the program will be constantly running. Thanks for the help. Quote Link to comment
Dan DeFriese Posted November 24, 2008 Report Share Posted November 24, 2008 Try using the Write to Spreadsheet.vi. Quote Link to comment
Minh Pham Posted November 26, 2008 Report Share Posted November 26, 2008 LabVIEW has many examples on writing data to file in different formats. Please goto Menu: Help>>Find Example>>Fundamentals>>File Input and Output. Also do a quick search with a few keywords you should also find many examples online. Have fun. 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.