LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph x-axis into real time recording

Hey there,

 

I have acquired voltage off a LVDT through the DAQ assistant and connected it to a waveform graph. However, the x-axis says its 'Time' but its got the white line running across it even though no time has elapsed and the time itself has funny units to it. What I need on the x-axis is real time so that I can see the line register from left to write as time passes by. I have tried a few things like connecting the DAQ to a chart graph but it doesnt have the log graph which I need. I have also fiddled with the XY graph by connecting the DAQ assistant into the 'Y Input' but I am not sure how to input time into the x input.

 

If someone could help me with this problem, it would be much appreciated.

 

Thanks,

Gurung 

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

Hi Gurung,

 

in a first step I would advise to use the waveform datatype. That one has timing information included, which is handled by the chart/graph automatically...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,640 Views)

Hi there,

 

Is it possible for you to attach a vi file as an example as I am very new to labview and still learning the basics. 

 

Thanks,

Gurung

0 Kudos
Message 3 of 4
(2,619 Views)

Hi Gurung,

 

what do you expect here? Wire waveforms to a chart:

check.png(DAQmxRead settings: n channels, n samples, 1D array of waveforms)

 

For learning the basics you should

- examine the examples coming with LabVIEW

- go through the Basics course on NI website

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,614 Views)