Calling the TDMS Read VI Twice on the Same Group Returns Error 4 Primary Software: LabVIEW Development Systems>>Professional Development SystemPrimary Software Version: 8.5.1 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>Base Package, LabVIEW Development Systems>>Full Development System, LabVIEW Development Systems>>Professional Development System
Problem: When I try to call TDMS Read twice on the same group of a TDMS file, I receive the following error at the second TDMS Read. Why does this happen and how can I avoid this error? Solution: This is caused by the TDMS Read VI iterating over groups in the TDMS file if no group name is wired. If there is only one group in the TDMS file, the second TDMS Read VI call will try to read from a second group that does not exist and returns an End Of File. To correct this, wire a string containing the group name you are trying to read from to the group name in terminal of both of the TDMS Read VIs. One way to do this is to read the group name from the TDMS file using the TDMS Get Properties VI, then wire the group name out to the group name in of both TDMS Read VIs. Related Links: Developer Zone Tutorial: Introduction to LabVIEW TDM Streaming VIs Attachments:
Report Date: 07/18/2008 Last Updated: 10/21/2008 Document ID: 4NH9S46U |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
