Hi all!
I am trying to log data values from several channels (so far 4) into one ASCII file including a time stamp in the first column.
The goal is one file that contains one time stamp per row (in the first column) and one column per channel. It may looks like this:
TIME Ch1 Ch2 Ch3 Ch4
t1 a1 b1 c1 d1
t2 a2 b2 c2 d2
I want to save one row (time stamp and 4 channels) each minute as above into the same file. Nice would be to creat a new file each day.
Problems:
1. Using the "Save to ASCII/LVM" step: How can I get SignalExpress to insert a time stamp in the first column of each row?
I have no problem inserting the 4 signals that generate me one column per signal. And using "Overwrite once, then append to file" I get one file for all signals.
Any idea how to insert a time stamp this way? Or how to creat a new file every 24 hours?
2. Another way I tried is to use the "Recording Option". But how can I get all the four signals saved in one file?
After the DAQmx acquisition step I process the 4 channels individually (one scaling step and one threshold step per channel - because of different factors per channel).
Activating the Recording Option (which would generate a new file every 24 hours, but not starting at 12pm each day...) I get 4 single TDMS-files (and their corresponding tdms_index and meta.txt files),
one file per signal I am recording. I assume this is because they are 4 individual signals I'm recording and not a group of signals. Can I group individual signals together?
Thanks for your help
SSC
PS: I work with SignalExpress 2.5 and have a NI USB-6210 connected.