ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you input current time into a graph?

Solved!
Go to solution

I have data that will be inputed onto my computer via hardware but how do I get it to plot against time?

 

Cheers 

0 Kudos
Message 1 of 8
(3,972 Views)

Hi ssteel,

 

 

If you are using waveform then build waveform with input current time.

 

It is as follows in ex.

 

Regards,

 

Shrek

0 Kudos
Message 2 of 8
(3,969 Views)
The Charts and Graphs always polt against time. The time base is just a factor of how often you are sampling. If you are sampling once per second, then the ticks on the X scale represent seconds.
Richard






0 Kudos
Message 3 of 8
(3,947 Views)

Broken Arrow wrote:
The Charts and Graphs always polt against time. The time base is just a factor of how often you are sampling. If you are sampling once per second, then the ticks on the X scale represent seconds.

 

Building on what Broken Arrow just said, once you have time on the x-axis,

you can right-click the axis, then go to  format.

You can then change the time to absolute or relative, as well as how the time is formatted.

Message Edited by Cory K on 08-04-2009 09:55 AM
Cory K
0 Kudos
Message 4 of 8
(3,942 Views)

Cheers, 

 

My input is numbers that im getting from I/O Assistant, how do I hook that up to the build waveform since it needs a brown connection rather than orange? 

0 Kudos
Message 5 of 8
(3,917 Views)
Solution
Accepted by ssteel

Are you getting one data point at a time, or an array of data points?

 

If you are getting an array, you can use Build Waveform in the Waveform palette.  Feed the array into Y, your delta T into dt, and your start time into T0.

 

You can also write an offset and multiplier (basically T0 and dt) into the X scale property nodes for the chart or graph.

 

0 Kudos
Message 6 of 8
(3,879 Views)

Hello!!

 

Could i have a sample of the Ex.vi in version 8.5?

 

i couldn't open it in 8.6. Thanks! =D

 

Best Regards,

KK

0 Kudos
Message 7 of 8
(3,661 Views)

It is small enough you can easily recreate in LV 8.5.

Message Edited by Ravens Fan on 01-21-2010 10:01 AM
0 Kudos
Message 8 of 8
(3,630 Views)