Jump to content

External Hardware Pushbutton

Recommended Posts

The aim of the attached code was to respond to a pushbutton on an external piece of hardware.

The VI is responding to the pushbutton action and lights the led on the front panel when the button is pressed. However, I cannot get the event in the Message Generator to respond to this, which also results in the Exit pushbutton on the front panel hanging up.

Any advice would be appreciated.



StopBtn - dynamic register3.vi

Link to comment

Thanks for the advise Daklu. It worked as you suggested but has now raised a further issue. The Exit button now no longer works because the DAQmx in th Wait case keeps running. If the external Stop button has not been pushed, I have not worked out how to detect this non-event and go to the Exit case

The modified code is attached. Any further help you can offer would be appreciated.



StopBtn - dynamic register5.vi

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.