serial port data

Nov 13, 2009 at 5:47pm

serial port data

hello everybody,

i want to control a video projector via the serial port (i use the keyspan usb serial adapter), just switching it on and off.

in the projector’s manual is a description about how to control it with serial data.

and it works with a terminal application but not with max. the thing is that with the terminal app i can simply type the ACII in the terminal window and send it to the serial port.

for example i type C01 or C00 – ENTER. thats all and it works.

but how to do this in max? please have a look on the simple patch attached, whats wrong?

thanks!

#46433
Nov 15, 2009 at 9:51pm

Hmmm… Just taking a guess at this. Look at the help patch for the serial object and you’ll see that the ints sent to serial are AT and return: “65 84 13″. The only thing different that what you are doing is that you aren’t sending the return.

Have you tried [append 13] after [atoi] ?

#167134
Nov 19, 2009 at 1:25pm

thank you! that’s it, solved! just [append 13] after sending the ints.

if every problem solving would be that easy Wink

#167135
Nov 25, 2009 at 4:43pm

Hi,

I’m currently trying to do exactly the same thing,
I have a keyspan adapter and I want to switch on/off my projector (epson emp 8300).
Could you tell me a little bit more about the process you use?
I have tried without results.

Many thanks for your help,

J.

#167136

You must be logged in to reply to this topic.