LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

x scale elapsed time

Hello,

 

I have just recently started using LabView (1 week) and I need some help with the X scale on my charts.  I would like to plot the elapsed time since the beginning of a triggered loop.  I have searched the forms but cannot seem to find a previous post that will help me.  I have attached my block diagram.

 

I am acquiring two voltage signals thru a NI USB-9219 DAQ and would like to plot the voltages versus elapsed time.  One voltage triggers the case loop once it reaches a threshold value.

 

Thank you for any help.

 

Bruce

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

Hi Brucam,

 

the DAQ-Assistent already gives you a timestamp. If you use a graph instead of a chart you can display the time starting with zero. You don't need the elapsed time VI.

 

EmilS 

EmilS
0 Kudos
Message 2 of 4
(2,763 Views)

Hi EmilS,

 

Thank you for your answer but, I want to chart the voltage as a function of time and display it as a stripchart.  The graph function does not seem to allow me to do this.  Also, I have two voltages that I am tracking and would like to stack the charts and using a Graph will not allow me to do this.

 

I am using the elasped time VI as a display right now as it is easier to read than the values on the X-scale of the chart.

 

Bruce

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

Hello Brucam,

 

perhaps you can do it like in the attached vi.

 

 

EmilS
0 Kudos
Message 4 of 4
(2,726 Views)