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: 

LabVIEW XY graph

I have cursor positions which I want to assign to x range min and Max when pressed a button .but could not get it changed.

Can someone suggest me how to go through this implementation.

0 Kudos
Message 1 of 3
(867 Views)

You can set cursor positions via property nodes. Since you are not showing us what you tried, we cannot tell what you did wrong.

 

Please attach a simplified version of your vi so we can pinpoint the problem.

0 Kudos
Message 2 of 3
(837 Views)

@qwaefxbnhhjugyjv wrote:

I have cursor positions which I want to assign to x range min and Max when pressed a button .but could not get it changed.


It's not clear what you mean by "assign to x range min and Max". That could mean for instance set the position to a min\max value I have or maybe "range min and Max" means one of several X scales?

 

Set the Active Cursor property. And than either Cursor.Position.X to set the position or Cursor.X Scale to change the scale the cursor uses:

 

wiebeCARYA_0-1710756438682.png

 

Do this in an event structure to trigger the action with a button's value change.

0 Kudos
Message 3 of 3
(759 Views)