Hello
I’m trying to communicate with DMX USB Pro Enttec via serial port but :
Port usbserial-ENPSM6X0 opened successfully
I’m trying to read firmware value so I have to send
7E 03 00 00 E7 (in hex values)
the code is
dim msg as string
msg=chr(126)+chr(3)+chr(0)+chr(0)+chr(231)
Serial.Write(msg)
if Serial.WriteError then
TextArea.Text=TextArea1.Text+"Error : "+hexStr(msg)+Chr(13)
end if
but nothing happen, no responses
It works with CoolTerm sending 7E 03 00 00 E7 in hex mode
Without your setup on the bench I am not sure what is going on. But for starters, replace the chr(xxx) with chrB(xxx). chr will send unicode, while chrB sends just the bytes you want.
Hope this helps,
Regards,
Tony Barry
Sydney, AUS