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: 

Update cursor value programatically after graph's data change

Solved!
Go to solution

Quiztus2_0-1685962475408.png

After changing the Intensity Graph's value the old cursor value gets displayed.

How can I update the displayed value under the cursor programatically?

I dont want to move the cursor manually after graph's data update in order to display the value under the cursor.

Actor Framework
0 Kudos
Message 1 of 7
(1,943 Views)

Play around with Property Node for the Intensity Graphy / Cursor. 

0 Kudos
Message 2 of 7
(1,911 Views)

Update Cursor Value.png

This is the solution I came up with. Was there something more elegant ?

Actor Framework
0 Kudos
Message 3 of 7
(1,892 Views)

It would work correctly if you use a cursor that is locked to a plot instead of a free cursor. (See attached example)

 

(If you really want to use a free cursor, you probably need to tweak things with some property nodes whenever the value changes, not shown)

0 Kudos
Message 4 of 7
(1,888 Views)
Solution
Accepted by topic author Quiztus2

@altenbach wrote:

(If you really want to use a free cursor, you probably need to tweak things with some property nodes whenever the value changes, not shown)


Here's that third possibility.

 

altenbach_0-1685979986119.png

 

Message 5 of 7
(1,877 Views)

I didn't know that one can write consecutively in the same property node to the same value, interesting.

What is this block with the arrow before the unequal comparison?

 

Actor Framework
0 Kudos
Message 6 of 7
(1,832 Views)

It's the "feedback node" from the "Structures" palette.

Greets, Dave
0 Kudos
Message 7 of 7
(1,810 Views)