¿ªÔÆÌåÓý

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

Re: String Parsing

Chris
 

Thanks,

Ill give this a try and see if it does what im hoping.

--- In Crestron@..., "Stig" <ska@...> wrote:

With all respect Neil, Don't use iPad to edit simpl+ code ;)
The index counter must also be after the first occurance of "actor Name".

-Stig


#DEFINE_CONSTANT maxnames 10
#DEFINE_CONSTANT maxlength 40
#ENABLE_TRACE
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
Integer semaphore; //Define a semaphore to prevent re-entrancy
String sTemp[100], sDump[50];


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


Change RxData$
{
IF(semaphore = 0)
{
Semaphore = 1;
while(len(RxData$))
{//assuming strings are like "<person job="Actor" name="Brandon Lee" />"
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))
{
sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);
IF(i>=1 && i <=maxnames && IsSignalDefined(Actor$[i]) ) // parse names if index <=10 and if signalout(i) is defined in simpl)
{
Actor$[i]=left(sTemp, find("/>", sTemp)-3); //assign the parsed string to the output specified by the index [i]
IF(i >= 1 && i < maxnames) {i = i + 1;} //increment index value if between 2 and 9
}
}
Semaphore = 0;
}
}
}


Function Main()
{
Semaphore = 0;
}

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

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

Sent from my iPad

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: Tstat change 74,3 degrees to 74

 

Nice idea. I am going to try and set this to my NVram :)

--- 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

Mark
 

on the scheduler module there is a signal 'display_0.5C_steps' that comes from the hardware definition
not sure if it works for that foreignheight stuff (;

mark

--- In Crestron@..., "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: String Parsing

Stig
 

With all respect Neil, Don't use iPad to edit simpl+ code ;)
The index counter must also be after the first occurance of "actor Name".

-Stig


#DEFINE_CONSTANT maxnames 10
#DEFINE_CONSTANT maxlength 40
#ENABLE_TRACE
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
Integer semaphore; //Define a semaphore to prevent re-entrancy
String sTemp[100], sDump[50];


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


Change RxData$
{
IF(semaphore = 0)
{
Semaphore = 1;
while(len(RxData$))
{//assuming strings are like "<person job="Actor" name="Brandon Lee" />"
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))
{
sDump = remove("person job=&#92;x22Actor&#92;x22 name=&#92;x22", sTemp);
IF(i>=1 && i <=maxnames && IsSignalDefined(Actor$[i]) ) // parse names if index <=10 and if signalout(i) is defined in simpl)
{
Actor$[i]=left(sTemp, find("/>", sTemp)-3); //assign the parsed string to the output specified by the index [i]
IF(i >= 1 && i < maxnames) {i = i + 1;} //increment index value if between 2 and 9
}
}
Semaphore = 0;
}
}
}


Function Main()
{
Semaphore = 0;
}

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

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

Sent from my iPad

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]

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


Re: apple tv control methods

Chris
 

I am not making changes to his. I am working on one independently of his. I have not even tried it to see how it works yet.

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

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.


Re: TPMC-4SMFD hard button feedback

 

IIRC the TPMC-4SM does not support individual led feedback for hard buttons. You can select green or red as the backlight colour and then turn the whole backlight on/off.

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

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


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


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]