Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering an event in event structure by a digital line

Hi  I Wrote code for my test application and all was going to well. I am using an event structure to handle menus and to start a test sequence. Until now I was just using a button on the front panel until the code was finalised and now thatIm happy with it all I want to start the test sequence by a digital line going high. But here I realised my problem.  I tried setting property nodes and local variables for the button On the front panel but this doesn’t work.  I know that the event structure is really only for front panelEvents but it’s worth a try...  Can anyone help??
0 Kudos
Message 1 of 3
(3,377 Views)
How are you monitoring the digital line? Are you using DAQmx? If so, you might want to consider DAQmx events.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 3
(3,368 Views)

Hi Barry,

 

I think you will need to use a dynamic event terminal on the event structure, then register the event similar to the following:

 

DAQmxEvent.png

Best regards,

 

Tony Gibbs

NIUK Applications Engineer

 

0 Kudos
Message 3 of 3
(3,358 Views)