logic - vb.net powerscan m8300 write to display -
i trying write data(prompts) m8300 barcode scanner, having few issues. device serial , getting data it, using backgroundworker pull data me. however, can't seem able find way write data device. know device capable of doing says in manual. however, have following code:
private sub button5_click(sender system.object, e system.eventargs) _ handles button5.click serialport1.write(chr(18) & chr(27) & "[2jsay name" & vbcr) end sub
however, not work consistently.
has had experience writing similar device?
i must admit, totally forgot one. turns out chr 18 , 27 command params device; 2 needed commands, wasn't needed.
the issue having communication protocol on device, though directions required 2-way communication enabled on it, turns out needed 1-way communication. found out when reset device factory settings , sent out data , worked without issues.
goes show you, not believe in manuals.
Comments
Post a Comment