06-20-2014 12:38 PM
06-20-2014 12:47 PM
Im not at my comptuer anymore but my vi is here http://forums.ni.com/t5/Multifunction-DAQ/Building-a-multi-daq-acquisition-system-to-track-32-analog...
Do i not have the same setup? this is missing the tdms daqmx log portion though i think.
06-20-2014 01:03 PM
@labview12110 wrote:
Im not at my comptuer anymore but my vi is here http://forums.ni.com/t5/Multifunction-DAQ/Building-a-multi-daq-acquisition-system-to-track-32-analog...
Do i not have the same setup? this is missing the tdms daqmx log portion though i think.
Yeah, that example doesn't have the TDMS Streaming in it. Be sure to add that. You will have to write to a different TDMS file for each of your tasks if your use the DAQmx TDMS Streaming.
It would be helpful if you could show us your latest VI. That would give us a better understanding of where you are.
06-20-2014 01:10 PM
I had to leave my lab computer an hour ago and don't have a copy until monday. I will post it first thing thoguh!
06-20-2014 01:14 PM - edited 06-20-2014 01:24 PM
Yeah. Tim was taking you down a dusty road with that logging loop and an express vi logging to .xlsx If you dig to HERE
You'll see that time column is not supported in the to xlsx case (a limitation that could be removed but why? TDMS does a fine job)
Catching up on actions while writing EDIT Why three files Tim?
if
−68009 | TDMS asynchronous mode is not initialized properly. Make sure the enable asynchronous? input of the TDMS Advanced Open function is TRUE. If you are writing data to a file, also make sure the TDMS Configure Asynchronous Writes (Data Ref) function exists. If you are reading data from a file, also make sure the TDMS Configure Asynchronous Reads (Data Ref) function exists. |
gets thrown we should get a CAR against that DAQmx.vi
06-20-2014 02:03 PM - edited 06-20-2014 02:04 PM
Jeff·Þ·Bohrer wrote:
Catching up on actions while writing EDIT Why three files Tim?
I get this error from the DAQmx Start Task if I don't separate them.
06-20-2014 02:33 PM
Hmmm yeah that's a problem.....The TDMS advanced asynchronous write does not support waveforms
Back to the queue and write to TDMS in a logging loop.
You learn something new every day I guess.
06-20-2014 03:48 PM
How would I do that? Do i queue and write to the same file as the daqmx tdms log or a separate one entirely?
06-20-2014 06:00 PM
It would be something seperate. Look at the Producer/Consumer example. If you read all of your tasks as waveforms and combine the array of waveforms, you can then dump that array of waveforms into a queue and have your other loop log the waveforms to a TDMS file.
06-23-2014 06:32 AM
I attached the latest version of my vi. I am having trouble getting the queue to work. I cannot seem to covert to the right data type in order to write everything to a file.