04-07-2010 02:39 AM
Hiya,
My personal tutor suggested that I should put a message on forums as we couldn't find the solutions.
We've created TDMS write and read vis where in TDMS write, some emulated data is streamed into TDMS write file via queues. As in attached VIs, there are only six channels but we might be having more than 20 to show on TDMS file viewer.
So the problem is when we run the TDMS write vi, trigger it with horizontal toogle on front panel, stop the TDMS write and go back to view the file on TDMS read, only the first channel data shows up. Also, we couldn't find the better way to stop the TDMS write vi than to abort it.
Could anybody help us please!
Ta
04-07-2010 03:21 AM
I'm afraid the problem is not in TDMS, maybe it's in your own code. Although you wired 6 channels as the channel names input and a 2D array as data for TDMS Write, the real data you stream is always actually 1D, that would be treated as only 1 channel in TDMS, it's the reason why you have only 1 channel in TDMS File Viewer.
04-07-2010 04:09 AM
About the problemous stop, I advice you to run your code with 'Execution Highligting' on.
Ton