A
I am trying to interface with a sensor that communicates over RS-232. The vendor provides very little information regarding the interface...except for a exe that lets you open a COM port, engage the sensor, and returns the value. In the "example code source" they provide is the following QBASIC which is supposed to engage the sensor (it is refered to as the "Action" call by the manufacturer):
FOR I = 1 TO 30000 STEP 1
OUT &H3FC, 10
NEXT
OUT &H3FC, 0
END
So once this runs, the sensor engages and then returns a numerical value over the serial port. Any suggestions on the best way to implement this. I need a small app that will:
-Open com interface
-engage sensor
-return value
THANKS! =)
FOR I = 1 TO 30000 STEP 1
OUT &H3FC, 10
NEXT
OUT &H3FC, 0
END
So once this runs, the sensor engages and then returns a numerical value over the serial port. Any suggestions on the best way to implement this. I need a small app that will:
-Open com interface
-engage sensor
-return value
THANKS! =)