sending hex protocols via mscomm to control a video projector
Posted on 2001-08-31
i am currently trying to control a projector through rs232 using mscomm but i cannot get it to work the protocol command i am sending is "A5h 01h 01h 00h 01h 03h 00h 01h 00h 01h 17h 00h 80h 08h 00h 06h 40h54h 2Eh 00h 00h 00h A1h 5Ah" i know this is the right command as the projector comes with its own software for testing protocol commands on the projector.
this is what i have tried so far.
MSComm1.CommPort = 1
MSComm1.Settings = "38400,E,8,1"
MSComm1.InputLen = 0 '
MSComm1.PortOpen = True
MSComm1.Output = "A5h 01h 01h 00h 01h 03h 00h 01h 00h 01h 17h 00h 80h 08h 00h 06h 40h54h 2Eh 00h 00h 00h A1h 5Ah"
i think the problem lies in that i am sending ASCI instead of the needed hex anyone have any ideas