¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Dumb Serial Empty String Question


 

Let me preface this by saying I have not tried this. But I think the following work work.

1) An Serial to Analog symbol (OP103) with a parameter of 0200h. That would convert every serial character to a sequence of analog equivalents. You would then look for an analog zero on the output.

2) SIMPL+ solution. You would look for the \x00 character in the input buffer.

3) An ASCII Serial Decoder symbol (ASCIIDecode). It has an \x00 output. But it would require an SMV to hit the dial input in order to get a pulse on this output. Per help, you need a SRAM symbol too. This would be the most iffy solution as it is meant to interface to an ASCII Keypad symbol. But it might work.

Steve

--- In Crestron@..., "Heather Baiman" <heather@...> wrote:

I feel like I should and or do know this yet can't get this right.



I'm looking to detect an empty string from a MMS-2 via a SIO. Double
quotes doesn't work, neither does &#92;x00.



In particular, I am looking for when the first browse line of text
coming from an MMS-2 is blank/empty. I want to enact other code when I
detect this.



When using their Rhapsody interface, if you employ a layout on a large
touchpanel that is able to show the transports, current song meta data
and the browse list full time (instead of subpaging it to death) after
making a final selection on the Rhapsody source, the MMS clears the
strings on the browse list. In my opinion, it looks like it did
something wrong as opposed to just keeping you on the browse page you
were actually browsing. I can make it repopulate by pressing the 'back'
button when I see the empty string come in.



How do I detect the emptiness?



Heather Baiman

heather@...

Electronic Environments

247 W. 37th

New York, NY 10018

Phone (212)997-1110

Fax (212)997-0474





[Non-text portions of this message have been removed]

Join [email protected] to automatically receive all group messages.