09-24-2009 02:52 PM
I have been referencing this example for a real time application I am writting:
Continuous Acquisition and Generation Reference Example for LabVIEW Real-Time
http://zone.ni.com/devzone/cda/epd/p/id/5366
I am using the exact code provided. I run the host vi, configure the Target-Main vi for the IP address of my computer and point the AI and AO to cards on my system. All as instruced in the comments. The Host front panel displays my data correctly. Although the time doesn't apear to update in the waveform graph. The program times out correctly after 10 seconds.
The issue is the tdms file. The tdms file created is garbage, nothing coherent when I go to open it in notepad. I see the code is rated at 2.33 out of 5. Is there a correction for this code, or a better example to use?
Solved! Go to Solution.
09-24-2009 09:24 PM
gardma wrote:
The issue is the tdms file. The tdms file created is garbage, nothing coherent when I go to open it in notepad. I see the code is rated at 2.33 out of 5. Is there a correction for this code, or a better example to use?
Of course you cannot read the TDMS file, you arent a computer
TDMS files are written in binary, so trying to read it in Notepad will be meaningless.
You would have to convert it to something readable like ASCII first
http://zone.ni.com/devzone/cda/tut/p/id/3727
09-24-2009 09:44 PM
In labview, you can use "TDMS File Viewer.vi" to read tdms files and have a check of the data written.
10-06-2009 10:25 AM
I will select another file type. Thank you for your help.