|
-
Nov 18th, 2015, 11:50 AM
#1
Thread Starter
New Member
Send error message to bar code scanner
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|