• 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

    TCP Send Data format

    Troubleshooting and Bug Reports
    ptz camera tcp tcp send data networking control
    4
    5
    2419
    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.7.3 Isadora 3.2.6 - 4.0.7

      mark 1 Reply Last reply Reply Quote 0
      • mark
        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.7.3 Isadora 3.2.6 - 4.0.7

          1 Reply Last reply Reply Quote 0
          • DusX
            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
            • 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.

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

              @dusx

              Same

              TroikaTronix Technical Support
              New Support Ticket: https://support.troikatronix.com/support/tickets/new
              Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
              Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

              | Isadora Version: all of them | 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