08-15-2013 09:52 AM
Hello everyone,
I am new to labview and CRIO and now using CRIO-9206 to sample data of 4 channels and record them in TDMS file, and the frequency requirement is 1kHz. I use the scan interface mode as the scan engine can update the IOs at the max frequency of 1kHz. According to what I expect, in the TDMS file there should be 5 channels, of which 4 consist the data group and the fifth one is the time stamp of this group of data, and the intervals between two adjacent stamps should be 1ms. When I checked the TDMS file that CRIO generated, I found that something goes wrong with the time stamp
the intervals just won’t keep 1ms any longer from the last but three row and they become 4ms or 5ms after(the whole result not shown on the picture). Is this unexpected result related with any part of the block diagram? I attached the whole project file here and look forward to any kind of help or suggestion. Thanx a lot.
08-15-2013 07:29 PM
well, the screenshot of the TDMS content on my post just can't be printed, I upload it again and put it below.
I also got some screenshots of my vi for those who don't want to download the file.
08-16-2013 03:20 AM
TDMS will log the exact data that you input, thus, if the data logged is different than your expectation. You should probably check the data itself. By the way, the zip file you uploaded seems to be corrupted.
08-16-2013 04:10 AM
thanx very much for your reply.
I think the problem may lie in the structure of the vi or the shared variable, but I am green on the programming of labview, so I want to know where gose wrong.
I am terribly sorry for not remembering to write information about the hardwares I use and the version of my LABVIEW, I downladed, unzipped and opened my zip file on another computer with 2011 LABVIEW and it's normal, so the corruption may be due to the forward-incompatibility of LABVIEW.
version of LABVIEW:2011
hardware information:
controller:9024
chassis:9115
c module:9206 voltage module