LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Graph event

Hi
I have problem to use Waveform Graph,I want to display the differences of Waveform Graph cursors , but I want this section execute only when to user move the cursors.(for example when user type in (string) this section shouldn't execute).I use Waveform Graph event's but they don't work.I hope somebody can help me!

Thank you
0 Kudos
Message 1 of 5
(3,329 Views)
It seems like you need to use the event structure. Have an event structure that handles the corresponding mouae event in the waveform graph. Put the code that calculates the difference between the cursors for this event and the VI should work as you need.

Prakash K
0 Kudos
Message 2 of 5
(3,300 Views)
Hello Prakash K
Thanks for your help, If you see the attachment I use Waveform Graph events for mouse down & mouse leave as you said but it doesn't work correctly I think , there was a bug in Waveform Graph events.
0 Kudos
Message 3 of 5
(3,283 Views)
Hi Behzad,

Try doing something like in this VI.

Prakash K
Message 4 of 5
(3,274 Views)
Wow
That was great,and I think at last there was no way to get out of polling.
Thank you very much Prakash K .
0 Kudos
Message 5 of 5
(3,265 Views)