• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    TCP Send Data format

    Troubleshooting and Bug Reports
    ptz camera tcp tcp send data networking control
    4
    5
    1.9k
    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.
    • J
      jandraka
      last edited by Woland

      Hi,

      I am controlling a PTZ camera from Isadora, using the TCP Send Data actor. The purpose is to recall different presets assigned a number. Then I send a hexadecimal string (81 01 04 3F 02 PP FF) where PP is the preset number. In order to pass different variables through the actor I use the format P1: 2X (81 01 04 3F 02 P1: 2X FF). However, when I pass values through the param input, its hexadecimal value is not displayed correctly. I have tried with the example of the manual and the result does not correspond.
      I guess I'm passing the data wrong, in an incorrect format.
      Any help...
      Thanks

      Screenshot 1

      Screenshot 2

      Screenshot 3

      MBP M2 Max 32 GB. MacOS 13.4.1 Isadora 3.2.6

      markM 1 Reply Last reply Reply Quote 0
      • markM
        mark @jandraka
        last edited by

        @jandraka said:

        I guess I'm passing the data wrong, in an incorrect format.

         Yes, but it's easy to make this mistake. From the documentation of the "X" parameter:

        Output the ASCII representation of the number as n hexadecimal digits. 

        (Bold and underline here for emphasis.) If you feed it a value 65 decimal (hex 41), the actor will output two hexadecimal bytes, hex 34 and hex 31 which are the ASCII codes for the numbers '4' and '1'.

        You want to use "C" instead of "X". That will output a single byte based on the parameter value.

        Best Wishes,
        Mark

        Media Artist & Creator of Isadora
        Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

        J 1 Reply Last reply Reply Quote 1
        • J
          jandraka @mark
          last edited by

          @mark

          That was!

          Thanks Mark

          MBP M2 Max 32 GB. MacOS 13.4.1 Isadora 3.2.6

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

            This stuff is tricky... I could use a workshop on this.

            Troikatronix Technical Support

            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            • Isadora Add-ons: https://troikatronix.com/add-ons/
            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

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

            WolandW 1 Reply Last reply Reply Quote 1
            • WolandW
              Woland Tech Staff @DusX
              last edited by

              @dusx

              Same

              TroikaTronix Technical Support
              New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
              TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

              | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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