03-09-2015 02:53 AM
Hi i try to transmit the string in Serial using Event Structure .
Its wirking Fine .. But (Its in ValueChange Event only ).
But i need to use it in Mouse Down Event.
If i use Mouse Down event . it takes double press to do operation. !!!!
03-09-2015 03:08 AM
03-09-2015 03:52 AM
Hi GerdW,
why do you need any VISA communication in your event structure?
I need to avoid CPU usage (instead of polling method)
Why not use a queue driven state machine?
I need to use Event Structure . like data received means . can collect (kind of interrupt based receiption)
Why do you need to use MouseDown events? What's wrong with ValueChange events?
i think u know . whats diffference between Value change Event and Mouse Down (Or Mouse UP) Event
03-09-2015 04:11 AM - edited 03-09-2015 04:24 AM
Hi saran,
I need to avoid CPU usage (instead of polling method) … I need to use Event Structure
No need to have the VISA communication in your event handling loop. Use a queue driven state machine…
i think u know . whats diffference between Value change Event and Mouse Down (Or Mouse UP) Event
Yes, I know.
But why do you need to use MouseDown events in favor of ValueChange?
03-09-2015 04:19 AM
Okay Thanks.
i follow your i dea