2

Hi Im C# Developer and i have 2d scanner (Honeywell Solaris 7980g) with serial port communication .

My Application scan the QRCode and as a time scanner scan the code , by default scanner play beep sound .

i want to play beep sound after checking code in my server.

i have test these two solutions :

1 : notify user by show my validation on my form by custom color (ex:red)
2: notify user by play error sound in my app

but i want to control scanner sound to play beep after my validation, any idea?

is it possible to control beep sound of scanner ?

thanks .

1 Answers1

0

Set the scanner to "Beep on BEL Character" by sending the command BELBEP1. After this command, when the scanner receives a BEL character (hex 07), it will beep.

Marc Balmer
  • 1,780
  • 1
  • 11
  • 18
  • thanks sir , can you help me how to send command to my scanner in c# ? – Hossein Bagheri Aug 28 '17 at 07:49
  • Unofrtunately not, but make sure to read the "Serial Programming Commands" section in the technical reference guide, since you must follow a specific protocol when sending commands. You can not just send the string "BELBEP1". – Marc Balmer Aug 28 '17 at 07:51
  • 1
    that was exactly right --> byte[] bytestosend = { 0x07 }; serialPort1.Write(bytestosend, 0, bytestosend.Length); – Hossein Bagheri Aug 29 '17 at 04:51