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

Re: OT: need a new hobby?

 

Love new ideas, but ... "this entire system works seamlessly..."

--- In Crestron@..., Joseph Vossen <jkv@...> wrote:

<>


Re: String Parsing

 

Here: //Based on the sample data you've given I'm making the assumption that you'll get all the names you're after in a single query. This code will parse up to 10 names and those names would be overwritten with the next query.

#DEFINE_CONSTANT maxnames 10
#DEFINE_CONSTANT maxlength 40

Digital_Input Get_Names;
Buffer_Input RxData$[1000];
String_Output Actor$[maxnames][maxlength]; //Define an output array of 10 outputs, each up to 40 bytes in length

Integer i; //Define a global integer as the index

Push Get_Names
{
i = 1; //reset index to 1 when new request for name is sent.
}


Change RxData$
{
Integer semaphore; //Define a semaphore to prevent re-entrancy
String sTemp[100], sDump[50];

While(semaphore = 0)
{
Semaphore = 1;

sTemp = Gather("/>", RxData$); //this will remove each line from the buffer to be parsed individually

IF(FIND("person job=&#92;x22Actor&#92;x22 name=&#92;x22",sTemp))
{

IF(i >= 1 && < maxnames){i = i + 1}; //increment index value if between 2 and 9

//parse as usual:

sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);

Actor1[i]=left(sTemp, find("/>", sTemp)-3); //assign the parsed string to the output specified by the index [i]

Semaphore = 0;

}
}
}

You'll have to pardon any syntax errors as my iPad email app is not the best S+ text editor environment.

Hope that makes sense for you. This could also be done using a for loop but I thought you might understand this method more easily. You could also parse the name with a single mid statement and have no need to define sDump and save some memory but thats really irrelevant.

Ex. Actor$[i] = mid(sTemp, find("name=",sTemp) + 7,Len(sTemp) - ((find("/>", sTemp)-3) - (find("name=",sTemp))); //I'm almost sure to have missed a parenthesis but you get the idea.

-Neil Dorin
On Sep 16, 2012, at 10:16 PM, "chrmac68" <chrmac68@...> wrote:

Can you possibly give me an example of how to do this.
I have tried so many ways all without success.

Thanks

--- In Crestron@..., Neil Dorin <neildorin@...> wrote:

You're overwriting Actor1$ each time you parse a name. You need an integer variable to track how many names you've already parsed and use that as the index of the string output array you want to assign it to.

-Neil Dorin

Sent from my iPhone

On 2012-09-16, at 6:09 PM, "Chris" <chrmac68@...> wrote:

Sorry posted this in wrong place...

maybe im missing something here.
in s+
<person job="Actor" name="Brandon Lee" />
<person job="Actor" name="Rochelle Davis" />
<person job="Actor" name="Jon Thompson" />

im doing this:

IF(FIND("person job=&#92;x22Actor&#92;x22 name=&#92;x22",sTemp))
{

sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);

Actor1$=left(sTemp, find("/>", sTemp)-3);

}

My output is always Jon Thompson. How can i get it to pull out 1 at a time and
assign to
Actor1$
Actor2$
etc.

Thanks




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


Re: apple tv control methods

 

I didn't want to go off and make changes as he asked for feedback. So many people have asked about control of ATV2 that we should rather get something that we could possibly all use...

--- In Crestron@..., "mrez@..." <mrez@...> wrote:

My Apple TV jailbreak went into hay-wire mode and restored itself to factory default :( So until I can jailbreak it again I wont be able to test anything

--- In Crestron@..., "eagrubbs" <eagrubbs@> wrote:

The really great part is he did not password protect the module, so you can at least go in and make adjustments for your needs. I thank those that do not password the modules, so others can modify and learn from what has been done. :)

--- In Crestron@..., "Etienne" <etienne@> wrote:

I've managed to get the ATV back up-and-running by disconnecting the LAN cable and streaming via Wi-Fi, thus not being controlled from Crestron. I could then access the Maintenance menu again, ext. I then reconnected the LAN cable to test again and found the following:

