04-03-2013 04:29 PM
Ladies and Gentlemen,
I am trying to add a Timestamp to some acquired data. The time stamp must be only one - when the file was created and in the beginning of the binary file. After that all the data should follow. Can anyone help and point out what do I need to do.
You can see from the attachment that I use DAQmx functions to create a TDMS file (without the time stamp - and I would like to keep the TDMS file for the moment) and then take the data and write it to the binary file (adding the time stamp). I haven't placed the triggers... I am just looking for the idea - what I am missing. I would like to keep the data the same (as taken from the graph) and just add the time stamp...
Thank you in advance!
MD
04-04-2013 09:32 AM
Hi MDoc,
Please take a look to these examples:
http://zone.ni.com/devzone/cda/epd/p/id/3659
http://zone.ni.com/devzone/cda/epd/p/id/1680
https://decibel.ni.com/content/docs/DOC-9543
Carmen C.
04-05-2013 09:58 AM
Thank you very much Carmen!
I fixed the time stamp in a similar way.
I have another question now... I am writing the data to tdms files and a binary file. In the tdms file the data is fine, but in the binary file I have time to time empty spaces. I am extracting all Y values and trying to write them in the binary file... (I am not sure if I am doing it right...) Please see the attached pictures.
MD