[ANSWERED] How Use Send Serial Data actor With More Than 9 Parameters


  • I am trying to add 10 serial parameters to the send serial actor and it does not recognise the 10th (I am guessing as it is represented as 10 - 2 integers in a row.


    Inside the send serial I have:

     "A" P1:Z3 "B" P2:Z3 "C" P3:Z3 "D" P4:Z3 "E" P5:Z3 "F" P6:Z3 "G" P7:Z3 "H" P8:Z3 "I" P9:Z3 "I" P10:Z3 "|/n"
    

    But this throws an error with invalid hex character

    This does work though:

     "A" P1:Z3 "B" P2:Z3 "C" P3:Z3 "D" P4:Z3 "E" P5:Z3 "F" P6:Z3 "G" P7:Z3 "H" P8:Z3 "I" P9:Z3 "|/n"
    

  • @fred said:

    I am trying to add 10 serial parameters to the send serial actor and it does not recognise the 10th (I am guessing as it is represented as 10 - 2 integers in a row.

    Yes, the Send Serial Data actor is limited to 9 input parameters. That's why the 'params' input only goes to 9.

    The Text Formatter is similarly limited.

    You should enter a feature request for this limit to be increased.

    The workaround for the moment is to use two Text Formatters, one for the first nine parameters, a second for the last one, put the strings together using a Text Formatter, and finally sending the serial data using the Send Raw Serial Data.

    Sorry for the inconvenience. Simplified example patch attached below.

    Best Wishes,
    Mark

    send-serial-eleven-params.izz


  • @mark thanks, neat work around. I'll put in feature request when I get a chance.


  • @fred said:

    I'll put in feature request when I get a chance.

    Did it for you and tagged you in the request.

    Best Wishes,
    Mark