03-16-2010 12:50 AM
03-16-2010 02:16 AM
TDMS does not support 3d arrays, if I were you I would use 3 seperate groups, one for every card, with 3 seperate writes
Ton
03-16-2010 02:26 AM
03-16-2010 06:12 PM
What he's suggesting is probably best. Instead of indexing the 3D array in the for loop, use an "index array" function to split the array into 3 2D arrays. Then pass each of those 2D arrays to separate TDMS files (one file for each device).
Here's a partial idea of what I'm talking about:
03-16-2010 07:44 PM
03-17-2010 02:05 AM
In your previous post you had a 3-d array in the queueu, now you have a 2d array, good.
However the code you posted is only for one channel, you can use the code you made 3 times inside your code.
NO need for the for-loop when writing to the TDMS-file.
Ton
03-17-2010 04:22 PM
03-17-2010 07:37 PM
I wasn't able to test this, since the DAQmx tasks/channels were all nonexistent on my machine, but I think this might be what you're looking for. This should get your TDMS writes to all occur on the same file.
The snippet messed with the code a little, but I had the variables for the task 1/2/3 wired into the channel info VIs.
03-18-2010 03:05 AM
03-18-2010 03:07 AM