In SIMPL Debugger, double-click the signal and change its format to Hexadecimal.? That way Debugger shows everything in the format \xAB instead of converting printable ASCII values to ASCII characters for you.? I believe the string length limitation is also a Debugger issue, but I'm not as sure about that.? You could always send from two different ATOS symbols in SIMPL if you're worried about it being truncated.
toggle quoted message
Show quoted text
On Thu, Feb 6, 2020 at 12:41 PM Sharan Suvarna via Groups.Io <suvarnasharan=
[email protected]> wrote:
Hi All,
I have some doubts regarding the "Analog To Serial" symbol in SIMPL windows. I am using it to send commands to some light DMX light processor, which accepts serial hex values.
Question: 1
In the symbol, I have 1 analog input line with its values ranging from 0 - 255 (Decimal) and no strings parameters. I have set the "Formate" to 256d which gives the ASCII value of the low byte. Here when the first analog line values range from 0 to 31(Decimal)?the corresponding serial output is Hex values in serial (\x00 to \x1F) and from 32 to 127(Decimal) it gives the serial ASCII values of those numbers. Again from 128 to 255(Decimal) the corresponding serial output is Hex values in serial (\x00 to \x1F)? is given out.?
The light processor even responded to the ASCII values i.e from 32 to 127(Decimal). Does it mean it actually sends the serial Hex values in the backend and we could see only the ASCII values in the SIMPL debugger in that range?
How does it actually work? could anyone explain it to me?
Question: 2
When I had 150 analog input lines to the "Analog To Serial" symbol the?output string exceeds 255 character length as I saw it from the SIMPL debugger. The string terminates with the "....(...)" character. What does it mean? Does it actually send the values or it terminates when it reaches the 255 character length?
?Even though the output shows "....(...)" character in the debugger, the lights connected to DMX light processor work perfectly fine. Is it just that it couldn't show more than 255 characters in the SIMPL debugger?
Thank You
Sharan