ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to initilize a plots origin to (0,0)?

Hi,
I have a plot in my VI and I want to make sure that everytime that I start the VI that the plots origin is at (0,0). What can I do to initialize it as such?
0 Kudos
Message 1 of 5
(3,084 Views)
Create a property node for your plot, and everytime you execute your vi initialize this property node putting it's x0 and y0 values to 0.
Hope this helps
0 Kudos
Message 2 of 5
(3,084 Views)
Now are Xo and Yo choices for the property node? I know you can choose from a bunch of properties, which ones do I choose? and so I'd have to attach a control to it? or and indicator?
0 Kudos
Message 3 of 5
(3,084 Views)
Sorry it has been a mistake, i meant an attribute node. Right click on the plot, select create>>attribute node, then click on it and select x scale>>x0 and y scale>>y0, then, change them to write and wire a constant to them.
Good luck
0 Kudos
Message 4 of 5
(3,084 Views)
Good answer Gorka. Actually, what used to be called "attribute node" in older versions of LabVIEW is called "property node" in version 6i. It sure is confusing. /Mikael
0 Kudos
Message 5 of 5
(3,084 Views)