Writing to Serial port with my byte in my .net application does nothing?

// Expert user has replied. //Solved
m mike chang 11 months 1 week ago
128 2 1

Hello I am new to working on zebra and my question is very similar to the following:
https://developer.zebra.com/content/scanner-programmatically-make-beep-sound-c.

The main difference is that I am using the zebra ds9308. I read the documentation for SSI and I see that the OpCode is 0xE6.

When I do something like                    

byte[] buffer = { 0xE6 };

 _comPort.Write(buffer, 0, buffer.Length);

 

nothing occurs and no errors are thrown but I also do not receive a beep noise.  Am I not understanding something?  The beep worked on putty when I did control + g.

For reference, I am looking also looking at 
https://www.bsr.at/mediafiles/Handbuch/Zebra/DS3600_Simple-Serial-Interface-Programmer-Guide.pdf 
page 34.

I have a feeling it is because perhaps I am not following the packet format correctly? Would really appreciate an example.

Thank you for your help!

Please Register or Login to post a reply

Accepted Solution

R Riad Benallou

Example of beep action SSI command based SSI documentation is 05 E6 04 00 00 FF 11 which generate high short beep .

Your scanner needs to be set to RS232 SSI if using serial cable or SSI over USB CDC if using USB cable 

2 Replies

R Riad Benallou

Example of beep action SSI command based SSI documentation is 05 E6 04 00 00 FF 11 which generate high short beep .

Your scanner needs to be set to RS232 SSI if using serial cable or SSI over USB CDC if using USB cable 

m mike chang

Thank you very much! Scanning the barcode for SSI over USB CDC in the manual and updating my code to send the correct bytes in the format worked.

CONTACT
Can’t find what you’re looking for?