LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot xy graph using random number generator

How do i plot xy graph dynamically every 5 seconds with a random number generator?

X axis : Time

Y Axis : Random number generator

 

0 Kudos
Message 1 of 6
(6,954 Views)

I probably would use LabVIEW.

 

What have you tried so far? Where did you get stuck?

0 Kudos
Message 2 of 6
(6,952 Views)

Im unable to plot the time on x axis.

i just use random number generator as time in the mean time.

should i use time on from text file?

Capture.JPG

 

0 Kudos
Message 3 of 6
(6,948 Views)

try a chart.

0 Kudos
Message 4 of 6
(6,943 Views)

I've done tis so far. im able to plot dynamically every 1 second.

but the problem i am facing is The X axis display every 1 second.

i want it to be fixed 24 hours time format, and the data will gradually plots the data on y axis against x axis every one second, without changing the scale of the x axis (24hour time format)

1.JPG2.JPG

0 Kudos
Message 5 of 6
(6,940 Views)

You don't need shift registers and the Build Array because the Build XY graph express VI is doing that for you.

 

If you want time on the X axis, then you should be putting in the time, not another random number.

 

If you want to change the format of your X axis, then turn off autoscaling and set the min and max to be whatever gives you 24 hours of data (0 to 86400 would be 86,400 seconds in a day.)

Message 6 of 6
(6,931 Views)