LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph property nodes

I have written an application which continuously acquires data from my daq card (2000 samples @ 2000sam/sec). I am appending each iteration and displaying the entire waveform on one waveform graph. I have a second waveform graph that I'd like to use to dynamically select a particular range (so I can zoom in to a small portion of the larger waveform). To do this I require the ability to modify the XScale at runtime. I have tried using the Waveform Graph Property Node (XScale.Min and Max) and have noticed that these cannot be manipulated at runtime. I browsed some example code and found one example that uses the property "XScale.OldRange", yet I cannot seem to find this property in the list available when you right-click on the node. Whe
re is this property located???? I have copied and pasted the property node from the example and pasted it in my own application, and linked it to the graph I'm trying to manipulate and it does work; however I'd like to be able to select the property myself.

The example to which I'm referring is "Two Channel Oscilloscope.vi" found in the "Find Examples" menu in Labview. ***I'm currently working with LV6.1.
0 Kudos
Message 1 of 2
(4,070 Views)
Doug,

The properties you mention (XScale.Minumum and .Maximum) can be set while a vi is running. Make sure the property nodes are within the a loop that is currently running when you make the change. Also, make sure the control or variable you use to set these values is being read in the same loop. You'll also need to make sure the xscale of the graph is NOT set to autoscale.

I'd say since your seeing the property node "XScale.OldRange", the example you're using was probably from an older version of LV. When property nodes change, as Xscale did, they support the old versions. Use XScale.Range in your new applications.

Tim
0 Kudos
Message 2 of 2
(4,070 Views)