04-27-2015 09:03 AM
Hello,
I am using a NI 9219 and the Daq Assistant function in Labview to acquire a voltage mesurement. I posted the code below. How can I acquire the voltage data value and the time separately without tracing it in a waveform graph. I wish to write the data and the time into a text file.
Can someone help me please?
04-27-2015
09:10 AM
- last edited on
11-07-2024
03:27 PM
by
Content Cleaner
Export Waveforms to Spreadsheet File VI
04-27-2015 09:14 AM
04-27-2015 09:23 AM - edited 04-27-2015 09:27 AM
A picture of a DAQ Assistant is almost useless. We can't see how it's configured. What do you mean by acquiring voltage and time separately? The time stamp is the exact time that you acquired a voltage reading, they can't be separated. If you simply want to view and/or record those values you can use Get Waveform Components VI in the Waveform palette. That will uncluster the waveform into its Y values (your voltage), a timestamp (when the acquire started) and a delta time value (the time between samples if you acquired more than one sample).
EDIT : If you want to stick to the simple Express VIs then follow Dennis' suggestion and just wire up the Express > Output > Write Meas File.vi