11-30-2007 04:30 PM
11-30-2007 05:32 PM - edited 11-30-2007 05:33 PM
12-01-2007 09:17 AM
12-03-2007 01:13 PM
07-06-2010 03:17 PM
I am using the the DAQmx Read vi as source for Write To Measurement File, and I am having the same problem. Task/Channels are setup in MAX alright, and the headers were written correctly with channel names when I was using the DAQ Assistant to read measurements, but for sufficient control I had to switch to the DAQmx Read vi and do it manually - this is what caused the "Untitled" columns.
There's gotta be an easy way to do this!
07-06-2010 04:00 PM - edited 07-06-2010 04:01 PM
Like this?
07-06-2010 07:13 PM
Here is the only way I can figure, and this is using the Set Dynamic Data Attributes express vi. Basically, I have 5 channels setup under a task in MAX, and since I'm not using the DAQ Assistant express vi (which, btw, can't access an existing task, as it only selects channels to create a new task), my tasknames don't get bundled in that nice little "Dynamic Data" wire. Hence the Untitled column headers in what is written, and unnamed signals anywhere else its used. Its a shame that we have such a convenient way to write a measurement file, but DAQread.vi is unable to output dynamic data.
This is the only way I could think of to make it work; It's real simple, but looks real messy in the midst of my rat's nest of wires and vi's. For every single channel you want to name, it seems you will need a separate instance of this Set Dynamic Data Attributes.
07-06-2010 07:25 PM
Don't know why you would say that's the only way when I gave you an alternative. Did you even try it? Did you do a search of the board for this 'problem'. The above solution does work and it was the way it was done before that silly express VI was created.
07-07-2010 12:52 PM
braber,
I think you also might be getting stuck on this one because you were configuring the DAQ Read to return DBL instead of Waveform datatype. After configuring it to return waveforms, follow Dennis' suggestion.
Regards,
07-07-2010 12:54 PM
Did not notice that at all. Good catch.