1) Song title not displayed correctly, ex: should be: (Don't Go Back To) Rockville is showing as: (Don&apos;t Go Back To) Rockville
I had the same issue with 'o Solo Mia

2) Scrolling up/down a list of media requires double presses

3) Sometimes the title (name$) doesn't update, but the artist, album and album art did.

4) Selecting a movie after listening to music doesn't clear the artist and album text fields. Would also be great if the album art would clear if there was no album art, like it displays "Nothing playing" when nothing is playing. It then clears the fields.

5) Ffwd and rew works perfectly when watching movies.


The aTV Flash (black) 2.0 Media Player also has metadata fetching enabled and it will start displaying pictures from the current playing artist, ext. I wonder it this doesn't put my crappy network under stress. However with it disabled the album art doesn't update.


TPMC-4SMFD hard button feedback

 

Hi Guys,

I am having a play with our campuses first TPMC-4SMFD and have gotten stuck on the feedback for the LED hardbuttons. I have limited experience with Crestron touch panels as all we have on campus TPSG-TPI's with different manufacturer touch panels so any help would be gladly appreciated.

The result I am after is to get the LED hardbuttons to illuminate individually dependant on feedback. Currently all i'm getting is all hard buttons illuminated constantly whilst the panel is awake :(.
I presume this can be done as it mentions in a crestron document that the buttons can operate individually or globally. However I cannot find where this is configured.

Additionally I have not made this a core-3ui project as I need to keep a similar look to our existing user interfaces. Does it need to be a core-3ui project to get the outcome I want?

Thanks in advance for any help you can offer.

Cheers,


Ihaia


Re: String Parsing

chrmac68
 

Can you possibly give me an example of how to do this.
I have tried so many ways all without success.

Thanks

--- In Crestron@..., Neil Dorin <neildorin@...> wrote:

You're overwriting Actor1$ each time you parse a name. You need an integer variable to track how many names you've already parsed and use that as the index of the string output array you want to assign it to.

-Neil Dorin

Sent from my iPhone

On 2012-09-16, at 6:09 PM, "Chris" <chrmac68@...> wrote:

Sorry posted this in wrong place...

maybe im missing something here.
in s+
<person job="Actor" name="Brandon Lee" />
<person job="Actor" name="Rochelle Davis" />
<person job="Actor" name="Jon Thompson" />

im doing this:

IF(FIND("person job=&#92;x22Actor&#92;x22 name=&#92;x22",sTemp))
{

sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);

Actor1$=left(sTemp, find("/>", sTemp)-3);

}

My output is always Jon Thompson. How can i get it to pull out 1 at a time and
assign to
Actor1$
Actor2$
etc.

Thanks


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


Re: Lifesize stops communicating

 

I realize this is an old thread, but I'm wondering if other people are still having issues controlling Lifesize systems reliably. I have a customer that has a Lifesize Express 220 and claims that twice in the past month the control system has stopped communicating with the Lifesize system. The customer has stated that in order to fix the issue they unplugged the usb to serial dongle and then plugged it back in and everything worked again. The usb to serial dongle is one that was on Lifesize's approved list. I'm just trying to find out if anyone else has had similar issues and how they have resolved/worked around them.

Thanks!

--- In Crestron@..., "wretaudio" <wretaudio@...> wrote:

I just finished my work around for the LifeSize communication problem. I called LifeSize to let them know the issue is still there even after updating to the latest firmware which they told me would fix it. They told me that I was the only one that has ever called in with this problem and that I would have to get further control support directly from Crestron or the LifeSize distributor. What in the world is that all about?! LifeSize seems to have no problem telling me it can be controlled by Crestron, but no one seems to want to support it. I guess you're just on your own when it comes to controlling LifeSize. I need to find a different line of VTC gear to spec for the next job. Goodbye LifeSize.

--- In Crestron@..., Phil Bridges <gravityhammer@> wrote:

