I have got a bar code scanner and am using it as a virtual serial port. I can read from it fine in my program but I want to be able to trigger the error light to go off from my program. I am using the serial port tool and the write event for it. Is it possible to send an error through the serial to the bar code scanner or will I have to contact the manufacturer. Do I need to write an ASICC character to it.
Private Sub BarCodeScanner_DataReceived(sender As Object, e As Ports.SerialDataReceivedEventArgs) Handles BarCodeScanner.DataReceived
Dim Data As String = BarCodeScanner.ReadExisting
'Write error (will be in if statement)
End sub


Reply With Quote
