Re: Dumb Serial Empty String Question
The following SIMPL+ solution should work if the MMS-2 is putting out a zero length string.
STRING_INPUT InStr$[255]; DIGITAL_OUTPUT NullString;
CHANGE InStr$ { if (!len(InStr$)) { pulse(10, NullString); } }
toggle quoted message
Show quoted text
--- In Crestron@..., Lincoln King-Cliby <lincoln@...> wrote: Perhaps "zero-length string" is the more appropriate description. (\x00 would still be a 1-length string)
-- Lincoln King-Cliby, CTS Sr. Systems Architect | Crestron Certified Programmer (Silver) ControlWorks Consulting, LLC V: 440.449.1100 x1107 | F: 440.449.1106 | I: Crestron Authorized Independent Programmer
-----Original Message----- From: Crestron@... [mailto:Crestron@...] On Behalf Of erikm_101 Sent: Monday, April 02, 2012 4:55 PM To: Crestron@... Subject: [Crestron] Re: Dumb Serial Empty String Question
is not lack of data, also data? ergo data with no bytes?
--- In Crestron@..., "tres n3L" <tres@> wrote:
imho, there is no such thing as an "empty" string. all data has bytes.
From: Crestron@... [mailto:Crestron@...] On Behalf Of Lincoln King-Cliby Sent: Monday, April 02, 2012 4:32 PM To: 'Crestron@...' Subject: RE: [Crestron] Re: Dumb Serial Empty String Question
Steve,
\x00 is not the same as an empty string -- it's a string with one byte with all bits set to 0.
(it's a case of "something" being "nothing" or "nothing" being "something" :) )
As much as it strikes me as dirty-esque I think the best bet is a S+ module that looks at the length of the string (e.g. IF(LEN(input$) = 0) )
Lincoln -- Lincoln King-Cliby, CTS Sr. Systems Architect ControlWorks Consulting, LLC V: 440.449.1100 x1107 F: 440.449.1106 I: Crestron Authorized Independent Programmer
-----Original Message----- From: Crestron@... <mailto:Crestron%40yahoogroups.com> [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of highfidelityinc Sent: Monday, April 02, 2012 4:05 PM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] 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@... <mailto:Crestron%40yahoogroups.com> , "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 \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]
------------------------------------
* ****
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. * ****Yahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links
|
Ha! Yeah we joke about how it's a prerequisite to be named josh to get a job here :)
toggle quoted message
Show quoted text
--- In Crestron@..., "Chip" <cfm@...> wrote: Lol. +1.
- Chip
--- In Crestron@..., "ChrisK" <chris@> wrote:
Joshua, Great Website!! Just a suggestion - You need to have Dave B. change his name to Joshua
Chris K.........:)
--- In Crestron@..., Josh Elek <jelek@> wrote:
It's not a marketing video, but we at LiquidPixel Group have designed a set of control interface simulations that some of our integrators show to potential clients when trying to close a sale. It's an app that runs on your iPad and functions like a typical Crestron UI. (They can see how easy it can be to route video, monitor security cameras and whatnot.) You don't need it connected to a processor or the internet. Just fire up an iPad and you can show simulated control interfaces to potential clients.
If you're at all interested, you can go here to sign up and get instruction on how to install the demo on your iPad.
-Joshua Elek
|
Re: Dumb Serial Empty String Question
If the MMS-2 is truely putting out a \x00 instead of a \x01\x00, then that is a firmware bug in the MMS-2 IHMO. But I did not see that Heather specificially say that in her original email.
toggle quoted message
Show quoted text
--- In Crestron@..., Lincoln King-Cliby <lincoln@...> wrote: Perhaps "zero-length string" is the more appropriate description. (\x00 would still be a 1-length string)
-- Lincoln King-Cliby, CTS Sr. Systems Architect | Crestron Certified Programmer (Silver) ControlWorks Consulting, LLC V: 440.449.1100 x1107 | F: 440.449.1106 | I: Crestron Authorized Independent Programmer
-----Original Message----- From: Crestron@... [mailto:Crestron@...] On Behalf Of erikm_101 Sent: Monday, April 02, 2012 4:55 PM To: Crestron@... Subject: [Crestron] Re: Dumb Serial Empty String Question
is not lack of data, also data? ergo data with no bytes?
--- In Crestron@..., "tres n3L" <tres@> wrote:
imho, there is no such thing as an "empty" string. all data has bytes.
From: Crestron@... [mailto:Crestron@...] On Behalf Of Lincoln King-Cliby Sent: Monday, April 02, 2012 4:32 PM To: 'Crestron@...' Subject: RE: [Crestron] Re: Dumb Serial Empty String Question
Steve,
\x00 is not the same as an empty string -- it's a string with one byte with all bits set to 0.
(it's a case of "something" being "nothing" or "nothing" being "something" :) )
As much as it strikes me as dirty-esque I think the best bet is a S+ module that looks at the length of the string (e.g. IF(LEN(input$) = 0) )
Lincoln -- Lincoln King-Cliby, CTS Sr. Systems Architect ControlWorks Consulting, LLC V: 440.449.1100 x1107 F: 440.449.1106 I: Crestron Authorized Independent Programmer
-----Original Message----- From: Crestron@... <mailto:Crestron%40yahoogroups.com> [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of highfidelityinc Sent: Monday, April 02, 2012 4:05 PM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] 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@... <mailto:Crestron%40yahoogroups.com> , "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 \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
------------------------------------
* ****
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. * ****Yahoo! Groups Links
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links
|
Re: Dumb Serial Empty String Question
Perhaps "zero-length string" is the more appropriate description. (\x00 would still be a 1-length string)
-- Lincoln King-Cliby, CTS Sr. Systems Architect | Crestron Certified Programmer (Silver) ControlWorks Consulting, LLC V: 440.449.1100 x1107 | F: 440.449.1106 | I: Crestron Authorized Independent Programmer
toggle quoted message
Show quoted text
-----Original Message----- From: Crestron@... [mailto:Crestron@...] On Behalf Of erikm_101 Sent: Monday, April 02, 2012 4:55 PM To: Crestron@... Subject: [Crestron] Re: Dumb Serial Empty String Question is not lack of data, also data? ergo data with no bytes? --- In Crestron@..., "tres n3L" <tres@...> wrote: imho, there is no such thing as an "empty" string. all data has bytes.
From: Crestron@... [mailto:Crestron@...] On Behalf Of Lincoln King-Cliby Sent: Monday, April 02, 2012 4:32 PM To: 'Crestron@...' Subject: RE: [Crestron] Re: Dumb Serial Empty String Question
Steve,
\x00 is not the same as an empty string -- it's a string with one byte with all bits set to 0.
(it's a case of "something" being "nothing" or "nothing" being "something" :) )
As much as it strikes me as dirty-esque I think the best bet is a S+ module that looks at the length of the string (e.g. IF(LEN(input$) = 0) )
Lincoln -- Lincoln King-Cliby, CTS Sr. Systems Architect ControlWorks Consulting, LLC V: 440.449.1100 x1107 F: 440.449.1106 I: Crestron Authorized Independent Programmer
-----Original Message----- From: Crestron@... <mailto:Crestron%40yahoogroups.com> [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of highfidelityinc Sent: Monday, April 02, 2012 4:05 PM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] 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@... <mailto:Crestron%40yahoogroups.com> , "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 \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
------------------------------------
* ****
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. * ****Yahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------ Check out the Files area for useful modules, documents, and drivers. A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links
|
Re: D3 Pro 3.0.31 Scheduler Broken?
--- In Crestron@..., "tres n3L" <tres@...> wrote: no I was not told this.
Come on spit it out ! I hate when that kind of thing happen. Rollback to the previous database is the fix ?
|
Re: Dumb Serial Empty String Question
is not lack of data, also data? ergo data with no bytes?
toggle quoted message
Show quoted text
--- In Crestron@..., "tres n3L" <tres@...> wrote: imho, there is no such thing as an "empty" string. all data has bytes.
From: Crestron@... [mailto:Crestron@...] On Behalf Of Lincoln King-Cliby Sent: Monday, April 02, 2012 4:32 PM To: 'Crestron@...' Subject: RE: [Crestron] Re: Dumb Serial Empty String Question
Steve,
\x00 is not the same as an empty string -- it's a string with one byte with all bits set to 0.
(it's a case of "something" being "nothing" or "nothing" being "something" :) )
As much as it strikes me as dirty-esque I think the best bet is a S+ module that looks at the length of the string (e.g. IF(LEN(input$) = 0) )
Lincoln -- Lincoln King-Cliby, CTS Sr. Systems Architect ControlWorks Consulting, LLC V: 440.449.1100 x1107 F: 440.449.1106 I: Crestron Authorized Independent Programmer
-----Original Message----- From: Crestron@... <mailto:Crestron%40yahoogroups.com> [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of highfidelityinc Sent: Monday, April 02, 2012 4:05 PM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] 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@... <mailto:Crestron%40yahoogroups.com> , "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 \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
------------------------------------
* ****
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. * ****Yahoo! Groups Links
[Non-text portions of this message have been removed]
|
Re: Crestron Friendly *NEW* Garage Door Openers
I have a Chamberlain WD822K that was pretty easily hacked to give me adequate control and feedback. Just parallel the hard button with a relay for open/close/stop/reverse. Under the cover there are two contacts that provide fully open and fully closed feedback.
toggle quoted message
Show quoted text
On 3/27/12 3:16 PM, Nick DeJoseph wrote: Any suggestions on a new install the friendliest automation-ready garage door opener? Looking for the kind that operates on simple contact closure switch. Separate magnetic sensors will be used for door state (up/down).
Thanks!
Nick DeJoseph, CTS
|
Re: Dumb Serial Empty String Question
The Mirage Module isn't locked so you can go in and root around to see what it's doing and if you want change it you can.
toggle quoted message
Show quoted text
--- 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 \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]
|
Re: Dumb Serial Empty String Question
imho, there is no such thing as an "empty" string. all data has bytes.
From: Crestron@... [mailto:Crestron@...] On Behalf Of Lincoln King-Cliby Sent: Monday, April 02, 2012 4:32 PM To: 'Crestron@...' Subject: RE: [Crestron] Re: Dumb Serial Empty String Question
Steve,
\x00 is not the same as an empty string -- it's a string with one byte with all bits set to 0.
(it's a case of "something" being "nothing" or "nothing" being "something" :) )
As much as it strikes me as dirty-esque I think the best bet is a S+ module that looks at the length of the string (e.g. IF(LEN(input$) = 0) )
Lincoln -- Lincoln King-Cliby, CTS Sr. Systems Architect ControlWorks Consulting, LLC V: 440.449.1100 x1107 F: 440.449.1106 I: Crestron Authorized Independent Programmer
toggle quoted message
Show quoted text
-----Original Message----- From: Crestron@... <mailto:Crestron%40yahoogroups.com> [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of highfidelityinc Sent: Monday, April 02, 2012 4:05 PM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] 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@... <mailto:Crestron%40yahoogroups.com> , "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 \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
------------------------------------ * **** Check out the Files area for useful modules, documents, and drivers. A contact list of Crestron dealers and programmers can be found in the Database area. * ****Yahoo! Groups Links
|
Re: Dumb Serial Empty String Question
Steve,
\x00 is not the same as an empty string -- it's a string with one byte with all bits set to 0.
(it's a case of "something" being "nothing" or "nothing" being "something" :) )
As much as it strikes me as dirty-esque I think the best bet is a S+ module that looks at the length of the string (e.g. IF(LEN(input$) = 0) )
Lincoln -- Lincoln King-Cliby, CTS Sr. Systems Architect ControlWorks Consulting, LLC V: 440.449.1100 x1107 F: 440.449.1106 I: Crestron Authorized Independent Programmer
toggle quoted message
Show quoted text
-----Original Message----- From: Crestron@... [mailto:Crestron@...] On Behalf Of highfidelityinc Sent: Monday, April 02, 2012 4:05 PM To: Crestron@... Subject: [Crestron] 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 \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]
------------------------------------ Check out the Files area for useful modules, documents, and drivers. A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links
|
Re: Dumb Serial Empty String Question
Try it, you'll see that it doesn't work. \x00 is not an empty string, it's a string with length 1 containing the character \x00. On Mon, Apr 2, 2012 at 4:05 PM, highfidelityinc <steve54@...> wrote: 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 \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
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links
-- Jeremy Weatherford
|
Re: D3 Pro 3.0.31 Scheduler Broken?
Rolled back my database, it complained about the file having been open with a newer db but then compiled fine. Will be onsite tomorrow and can see if anything weird pops up. Bringing one of my previous backups just in case I need to move back one visit in time...
toggle quoted message
Show quoted text
--- In Crestron@..., "tres n3L" <tres@...> wrote: I am hesistant to say what they told me. so I will just answer your question. I did not receive a file. I rolled back my database.
From: Crestron@... [mailto:Crestron@...] On Behalf Of p00pb0t Sent: Monday, April 02, 2012 1:53 PM To: Crestron@... Subject: [Crestron] Re: D3 Pro 3.0.31 Scheduler Broken?
TB sent me a file called Event Scheduler Update v3.0.exe that was supposed to fix the error but doesn't seem to. I have a call back into them, but was this the file they sent you?
--- In Crestron@... <mailto:Crestron%40yahoogroups.com> , "tres n3L" <tres@> wrote:
yes. call tb.
From: Crestron@... <mailto:Crestron%40yahoogroups.com> [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf
Of Dave Sent: Monday, April 02, 2012 4:47 AM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] D3 Pro 3.0.31 Scheduler Broken?
Hi All,
Just wondered if anyone else had seen issues with the Scheduler in the latest version of D3Pro? Upgraded and then did some work on an existing project and now if wont work - loads of errors on building the project around no driving source.
Any workarounds or anything? I have reported to TrueBlue.
Thanks
Dave
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
|
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
toggle quoted message
Show quoted text
--- 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 \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]
|
Re: Dumb Serial Empty String Question
I've used the method described in this previous thread, and it works great - . Thanks go to erikm.
toggle quoted message
Show quoted text
--- On Monday, April 02, 2012 at 3:37 PM, Heather Baiman 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 \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
|
Re: D3 Pro 3.0.31 Scheduler Broken?
no I was not told this.
toggle quoted message
Show quoted text
-----Original Message----- From: Crestron@... [mailto:Crestron@...] On Behalf Of Nick Mitchell Sent: Monday, April 02, 2012 3:33 PM To: Crestron@... Subject: Re: [Crestron] Re: D3 Pro 3.0.31 Scheduler Broken? Did they tell you it was unsupported but you could start from scratch creating a new project in the newest d3 version and it would be fine. That's what I was told by tb. On Apr 2, 2012, at 3:18 PM, tres n3L <tres@...> wrote: I am hesistant to say what they told me. so I will just answer your question. I did not receive a file. I rolled back my database. From: Crestron@... [mailto:Crestron@...] On Behalf Of p00pb0t Sent: Monday, April 02, 2012 1:53 PM To: Crestron@... Subject: [Crestron] Re: D3 Pro 3.0.31 Scheduler Broken? TB sent me a file called Event Scheduler Update v3.0.exe that was supposed to fix the error but doesn't seem to. I have a call back into them, but was this the file they sent you? --- In Crestron@... <mailto:Crestron%40yahoogroups.com> , "tres n3L" <tres@...> wrote: yes. call tb.
From: Crestron@... <mailto:Crestron%40yahoogroups.com>
[mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of Dave Sent: Monday, April 02, 2012 4:47 AM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] D3 Pro 3.0.31 Scheduler Broken?
Hi All,
Just wondered if anyone else had seen issues with the Scheduler in the latest version of D3Pro? Upgraded and then did some work on an existing project and now if wont work - loads of errors on building the project around no driving source.
Any workarounds or anything? I have reported to TrueBlue.
Thanks
Dave
------------------------------------ * **** Check out the Files area for useful modules, documents, and drivers. A contact list of Crestron dealers and programmers can be found in the Database area. * ****Yahoo! Groups Links
|
Re: D3 Pro 3.0.31 Scheduler Broken?
to hell with starting over, that is why i keep incremental backups of my client programs. guess i am rolling back as well.
toggle quoted message
Show quoted text
--- In Crestron@..., Nick Mitchell <nick@...> wrote: Did they tell you it was unsupported but you could start from scratch creating a new project in the newest d3 version and it would be fine. That's what I was told by tb.
Sent from my iPhone
On Apr 2, 2012, at 3:18 PM, tres n3L <tres@...> wrote:
I am hesistant to say what they told me. so I will just answer your question. I did not receive a file. I rolled back my database.
From: Crestron@... [mailto:Crestron@...] On Behalf Of p00pb0t Sent: Monday, April 02, 2012 1:53 PM To: Crestron@... Subject: [Crestron] Re: D3 Pro 3.0.31 Scheduler Broken?
TB sent me a file called Event Scheduler Update v3.0.exe that was supposed to fix the error but doesn't seem to. I have a call back into them, but was this the file they sent you?
--- In Crestron@... <mailto:Crestron%40yahoogroups.com> , "tres n3L" <tres@> wrote:
yes. call tb.
From: Crestron@... <mailto:Crestron%40yahoogroups.com> [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf
Of Dave Sent: Monday, April 02, 2012 4:47 AM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] D3 Pro 3.0.31 Scheduler Broken?
Hi All,
Just wondered if anyone else had seen issues with the Scheduler in the latest version of D3Pro? Upgraded and then did some work on an existing project and now if wont work - loads of errors on building the project around no driving source.
Any workarounds or anything? I have reported to TrueBlue.
Thanks
Dave
[Non-text portions of this message have been removed]
|
Re: Advice on best pricing and contract practices
Essentially at the time of the onsite visit the program is 90% or more done and the progress payment(s) combined with the down payment reflects that.
By the time the onsite visit comes around, for a "normal" project all I'm doing is ironing out little details, testing end-to-end functionality with the actual hardware/hardware configuration, figuring out how the protocol "really works" when the documented protocol doesn't. Learning IR remotes can also drop in here. About half the time this includes tweaking system behaviors that someone thought sounded good on paper but don't really make sense given the physical configuration of the room/how the user will actually use the system, etc.
In other words, for a normal project, very little -- if any -- "actual programming" happens onsite it's more about quality assurance and finding installation issues that could be blamed on programming down the road.
There have been times when the .SMW that leaves the jobsite at the end of the day is exactly the same as the .SMW that I arrived with at the beginning of the day, in other words: No surprises.
I know there are some people who do 100% of the programming onsite, but I can't imagine working that way -- my office is too comfortable, and it seems like you'd be in the client's way far too long.
Lincoln -- Lincoln King-Cliby, CTS Sr. Systems Architect | Crestron Certified Programmer (Silver) ControlWorks Consulting, LLC V: 440.449.1100 x1107 | F: 440.449.1106 | I: Crestron Authorized Independent Programmer
toggle quoted message
Show quoted text
-----Original Message----- From: Crestron@... [mailto:Crestron@...] On Behalf Of Quest_i_on Sent: Sunday, April 01, 2012 6:00 PM To: Crestron@... Subject: Re: [Crestron] Advice on best pricing and contract practices Thanks so much Lincoln. This is extremely helpful! Anybody else mind to share their thoughts? I would greatly appreciate it (here or offline). Lincoln, do you mind explaining "progress payment at onsite visit"? What is exactly that? what % of the program is done at this point? On Mar 23, 2012, at 5:37 PM, Lincoln King-Cliby wrote: The only time I did "in-house" programming was when I worked for a University and programming had no cost or value associated with it (from a $$ perspective) so I can't say there.
There are a lot of variables so there aren't simple answers but...
- For the vast majority of projects, we provide a scope of work and attach a fixed price to that scope of work. Changes from that scope have costs associated with them that depending on the change (and some cases, client and urgency) that are either further fixed scope/price or time and expenses.
(Note: For the O/P's case generally we won't pick up someone else's code and in those rare cases we do it's T&M As-Is/Where-Is with no warranty whatsoever -- there's just too much liability in taking someone else's "black box")
- Quantity of interface is a really bad way, IMHO, to price because it doesn't really give you any insight on what programming is actually involved (12 touchpanels just turning a single display on or off? Much different than one touchpanel routing to 12 displays with video conferencing). For me, I have to develop the scope first then build a price based on my expectations (from past experience) on how long that will take.
- We warrant our code, but I can't say that that's common or not. As with any warranty there are exclusions (if someone else changes the code... being the biggest one)
- For most projects payment is down payment -> progress payment at onsite vist -> Final (smallest) payment after any open issues are closed out.
- Since we, for the most part, don't contract with end users this isn't a problem generally but no source code gets released until the contract is fully paid, and legal process can be leveraged if necessary. Warranty validity is also -- in extreme cases -- affected by prolonged nonpayment.
- We expect the installation to be complete before we arrive onsite and require an installer to be available (not "sitting idle" but somewhere in the building, at a minimum -- frequently that means tidying, working on non-Crestron rooms, whatever). I travel with test gear and have a good relationship with the installers I work with regularly. If I find an issue, I bring it to the installer's attention... they fix it... move on.
In extreme cases it becomes T&M billable (equipment still in boxes...design that failed to include proper power...) but you have to allow a certain amount of time for "Bad RJ-45" / "Swap pins 2 and 3" type problems.
The key is not to spend too much time: Once I determine the problem I move on... I don't just sit and wait for the install to be fixed unless that's literally the only option. There have been a few "let me get out of your way and go back to the hotel for a little while..." projects -- but ultimately the key isn't to get bent out of shape for accidental issues.
-- Lincoln King-Cliby, CTS Sr. Systems Architect | Crestron Certified Master Programmer (Silver) ControlWorks Consulting, LLC Crestron Authorized Independent Programmer
-----Original Message----- From: Crestron@... [mailto:Crestron@...] On Behalf Of quest_i_on Sent: Friday, March 23, 2012 3:50 PM To: Crestron@... Subject: [Crestron] Advice on best pricing and contract practices
Mr fal.eweidah's email started and interesting question intentionally, and Steve's reply made me think that there's probably a lot more good advice from all you experienced programmers.
I, basically wanted to ask for your wise advice based on your extensive experience with:
- What is the most typical way of pricing programming: Per hour or Flat fee? - Do CAIPs price differently than in-house programmers? - What is the most common method for pricing? Per quantity of interfaces? Per types of interfaces? Per quantity of audio or video rooms? - What are the most used terms of contract? Is warranty often offered? - What are the billing terms? Is it normal to ask for a % before starting and a smaller and last payments after completion? - How do you deal with a customer that doesn't want to make final payment on the programming fee? - How do you isolate yourself from problems will installation mistakes?
Thanks!
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links
[Non-text portions of this message have been removed] ------------------------------------ Check out the Files area for useful modules, documents, and drivers. A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links
|
Dumb Serial Empty String Question
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 \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
|
Re: D3 Pro 3.0.31 Scheduler Broken?
Did they tell you it was unsupported but you could start from scratch creating a new project in the newest d3 version and it would be fine. That's what I was told by tb.
toggle quoted message
Show quoted text
On Apr 2, 2012, at 3:18 PM, tres n3L <tres@...> wrote: I am hesistant to say what they told me. so I will just answer your question. I did not receive a file. I rolled back my database. From: Crestron@... [mailto:Crestron@...] On Behalf Of p00pb0t Sent: Monday, April 02, 2012 1:53 PM To: Crestron@... Subject: [Crestron] Re: D3 Pro 3.0.31 Scheduler Broken? TB sent me a file called Event Scheduler Update v3.0.exe that was supposed to fix the error but doesn't seem to. I have a call back into them, but was this the file they sent you? --- In Crestron@... <mailto:Crestron%40yahoogroups.com> , "tres n3L" <tres@...> wrote: yes. call tb.
From: Crestron@... <mailto:Crestron%40yahoogroups.com>
[mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of Dave Sent: Monday, April 02, 2012 4:47 AM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] D3 Pro 3.0.31 Scheduler Broken?
Hi All,
Just wondered if anyone else had seen issues with the Scheduler in the latest version of D3Pro? Upgraded and then did some work on an existing project and now if wont work - loads of errors on building the project around no driving source.
Any workarounds or anything? I have reported to TrueBlue.
Thanks
Dave
[Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
|
Re: D3 Pro 3.0.31 Scheduler Broken?
I am hesistant to say what they told me. so I will just answer your question. I did not receive a file. I rolled back my database. From: Crestron@... [mailto:Crestron@...] On Behalf Of p00pb0t Sent: Monday, April 02, 2012 1:53 PM To: Crestron@... Subject: [Crestron] Re: D3 Pro 3.0.31 Scheduler Broken? TB sent me a file called Event Scheduler Update v3.0.exe that was supposed to fix the error but doesn't seem to. I have a call back into them, but was this the file they sent you? --- In Crestron@... <mailto:Crestron%40yahoogroups.com> , "tres n3L" <tres@...> wrote: yes. call tb.
From: Crestron@... <mailto:Crestron%40yahoogroups.com>
[mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On Behalf Of Dave Sent: Monday, April 02, 2012 4:47 AM To: Crestron@... <mailto:Crestron%40yahoogroups.com> Subject: [Crestron] D3 Pro 3.0.31 Scheduler Broken?
Hi All,
Just wondered if anyone else had seen issues with the Scheduler in the latest version of D3Pro? Upgraded and then did some work on an existing project and now if wont work - loads of errors on building the project around no driving source.
Any workarounds or anything? I have reported to TrueBlue.
Thanks
Dave
|