I'm working with a client-furnished LifeSize Room that the client says
stops communicating with the Crestron processor after X amount of
time. Allegedly, a reboot of the LifeSize unit doesn't resume
communications, but a reboot of the processor does. I'm using the
Crestron Modules (plus Chip's extra remote keys module).

Has anybody here seen this happening?


Re: String Parsing

 

You're overwriting Actor1$ each time you parse a name. You need an integer variable to track how many names you've already parsed and use that as the index of the string output array you want to assign it to.

-Neil Dorin
On 2012-09-16, at 6:09 PM, "Chris" <chrmac68@...> wrote:

Sorry posted this in wrong place...

maybe im missing something here.
in s+
<person job="Actor" name="Brandon Lee" />
<person job="Actor" name="Rochelle Davis" />
<person job="Actor" name="Jon Thompson" />

im doing this:

IF(FIND("person job=&#92;x22Actor&#92;x22 name=&#92;x22",sTemp))
{

sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);

Actor1$=left(sTemp, find("/>", sTemp)-3);

}

My output is always Jon Thompson. How can i get it to pull out 1 at a time and
assign to
Actor1$
Actor2$
etc.

Thanks


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


String Parsing

Chris
 

Sorry posted this in wrong place...





maybe im missing something here.
in s+
<person job="Actor" name="Brandon Lee" />
<person job="Actor" name="Rochelle Davis" />
<person job="Actor" name="Jon Thompson" />


im doing this:

IF(FIND("person job=&#92;x22Actor&#92;x22 name=&#92;x22",sTemp))
{

sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);


Actor1$=left(sTemp, find("/>", sTemp)-3);


}

My output is always Jon Thompson. How can i get it to pull out 1 at a time and
assign to
Actor1$
Actor2$
etc.

Thanks


string parsing

Chris
 

hey all,
maybe im missing something here.
in s+
<person job="Actor" name="Brandon Lee" />
<person job="Actor" name="Rochelle Davis" />
<person job="Actor" name="Jon Thompson" />


im doing this:

IF(FIND("person job=&#92;x22Actor&#92;x22 name=&#92;x22",sTemp))
{

sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);


Actor1$=left(sTemp, find("/>", sTemp)-3);


}

My output is always Jon Thompson. How can i get it to pull out 1 at a time and assign to
Actor1$
Actor2$
etc.

Thanks


Re: Tstat change 74,3 degrees to 74

 

I will try this when I get home.

Thanks

--- In Crestron@..., Geoffrey Reynolds <greynlds@...> wrote:

Another way to deal with rounding is to add 5 to the number before sending
it through the DIVMOD. For example, 740-744 would become 745-749 and end
up as 74, while 745-749 would become 750-754 and end up as 75.

Geoff

On Sun, Sep 16, 2012 at 6:01 PM, Jon Spackman <fueler1@...> wrote:

**


Thanks all for the answers I will try this rounding in simpl and report my
results.

Thanks again for all the replies

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


Re: Tstat change 74,3 degrees to 74

 

Another way to deal with rounding is to add 5 to the number before sending
it through the DIVMOD. For example, 740-744 would become 745-749 and end
up as 74, while 745-749 would become 750-754 and end up as 75.

Geoff

On Sun, Sep 16, 2012 at 6:01 PM, Jon Spackman <fueler1@...> wrote:

**


Thanks all for the answers I will try this rounding in simpl and report my
results.

Thanks again for all the replies


Re: T+A equipment control

 

Thanks Peter! I'll give this a try! Harold

--- In Crestron@..., "peterjablonicky" <peterjablonicky@...> wrote:

T+A have a Crestron module:


Is not that enough?


--- In Crestron@..., "Harold" <hlaudio@> wrote:

Hey Everybody!

Any German companies here? I have need of RS232 control module(s) for a few T+A devices. Hoping someone would like to sell me a module or two.


Re: Tstat change 74,3 degrees to 74

 

Thanks all for the answers I will try this rounding in simpl and report my results.

Thanks again for all the replies

Sent from my pocket computer


Re: Degree symbol ASCII on TP (non-core 3)

Heath Volmer
 

There you go! Thanks Chris

