06-10-2014 08:24 AM
Hello,
i created a GUI that is in the background currently only an event-structure that reacts on the button that is pressed.
Now i need to use als Digital-Inputs on the GUI.
What is better:
a) Put the Vi that reads the DI in the Timeout-part of the event or
b) Put a loop that runs parallel to the eventstructure that executes the DI-vi and writes to a indicator. This indicator could then be used in the event-structure.
I think it should be in an extra loop as it would not execute if there is a popup in the event-structureand then the timout is not executing...
Thx
06-10-2014 08:38 AM
You can create a "Dynamic Event" triggered by status change of the Digital Input Line.
Refer to the following example program posted.
http://www.ni.com/example/25317/en/
Hope it helps
10-04-2024 05:49 AM
Hi Vijay_J,
The link you posted is broken.
Can you update it plea. I am interested to see your solution
Thank you
Andrei