• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    [ANSWERED] Text parsor actor too intelligent for me

    How To... ?
    text parser
    3
    5
    251
    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.
    • jfg
      jfg last edited by Woland

      I am trying to extract values from the following text:

      status.MoveStatus=Idle

      status.PTS=0

      status.Postion[0]=259.300000

      status.Postion[1]=-10.500000

      status.Postion[2]=0.8000000

      status.PresetID=0

      status.Sequence=0

      status.UTC=0

      status.ZoomStatus=Idle

      I manage to extract one value per actor  with this: "status.Postion[0]="Position_0:float=.#   (or "status.Postion[1]="Position_1:float=.#  or "status.Postion[?]="Zoom:float=.# ) and the eom char value 13

      But i I try: "status.Postion[0]="Position_0:float=.# "status.Postion[1]="Position_1:float=.# "status.Postion[2]="zoom:float=.#

      or : 

      "status.Postion[0]="Position_0:float=.#
      "status.Postion[1]="Position_1:float=.#
      "status.Postion[2]="zoom:float=.#

      I get this but no value in the output.

      Where is the error I make?

      Thank you for help

      Jean-François 

      • Izzy 3.2.6, Mac OS 13.2 Ventura:
      - MacBook Pro M1 Max 16" 64GB RAM
      • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
      - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
      - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

      Located in Bremen, Germany

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

        @jfg said:

        I get this but no value in the output.

        Hmmm... just tried it and it worked fine for me. See the attached patch. Are you doing something different? Do you have the 'eom char' set to 0?

        Best Wishes,
        Mark

        parsing-data.izz

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

        jfg 2 Replies Last reply Reply Quote 0
        • jfg
          jfg @mark last edited by jfg

          @mark

          the difference between my and your patch is that you send from the trigger Text actor only the 3 lines:

          status.Postion[0]=259.300000

          status.Postion[1]=-10.500000

          status.Postion[2]=0.8000000

          and I send all the text as I get it from the camera:

          status.MoveStatus=Idle

          status.PTS=0

          status.Postion[0]=300.300000

          status.Postion[1]=220.500000

          status.Postion[2]=1.000000

          status.PresetID=0

          status.Sequence=0

          status.UTC=0

          status.ZoomStatus=Idle

          EDIT: if I delete the two first line it works well.

          best

          Jean-François 

          • Izzy 3.2.6, Mac OS 13.2 Ventura:
          - MacBook Pro M1 Max 16" 64GB RAM
          • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
          - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
          - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

          Located in Bremen, Germany

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

            @mark

            I found a solution. to get only lines 3 to 5 I have to add for the previous lines that I want to ignore eol for each line:

            eol
            eol
            "status.Postion[0]="Position_0:float=.# 
            "status.Postion[1]="Position_1:float=.# 
            "status.Postion[2]="zoom:float=.#

            Thanks

            Jean-François 

            PS: Can I and how set this post to answered?

            • Izzy 3.2.6, Mac OS 13.2 Ventura:
            - MacBook Pro M1 Max 16" 64GB RAM
            • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
            - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
            - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

            Located in Bremen, Germany

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

              @jfg said:

              PS: Can I and how set this post to answered?

               We just edit the title of the post :)

              All done <3

              - Woland

              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 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

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