LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What am I doing wrong here? (cursor placing)

 Hi

Im trying to get the cursors to snap to an X value based on the peak/valley detector.  The peak detecctor works fine and finds what I want, but sometimes the wrong cursor is chosen.  For example, in the front panel on the first graph, the cursor is supposed to go to the valley and the peak.   But sometimes the valley one will go to the valley and the peak wont move.  Then when I try to do it again, the valley may quickly jump to the peak and then back to the valley and the peak one wont go anywhere.  Sometimes it works sometimes it doesnt.  Ive tried placing them in a for loop also.

 

Thanks

Download All
0 Kudos
Message 1 of 4
(2,407 Views)
If a property node has multiple properties, the property setting is executes sequentially vertically. Thus, you have to select the cursor first, then set its X position.
0 Kudos
Message 2 of 4
(2,394 Views)

Thanks for the reply. 

 

So should I put the Active Cursor above the PosX?

 

Thanks for the quick reply

0 Kudos
Message 3 of 4
(2,392 Views)

Seems to work!

 

Thanks

0 Kudos
Message 4 of 4
(2,386 Views)