07-08-2015 04:50 AM
Hi,
Is it possible to get the tdms file reference, when using the "TDMS Direct Integration in NI-DAQmx Logging" like that: http://www.ni.com/white-paper/9574/en/
I would need it to write manally data to an tdms-file while a DAQmx-task is logging the measured data to this file.
To open a second file reference is not possible, because it is blocked from the DAQ-task.
Best regards,
Reinhard
Solved! Go to Solution.
07-08-2015 06:42 AM
Not that I am aware of. But you might want to go look at this idea (and give it kudos). It might not be exactly what you are looking for, but it would solve most issues.
07-09-2015 01:35 AM
Hi,
Thanks for answering!
Yeah, that`s a nice idea, but it is, like you said, not exactly what i`m searching for...
That`s my situation:
I have four analog channels (voltage-measurement) and i need to store the raw data in tdms format. So it would be nice to use the DAQmx to TDMS direct logging. But there is one Problem: I also have to log the sum of the four voltages and I want to log it to the same tdms-file as new channel.
If it is not possible to get the tdms-file reference out of the DAQ-Task, I have to use the traditional way (not using the direct logging) by reading the data and log it manually.
lg Reinhard
07-09-2015 04:08 AM - edited 07-09-2015 04:09 AM
Hey Reinhard,
I think it is not possible to get the reference for the TDMS file from the DAQmx logging functions.
You need either to create a second file to store the sum of the 4 voltage channels or you calculate the sum after the logging.
Regards, Stephan
07-09-2015 07:59 AM
Hi,
I suspected that it is not possible. But I think it is a nice idea...
Thank you for answering!
Best Regards,
Reinhard