dHeather
Active member
- Joined
- Jun 18, 2012
- Messages
- 27
- Programming Experience
- Beginner
Hello,
I need to write a program which can detect whether an IO on a Numato 8 Channel USB GPIO Module is open or closed or on or off (apologies I'm not sure of the right terminology). When plugged in and set up the GPIO Module appears on my machine as a serial port (COM 4). I have tested the unit via HyperTerminal and it is all working correctly returning 0's and 1 for open and closed. I can't find a way of doing that in VB.NET though.
I imagine that this should be very easy, but everything I have read up on only seems to be interested in writing to and reading from whatever is at the other end of the serial port of which I have nothing, just a set of 8 switches.
In short I want to be able to detect that an IO has changed state and then act upon that change.
Can anybody point me in the right direction please? (Please note that I am not an experienced programmer, so the more basic the info the better please).
Apologies if this is posted in the wrong area.
Thanks for your help
I need to write a program which can detect whether an IO on a Numato 8 Channel USB GPIO Module is open or closed or on or off (apologies I'm not sure of the right terminology). When plugged in and set up the GPIO Module appears on my machine as a serial port (COM 4). I have tested the unit via HyperTerminal and it is all working correctly returning 0's and 1 for open and closed. I can't find a way of doing that in VB.NET though.
I imagine that this should be very easy, but everything I have read up on only seems to be interested in writing to and reading from whatever is at the other end of the serial port of which I have nothing, just a set of 8 switches.
In short I want to be able to detect that an IO has changed state and then act upon that change.
Can anybody point me in the right direction please? (Please note that I am not an experienced programmer, so the more basic the info the better please).
Apologies if this is posted in the wrong area.
Thanks for your help