You think
:)
It was very easy to wrote.
{Paf}
Le 8 mai 2013 20:25, "Chip" <cfm@...> a crit :
**
Wow that is a whole lot of extra work. Why?
- Chip
--- In Crestron@..., Raphal Thiffault <raphaelthiffault@...>
wrote:
here's the way i done it
CHANGE rx$
{
s = find("lamphrs=",rx$);
if(s > 0)
{
s1 = find("=",rx$);
s2 = find("\x0d\x0a",rx$);
lh = atoi(mid(rx$,s1,s2-(s1-1)));
}
clearbuffer(rx$);
}
works all the time.
{Paf}
2013/5/8 cyberbri24 <cyberbri24@...>
**
I happen to get his data back from a smart projector:
lamphrs=160\x0D\x0A>
I just want to remove the "lamphrs=" in the beggining and then the
"\x0D\x0A>" at the end.
For some reason I only get the first digit. One of them days I guess?
--- In Crestron@..., "Chip" <cfm@> wrote:
on\r
off now\r
set input vga1\r
queries:
get powerstate\r
get lamphrs\r
query returns:
powerstate=powering\r
powerstate=on\r
powerstate=cooling\r
powerstate=idle\r
I haven't played with the feedback you get when switching inputs, or
querying for the current input. The two jobs I've done with these only
used
the VGA input...(!)
I wussed out on lamp hour reporting - I set up a serial buffer that
is
ONLY active when I'm expecting lamp hour data, and the output feeds a
S+
module with this chunk of code in it:
CHANGE string$
{
IF (FIND ("lamphrs",string$,1)) {integerval = atoi (string$);}
}
The integerval DIGITAL_OUTPUT fed a SOS, so that getting a lamp hour
update would trigger a deactivation of the buffer feeding the module.
string$ is a STRING_INPUT - I used a GATHER symbol in SIMPL to ensure
that
a complete message was going into the module for parsing.
Since I was only polling for lamp hours every half hour or so, I
wasn't
terribly concerned with the S+ overhead.
- Chip
--- In Crestron@..., "Aaron" <aaronsanft@> wrote:
thanks guys chip can you help me out on the smart ux60.
So examples below would be to select inputs on the projector
setinput=vga1\r
setinput=composite\r
on\r
off\r
offnow\r
The fb for these should be
input=vga1
input=composite
powerstate=on
powerstate=off
powerstate=offnow
Do i need a space for every word or just all together. If this is
right dont need the interlock fb
--- In Crestron@..., "Bryan" <bmorris.gm@> wrote:
Are you concerned with the correct feedback display when they
restart the
projector? - if so, one option would be to switch to input 1
every
time the
projector is turned on.
B
From: Crestron@... [mailto:Crestron@...]
On
Behalf
Of Chip
Sent: Thursday, September 08, 2011 11:22 AM
To: Crestron@...
Subject: [Crestron] Re: Fake FB On A Keypad ?
I think I'm missing part of what you're trying to get at - so
far I
don't
know why an interlock to reflect the currently selected source
wouldn't do
the trick for you.
And yes - I've done a couple of Smart projectors recently. Pretty
easy to
deal with. Protocol is REALLY straightforward.
- Chip
--- In Crestron@... <mailto:
Crestron%40yahoogroups.com>
,
"Aaron" <aaronsanft@> wrote:
That will work but i have 6 inputs to select on the projector.
There will
be a chance that when they decide to select another input on the
keypad
before they shut down the projector.
Chip have you controlled the Smart UX60 Projector. I read on a
previous
post that you were giving examples on the sio?
--- In Crestron@... <mailto:
Crestron%40yahoogroups.com>
,
"Chip" <cfm@> wrote:
Don't overthink it! :) If you just want a button to light up
to
reflect
which source was selected, use an interlock. Clear it when they
turn
the
projector off if you want - otherwise not much reason to go
crazier...
- Chip
--- In Crestron@... <mailto:
Crestron%40yahoogroups.com> ,
"Aaron" <aaronsanft@> wrote:
That will not work because i think with that if i trigger
the
same
interlock in it will clear the interlock fb
--- In Crestron@... <mailto:
Crestron%40yahoogroups.com> ,
"Aaron" <aaronsanft@> wrote:
wait i think i can use a interlock toggle. That should
work i
think.?
--- In Crestron@... <mailto:
Crestron%40yahoogroups.com>
, "Aaron" <aaronsanft@> wrote:
I have a keypad that has 10 buttons that switch a
projectors
inputs. I am controlling the projector via IR and dont have any
FB.
So when
i push a button on a keypad i would like to do fake fb. Say
button 1
does
Vga 1 and the led lights up on that button and button 2 does vga
2.
When i
press button 2 the led lights up on button 2 and turns off led on
button 1.
The way i was thinking is do a interlock with all my inputs
and do a stepper to clear interlock then interlock a
selected
input. Or even have each button clear fb on interlock to a delay
to
trigger
selected interlock. Does anyone have any other ideas for me
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]