12-01-2005 09:50 AM
12-09-2005 04:17 PM
HI,
I think I am close to what you are looking for.
I used one while loop and one event structure. The event struct has an event for Graph: Mouse Up (set time out to -1), Graph: Mouse Down (set time out to 100ms), and time out (set cursor1 x-pos = cursor0 x-pos +20). Then I used a shift register to update the timeout node with either the -1 value (no timeout), or the other value (I used 100 ms).
This worked OK for me, but I am not sure of your exact use case.
I attached a simeple VI (ver 7.1) so you can test it.
Let me know if you have any questions.
joel
12-12-2005 07:33 AM
12-12-2005 09:04 AM - edited 12-12-2005 09:04 AM
This is basically the method I typically used in LabVIEW 7.1 and below as described in this old post.
Of course you could upgrade to LabVIEW 8.0 and none of this is necessary! LabVIEW 8.0 has events for "Cursor Move". 😄
Message Edited by altenbach on 12-12-2005 07:05 AM