Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform initialize

Why when I initialize the maximum and minimum values of my
x-axis on my waveform to be certain values does it show huge
values when I run the VI.  A screen shot in the attachment shows
the problem.  I initialize the waveform (Heartbeat) from 0-0.02 sec,
but I obtain odd results when I run the VI. 
I'm displaying the waveforms real-time, but I want
x-axis scaling to update accordingly, so I can have some sort of idea
of how to read the plot.
 
Thanks,
 
David

Message Edited by mares_wyo on 07-06-2005 01:37 PM

0 Kudos
Message 1 of 3
(7,614 Views)
You can use "autoscale" for the X axis...which will select a range LabVIEW deems appropriate.  With autoscale off, you can either set the scale manually or use property nodes to alter the scale, offset, range, increments etc.

-cheers,
Brett
0 Kudos
Message 2 of 3
(7,589 Views)

Sometimes you have to do some work to get an X scale that displays the way you want it to. It's hard to say without seeing your code, but I'm guessing that your X scale is displaying current time as a Floating point. Right click on your Chart and go to properties. Look at the format and precision tab. Try some of the options like Absolute time, Relative time, and Floating point. Notice how your X axis changes.

Sam

0 Kudos
Message 3 of 3
(7,584 Views)