LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically fire graph cursor move event

Solved!
Go to solution
Is it possible to programmatically fire the Graph Cursor Move Event ?  Assigning a value to the Cursor Index or Cursor Position property node does not seem to do it.
0 Kudos
Message 1 of 4
(3,805 Views)

Hi SteveP,

can you explain why you need it? Maybe it also helps if you use a parallel running loop with a queue. Insert your code from the graph event to one case of the parallel loop to do what you currently do. If you need this event from another place, then you can simply send a queue command to the parallel running loop to get the same function as moving the cursor manually.

 

Hope it helps.

Mike

Message Edited by MikeS81 on 07-29-2009 08:10 AM
0 Kudos
Message 2 of 4
(3,789 Views)

The graph cursor move event contains processing code for data on the graph along with front panel display of those results.  Data is put onto the graph during data acquisition which occurs in another event.  When that data acquisition event finishes I need to cause the processing code to execute once to update the front panel display so its results are shown for the new acquired data.

 

I could put the processing code into a different event that fires on say a button value change.  Then the graph cursor move event would fire that button event change by setting its value change property.  The data acquisition event could also fire that button event.

 

0 Kudos
Message 3 of 4
(3,773 Views)
Solution
Accepted by topic author SteveP

Create a User Event and configure the event case that handles the cursor move to handle that event as well. THen fire that event when the data updates?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 4
(3,771 Views)