I got 248 both from Crestron's ASCII chart and from various google
searches. At that point, I didn't think of looking at character map,
figuring that something was wrong with the font / mobile pro.

Heath

On Sun, Sep 16, 2012 at 2:51 PM, mrmondegreen
<chrisw@...>wrote:

**




Try ASCII 176 (decimal) for the degree symbol, that's the standard mapping
in most GUI-era font sets (e.g. Arial).

When in doubt, check the codes in Character Map, which will show you the
actual font-level character mappings. It looks like Crestron's ASCII
conversion chart in SIMPL help needs to be updated, as it includes line and
fill characters which haven't been in wide-spread use for quite some time.
I'm assuming that's where you got the 248 from?

Chris Welsh

--- In Crestron@..., Heath Volmer <hvolmer@...> wrote:

If I use ASCII 248 on a TP (or Crestron Mobile in this case) I get an
empty-set, or null symbol, not a degree like I expect. Is it possible to
get a degree symbol on a TP or Mobile?


Thanks, Heath





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


Re: apple tv control methods

Chris
 

I built a module for the AppleTv box as well and am seeing the same issue with feedback. When i look at the xml file that is sent back it shows it the same way. Not sure its the module and not related to the AppleTV itself. I am working on adding more feedback and have added as many shortcut keys as i have verified are working. Up to about 10 right now.

--- In Crestron@..., "mrez@..." <mrez@...> wrote:

My Apple TV jailbreak went into hay-wire mode and restored itself to factory default :( So until I can jailbreak it again I wont be able to test anything

--- In Crestron@..., "eagrubbs" <eagrubbs@> wrote:

The really great part is he did not password protect the module, so you can at least go in and make adjustments for your needs. I thank those that do not password the modules, so others can modify and learn from what has been done. :)

--- In Crestron@..., "Etienne" <etienne@> wrote:

I've managed to get the ATV back up-and-running by disconnecting the LAN cable and streaming via Wi-Fi, thus not being controlled from Crestron. I could then access the Maintenance menu again, ext. I then reconnected the LAN cable to test again and found the following:

1) Song title not displayed correctly, ex: should be: (Don't Go Back To) Rockville is showing as: (Don&apos;t Go Back To) Rockville
I had the same issue with 'o Solo Mia

2) Scrolling up/down a list of media requires double presses

3) Sometimes the title (name$) doesn't update, but the artist, album and album art did.

4) Selecting a movie after listening to music doesn't clear the artist and album text fields. Would also be great if the album art would clear if there was no album art, like it displays "Nothing playing" when nothing is playing. It then clears the fields.

5) Ffwd and rew works perfectly when watching movies.


The aTV Flash (black) 2.0 Media Player also has metadata fetching enabled and it will start displaying pictures from the current playing artist, ext. I wonder it this doesn't put my crappy network under stress. However with it disabled the album art doesn't update.


Re: Degree symbol ASCII on TP (non-core 3)

mrmondegreen
 

Try ASCII 176 (decimal) for the degree symbol, that's the standard mapping in most GUI-era font sets (e.g. Arial).

When in doubt, check the codes in Character Map, which will show you the actual font-level character mappings. It looks like Crestron's ASCII conversion chart in SIMPL help needs to be updated, as it includes line and fill characters which haven't been in wide-spread use for quite some time. I'm assuming that's where you got the 248 from?

Chris Welsh

--- In Crestron@..., Heath Volmer <hvolmer@...> wrote:

If I use ASCII 248 on a TP (or Crestron Mobile in this case) I get an
empty-set, or null symbol, not a degree like I expect. Is it possible to
get a degree symbol on a TP or Mobile?


Thanks, Heath




Re: Tstat change 74,3 degrees to 74

 

and if you do want to round, no S+ needed. It isn't that difficut to do 'SIMPL' rounding. Take the remainder from the divmod though an acomp, If greater than 5 add one to the quotient (abufs to select a 0 or 1 addend -> an asum) and use an aos to tigger the sequence.

--- In Crestron@..., Heath Volmer <hvolmer@...> wrote:

