oscarc Posted May 9, 2009 Report Share Posted May 9, 2009 Hi everyone, my first post. I need to have an external physical start button that will trigger an event in my code. I was thinking of either using the USB or COM-port to do this. But before cuting wires, I wanted to ask if anyone has done this? I was thinking of using Visa to send a voltage through a COM-port channel, and detect if I receive a signal in another channel from the button being pressed, thus starting the rest of my code. But is it a good solution to continiously suppla a voltage in one channel? I am not so familiar with the VISA .VIs, so any help is appreciated! Regards Oscar Quote Link to comment
Y-P Posted May 10, 2009 Report Share Posted May 10, 2009 Hi, why don't you simply use a key from your keyboard? Greetings Markus Quote Link to comment
oscarc Posted May 13, 2009 Author Report Share Posted May 13, 2009 QUOTE (Y-P @ May 9 2009, 09:05 AM) Hi,why don't you simply use a key from your keyboard? Greetings Markus Hi, oh, I am sorry that I forgot to mention that the computer will stand in a factory (protected), where only highly resilent equipment will work; much water, and much sols in the physical measurement environment. I will us a switch which will be durable enough, with tape-sealed cable endings. I was recomended using the usb-vi:s from data translation, which I can place in a loop, and when triggered, will start my intended measurement setup when buton is pressed. Anyone familiar with those VI:s? Regards Oscar Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.