Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Append data to a waveform graph

I am using the Acquire N - Multi-Digital Trig to acquire a series of data. I wish to store the data acquired, by saving them into a file (Export Waveforms To Spreadsheet File) however, the waveform graph data are not appended. I have tried to see the example provided for appending data to a waveform graph (example.zip) on this webpage but I wasn't able to apply the principle to my application. (I have even tried the Append Waveforms.vi function but I cannot connect it to the waveform graph data).

I will appreciate it if I can have any suggestions on how to append the waveform graph data, so as to store them in a file.

Thank you
0 Kudos
Message 1 of 4
(2,971 Views)
You need to make sure that the "append to file?" input terminal is set to TRUE. Be default, it is set to FALSE, and so that data will be overwritten instead of appended. I ran it this way and it seemed to run as you are wanting.
J.R. Allen
0 Kudos
Message 2 of 4
(2,971 Views)
Thank you for your answer. However what I want is not to append the data into a file, but to append them into an array and then when the loop completes (i.e. the entire acquisition finishes) to store them in a file. Is there an append option for an array as well?

Thank you
0 Kudos
Message 3 of 4
(2,971 Views)
There is an Append Waveforms.vi that you can use for this. It's located in the Functions>>Waveform>>Waveform Operations palette. That will append two waveforms, which is different from just an array. If you only want to append arrays, you can use the Build Array function to concatenate two arrays.
J.R. Allen
0 Kudos
Message 4 of 4
(2,971 Views)