serial port data

    Nov 13 2009 | 5:47 pm
    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?

    • Nov 15 2009 | 9:51 pm
      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] ?
    • Nov 19 2009 | 1:25 pm
      thank you! that's it, solved! just [append 13] after sending the ints.
      if every problem solving would be that easy
    • Nov 25 2009 | 4:43 pm
      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,