• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Sending ASCII over serial

    Interfacing
    3
    6
    2252
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fubbi
      fubbi last edited by

      I am using send raw serial to send ascii to a camera controller. works from data viewer on a PC but Isadora seems to convert it to hex...

      Sending  the Words "Power Off" (which works from a pc terminal, it switches the machine off) gives me this output in the monitor:

      <- Serial | 1          | 50 6F 77 65  72 20 4F 66  66        | Powe r Of f         |

      So either its sending hex or its scrambled, both are wrong. So How can I send a clean Power Off  ?

      I am getting some feed back over serial, so I know she hears me.

      Thank you

      Mac M2 Ultra, 64gb — Berlin

      1 Reply Last reply Reply Quote 0
      • keftaparty
        keftaparty last edited by

        Hi Fubbi,

        Have you tried with the classic send serial data ? The actor help explains how to send ascii I think.
        For the send raw serial, I guess you have checked the "mode" parameter. Are we sure this parameter is working properly?
        Hoping you're going good !
        Mehdi

        ...
        Mehdi Toutain-Lopez
        www.toutain-lopez.com

        1 Reply Last reply Reply Quote 0
        • fubbi
          fubbi last edited by

          Hi Mehdi!

          Well, I am working with TCP instead now, the setup changed here. Still having the same problem. I am seeing that the machine hears me, and I get some kind of garbled feedback. So I am pretty sure I am opening and closing my connection right, on the right IP and port.In the attached document there is a lot of chinese algebra about how to format the commands, but I can't seem to get the ascii going.

          The command to shut down, on page 21 is what I am looking for:

          ,2PCshtLF

          •  Shutdown the device (with Wake on LAN feature enabled): This command shuts down the device and enables the Wake on LAN feature by writing the value 2 (see next chapter for more information).

            Syntax :

            is the device index (0 for Master device, 1 for Slave device). 

            so dev in my case is 0 and LF is a line feed which is 0D in hex ( \n in isadora?)

            so how to format this for the send TCP actor?

            this does not work: "0,2PCsht" 0D

            and gives me this feedback

            <- TCP/IP | 192.168.1.70:10600  | 30 2C 32 50  43 73 68 74  20 0A    | 0,2P Csht  .     |

            -> TCP/IP | 192.168.1.70        | 54 50 63 6F  6E 30 2C 31  0D 0A    | TPco n0,1 ..     |

            so you see how the command is fragmented in the monitor (0,2P Csht), same as with the serial. I am doing something fundamentally wrong I guess...

            Fubbi

          6d851a-livecore_tpp_programmers-guide_for-v03-00-88.pdf

          Mac M2 Ultra, 64gb — Berlin

          1 Reply Last reply Reply Quote 0
          • fubbi
            fubbi last edited by

            @mark what am I missing here? Thanks F

            Mac M2 Ultra, 64gb — Berlin

            1 Reply Last reply Reply Quote 0
            • fubbi
              fubbi last edited by

              solved it! I was missing a carriage return! wohoo!

              Mac M2 Ultra, 64gb — Berlin

              1 Reply Last reply Reply Quote 0
              • DusX
                DusX Tech Staff last edited by

                Can you post the working filter? It might help others to see the correct format.

                Troikatronix Technical Support

                • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post