If this is an analog - 751 represents 75.1 - a DivMod by 10 will chop off
the decimal. Ignore the remainder output. It doesn't round up though.



On Sun, Sep 16, 2012 at 12:17 PM, Jon <fueler1@...> wrote:

**


Hi all,

I just changed my house from a HAI thermostat that output nice even
numbers like 74 or 76 degrees to the CHV-TSTAT and it outputs 74.3 or 75.1

Is there an easy thing like a ascale with the right settings that will
take the 75.1 or 751 and just convert it to 75 so I can keep all my
touchpanels and iphone projects the same?

I am thinking there is an easy way but its slipping my mind.

Thanks for any help

Jon





Re: T+A equipment control

 

T+A have a Crestron module:


Is not that enough?

--- In Crestron@..., "Harold" <hlaudio@...> wrote:

Hey Everybody!

Any German companies here? I have need of RS232 control module(s) for a few T+A devices. Hoping someone would like to sell me a module or two.


Re: Come On Crestron WTF - 3 hrs to change an IR file!!!!!

Doug Guth
 

I had almost the exact same thing happen to me last month. But since I'm
not a Master programmer it took me 4-hours! Customer asked for a simple IR
file update for a projector replacement. I updated the processor code to
control the projector but when I went to compile the code the new Crestron
database does not contain the original ASPI module for the EF-200 phone
hybrid. I downloaded the new module and incorporated it into the program.
I thought that was it until the customer asked that I update their
Corporate Logo on the Opening Page of their TPS 4500 touch panel. I edited
the touch panel program and loaded it into the touch panel. Bad decision!!
The touch panel failed to load the new code and then woke up with Can't
find page�. Yikes, I'd killed their system!! And they had a big meeting the
next day! I updated the firmware in the touch panel and the Crestron CNMSX
Pro processor but the touch panel still would not load the files. Out of
desperation I went on the FTP site and downloaded the 2.3xxx version of
Vision Tools Pro e, reworked the touch panel files, recompiled the touch
panel program. This time the panel loaded the files and worked properly.
Wow, it was 5:30pm, just in time to drive to my 5:00pm appointment!

*Doug Guth *CTS, BSBE, DMC-E
*Service Engineer/ Programming - Unified AV Systems*
dguth@... | www.unifiedav.com
d: 864.478.1866 | m: 864.907.8904 | o: 864.297.8533

The merger of Multi Media Services (Atlanta,GA) and
Video Systems of the Carolinas (Charlotte, NC) to form
Unified AV Systems, Inc.combines 55 years of operation
as separate closely held businesses to form a single,
integrated ProAV powerhouse.


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


Re: apple tv control methods

 

My Apple TV jailbreak went into hay-wire mode and restored itself to factory default :( So until I can jailbreak it again I wont be able to test anything

--- In Crestron@..., "eagrubbs" <eagrubbs@...> wrote:

The really great part is he did not password protect the module, so you can at least go in and make adjustments for your needs. I thank those that do not password the modules, so others can modify and learn from what has been done. :)

--- In Crestron@..., "Etienne" <etienne@> wrote:

I've managed to get the ATV back up-and-running by disconnecting the LAN cable and streaming via Wi-Fi, thus not being controlled from Crestron. I could then access the Maintenance menu again, ext. I then reconnected the LAN cable to test again and found the following:

1) Song title not displayed correctly, ex: should be: (Don't Go Back To) Rockville is showing as: (Don&apos;t Go Back To) Rockville
I had the same issue with 'o Solo Mia

2) Scrolling up/down a list of media requires double presses

3) Sometimes the title (name$) doesn't update, but the artist, album and album art did.

4) Selecting a movie after listening to music doesn't clear the artist and album text fields. Would also be great if the album art would clear if there was no album art, like it displays "Nothing playing" when nothing is playing. It then clears the fields.

5) Ffwd and rew works perfectly when watching movies.


The aTV Flash (black) 2.0 Media Player also has metadata fetching enabled and it will start displaying pictures from the current playing artist, ext. I wonder it this doesn't put my crappy network under stress. However with it disabled the album art doesn't update.