04-21-2015 03:20 AM
Hi,
I'm using event structure. In one of events program writes values via VISA when i change the value of slider and i release mouse button. When I'm not interacting with any of controls value can be changed with device hardware buttons, so other in case program is reading values. How to do that when mouse button is not UP, program would continue reading values to see if hardware buttons were pressed? What event source and event to use? Event case is in the while loop.
Solved! Go to Solution.
04-21-2015 03:28 AM
04-21-2015 03:43 AM
Oh, I was trying to use timeout event,but was missing little sandclock icon in the top left corner of event structure. Now it works. Thanks. Trying to finish version with event strucuture. Then maybe will try event-driven queued state machine, but for now it looks quite difficult to build.
Thanks.