Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Crestron
- Messages
Search
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=\x22Actor\x22 name=\x22",sTemp)) { sDump = remove("person job=\x22Actor\x22 name=\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.
toggle quoted message
Show quoted text
Thanks --- In Crestron@..., Geoffrey Reynolds <greynlds@...> wrote:
|
Re: Tstat change 74,3 degrees to 74
Another way to deal with rounding is to add 5 to the number before sending
toggle quoted message
Show quoted text
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:
** |
Re: T+A equipment control
Thanks Peter! I'll give this a try! Harold
toggle quoted message
Show quoted text
--- In Crestron@..., "peterjablonicky" <peterjablonicky@...> wrote:
|
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: ** [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.
toggle quoted message
Show quoted text
--- In Crestron@..., "mrez@..." <mrez@...> wrote:
|
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).
toggle quoted message
Show quoted text
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:
|
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.
toggle quoted message
Show quoted text
--- In Crestron@..., Heath Volmer <hvolmer@...> wrote:
|
Re: T+A equipment control
T+A have a Crestron module:
toggle quoted message
Show quoted text
Is not that enough? --- In Crestron@..., "Harold" <hlaudio@...> wrote:
|
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
toggle quoted message
Show quoted text
--- In Crestron@..., "eagrubbs" <eagrubbs@...> wrote:
|
Re: Tstat change 74,3 degrees to 74
Heather is right. there's a bit of Simpl+ already in every Tstat module.
toggle quoted message
Show quoted text
Import the module, find the code, and change the rounding values. Chris On Sep 16, 2012 1:28 PM, "Heather Baiman" <heather@...> wrote:
** |
Re: Degree symbol ASCII on TP (non-core 3)
I just opened up a tstat panel and I have no idea what symbol/letter/number cretsron used to get it. But my thinking is you could copy and paste it into simpl to add on to the end of the string. It will copy n paste to notepad, so it should do the same on a string.
toggle quoted message
Show quoted text
--- In Crestron@..., Heath Volmer <hvolmer@...> wrote:
|
Re: Tstat change 74,3 degrees to 74
Heath Volmer
If this is an analog - 751 represents 75.1 - a DivMod by 10 will chop off
toggle quoted message
Show quoted text
the decimal. Ignore the remainder output. It doesn't round up though. On Sun, Sep 16, 2012 at 12:17 PM, Jon <fueler1@...> wrote:
** |
Re: Tstat change 74,3 degrees to 74
Chip
If you don't care about the tenths at all, just run it through a DIVMOD...
toggle quoted message
Show quoted text
- Chip --- In Crestron@..., "Jon" <fueler1@...> wrote:
|
Re: Tstat change 74,3 degrees to 74
Heather Baiman
If you dig through the Crestron TSTAT module, you will find a piece of simpl+ that does this for you (rounds to the nearest whole number)
________________________________ From: Crestron@... on behalf of Jon Sent: Sun 9/16/2012 2:17 PM To: Crestron@... Subject: [Crestron] Tstat change 74,3 degrees to 74 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 ------------------------------------ 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 |
to navigate to use esc to dismiss