LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem reading the entire of TDMS file when converting it to .lvm

hi

I have a problem tha i couldn't find a solution . i was searching and seeking for an issu but nothing . I used an example i found on NI forum but when the vi convert the TDMS file to .lvm file . i didn't find whole information that it would be in normally .

0 Kudos
Message 1 of 3
(2,832 Views)

please i need a help .

 

thanks

0 Kudos
Message 2 of 3
(2,825 Views)

Please give us details on exactly what is your problem?

 

Where did your find this example?

 

Some things don't make any sense.

1.  You basically read in the entire file right at the beginning of the program just to get the array size of the data.

2.  You close the file at the beginning of the loop, just to reopen it again.  Why wouldn't you have closed it right after the first time you read it in #1.  It would be more logical to open, read, close at the beginning.  And then open, read, close from within the loop.

3.  It makes more sense if you actually just open the file before the loop, read each section in the loop, and close the file after the loop ends.

4.  Why do you read the file as a 2-D array of I32 before the loop, but read the file by the default of a 1-D array of waveforms inside the loop?

0 Kudos
Message 3 of 3
(2,817 Views)