LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Daq Assistant

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?

 

Capture.PNG

0 Kudos
Message 1 of 4
(2,860 Views)

Export Waveforms to Spreadsheet File VI


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,852 Views)
What happened when you connected the Write to Measurement File?
0 Kudos
Message 3 of 4
(2,850 Views)

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

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 4 of 4
(2,841 Views)