LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting X0 and dX Programmatically

In a Waveform Chart, how do I set the Scaling Factors x0 and dX
programmatically? I don't see these listed in the list of Property Nodes
(LV 6.0i), but I can set them manually in the design-time front panel.

Jeff
0 Kudos
Message 1 of 5
(2,917 Views)
You should use the Offset and Multiplier property of the X-scale.
See the example Real-Time Chart.vi included in LV6
0 Kudos
Message 2 of 5
(2,917 Views)
This is partially working.

I have a chart manually set from 0 (min/start) to 10 (max) on the X-Axis,
with a For loop with 100 milliseconds Wait and dX = .1, so 10 loops
represents 1 second. When I manually set dX to .05, 10 loops represents 1/2
second, and the max X-Axis stays at 10.

But when I use the Multiplier setting Property Node, it works as above, but
the X-Axis Maximum autoscales to 5, even though I have a Property Node for X
Max = 10. How do I use the Multiplier property, and keep control of the
X-Axis Maximum Value? Also, where is the Real-Time Chart.vi located?

thx

Jeff

"alberto" wrote in message
news:506500000005000000D82B0000-986697009000@quiq.com...
> You should use the Offset and Multiplier property of the X-scale.
> See the ex
ample Real-Time Chart.vi included in LV6
0 Kudos
Message 4 of 5
(2,917 Views)
Disregard the previous post, it's working as expected. I cleared the chart,
and tried it again, and the X-Axis scaled appropriately to 10.

Jeff

"Jeff Dillon" wrote in message
news:SxOR6.63755$W14.4095321@e420r-sjo2.usenetserver.com...
> This is partially working.
>
> I have a chart manually set from 0 (min/start) to 10 (max) on the X-Axis,
> with a For loop with 100 milliseconds Wait and dX = .1, so 10 loops
> represents 1 second. When I manually set dX to .05, 10 loops represents
1/2
> second, and the max X-Axis stays at 10.
>
> But when I use the Multiplier setting Property Node, it works as above,
but
> the X-Axis Maximum autoscales to 5, even though I have a Property Node for
X
> Max = 10. How do I use the Multiplier propert
y, and keep control of the
> X-Axis Maximum Value? Also, where is the Real-Time Chart.vi located?
>
> thx
>
> Jeff
>
> "alberto" wrote in message
> news:506500000005000000D82B0000-986697009000@quiq.com...
> > You should use the Offset and Multiplier property of the X-scale.
> > See the example Real-Time Chart.vi included in LV6
>
>
>
0 Kudos
Message 5 of 5
(2,917 Views)
Are you saying that in LV 6 those options are lost? In LV 5 they are under property node "X scale info">>"X0 and deltaX".
0 Kudos
Message 3 of 5
(2,917 Views)