LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ON button to be active with an external signal? HOW?

Ladies and Gentlemen,

 

I am sure this question has been asked before, however I could not find the answer for my question, so sorry if the question is repetitive.

 

Imagine I have code that has a ON button. So if I run the code, it will wait for the user to click on ON button to start the task. Now I want to have an external button (a simple button that can be connected to the computer via USB port)  to play the role of "ON" button. How do I find such a device and where to look? I just didn't know what to google! Such a "device" should have labview VIs so that the LabView program recognizes it.

 

Any help or experience would be appreciated.

Sina

 

 

0 Kudos
Message 1 of 3
(2,934 Views)

Is there a reason for you to post to the Labwindows/CVI board? If you are using LabVIEW you should post in its board



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(2,902 Views)

Call the callback function that is associated with the ON button, from your USB-attached code.

0 Kudos
Message 3 of 3
(2,865 Views)