LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Altering XScale of Waveform Graph

Hi!
I have a very irritating problem with the property nodes (who haven't had?
🙂 ) for the Waveform Graph. I want to show aquisition data from an
oscilloscope and show it in a Graph which will be updated continuously via
a while-loop. In the while-loop I send a time-base query to the scope
giving me the width of the signal in seconds (time/div*10 since there are
10 squares on the scope-screen). My idea is then that given this value I
will divide the XScale of the waveform graph window into eleven marks
starting from zero and ending with the time-base value. However this sems
to be almost impossible to implement using the given property nodes.
I've tried out:

XScale.ScaleFIt
XScale.Style (this works fine though)
XScale.MarkerVals[]

XScale.Minimum
XScale.Maximum
XScale.Increment
XScale.MinorInc
XScale.RngStart
XScale.Editable
XScale.LooseFit

etc...
but none of these seems to work satisfactory... I just get a lot of
zeroes on the axis... and in some settings I make, the plot will
flicker... 😞

Anyone got any ideas?, 'cus I've just ran out of them...

Thanx!

--
,--.
| \
| \
,-----------------------------------------._____
_,-:.-:¨¨`.| B. Rasmus Anthin | ¨¨¨¨--_
=:...==::=. ).:| -==--- www.etek.chalmers.se/~e8rasmus | )
``-:::.._,^| e8rasmus@etek.chalmers.se | ____--¨
`-----------------------------------------'¨¨¨¨¨
| /
| /
`--´
0 Kudos
Message 1 of 3
(3,526 Views)
Have you tried adjusting the "offset and multiplier" proporty? I'd use that in conjunction with x scale property. (It's under XScale --> Offset and Multiplier)
It'd be helpful if you post an example vi of what you are trying to accomplish.
0 Kudos
Message 2 of 3
(3,526 Views)
Hi!
Yes I think I have... however it seems that I have missed to edit the
"Format and Precision" values to 2 decimals and SI notation. Now it works
exactly as I wanted it. At first only one half of the signal(s) was shown
but it was only that the signal was made symmetric by the
aquisition-vi. Just altered t0 to 0, no big deal 🙂
It seems to be easy to make such mistakes here. Hopefully such mistakes
won't be repeated in the future 😞

Thanx for the help though!

> Have you tried adjusting the "offset and multiplier" proporty? I'd use
> that in conjunction with x scale property. (It's under XScale -->
> Offset and Multiplier)
> It'd be helpful if you post an example vi of what you are trying to
> accomplish.
>

--
,--.
| \

| \
,-----------------------------------------._____
_,-:.-:¨¨`.| B. Rasmus Anthin | ¨¨¨¨--_
=:...==::=. ).:| -==--- www.etek.chalmers.se/~e8rasmus | )
``-:::.._,^| e8rasmus@etek.chalmers.se | ____--¨
`-----------------------------------------'¨¨¨¨¨
| /
| /
`--´
0 Kudos
Message 3 of 3
(3,526 Views)