Highlighted
Contributor - Level 3

OSC_ERROR

Hello

has anyone seen this error ?
I can't understand
it appears when working on ''/ch/01/config/color'' and "/main/st/config/color" in succession
any other sequence/succession does not cause this errors 

WhatsApp Image 2019-06-12 at 11.35.51.jpeg

CrisBonis Contributor - Level 3 2019-06-12

2019-06-12

OSC_ERROR

Hello

has anyone seen this error ?
I can't understand
it appears when working on ''/ch/01/config/color'' and "/main/st/config/color" in succession
any other sequence/succession does not cause this errors 

WhatsApp Image 2019-06-12 at 11.35.51.jpeg

  • 0 Kudos
  • 3 Replies
  • Reply

Accepted Solutions
Volunteer Moderator

Re: OSC_ERROR

Hi Cris,

The error message "type tags were not terminated before end of message" is because the OSC commands (first part of the string) has to be in multples of 4. Those 2 strings you provided are 19 and 21 characters in length. Therefore you would have to add 1 and 3 (respectively) null characters to the end of those strings to make them 20 and 24 (multiples of 4). See pages 10-14 in Patrick's doc.

 

Paul Vannatto, Volunteer Forum Administrator and Moderator
Volunteer Moderator

Re: OSC_ERROR

Hi Cris,

The error message "type tags were not terminated before end of message" is because the OSC commands (first part of the string) has to be in multples of 4. Those 2 strings you provided are 19 and 21 characters in length. Therefore you would have to add 1 and 3 (respectively) null characters to the end of those strings to make them 20 and 24 (multiples of 4). See pages 10-14 in Patrick's doc.

 

Paul Vannatto, Volunteer Forum Administrator and Moderator
Contributor - Level 3

Re: OSC_ERROR

Thanks Paul
now the code works without errors
Many thanks, you're the best.

Robot Very Happy

Cris

Contributor - Level 3

Re: OSC_ERROR

another factor is the sending time, sending two differen string one behind the other one, too quickly, generates same error

Robot surprised