Your Universal Remote Control Center
RemoteCentral.com
Crestron Control Systems Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Indirect text
This thread has 13 replies. Displaying all posts.
Post 1 made on Thursday May 26, 2011 at 21:36
motech
Super Member
Joined:
Posts:
August 2008
3,374
How can I do custom indirect text based on a variable?
Post 2 made on Thursday May 26, 2011 at 22:22
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,596
please explain...

Are you programming in SB or Simpl?
You can't fix stupid
OP | Post 3 made on Thursday May 26, 2011 at 23:39
motech
Super Member
Joined:
Posts:
August 2008
3,374
Sorry - sb.
Post 4 made on Friday May 27, 2011 at 00:01
razking
Long Time Member
Joined:
Posts:
February 2011
347
is this is a rhetorical question, like the one about the Onkyo port?
You can't make toast in a floppy disk drive.
www.envelopingsound.com
Post 5 made on Friday May 27, 2011 at 00:25
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,596
Motech,

I am pretty sure there is a way but off the top of my head I can't think of how to do it. Since I was at intermediate training this week SB is not on my mind, and hopefully it won't be anymore.

very easy logic within simpl will allow you this function. I would suggest opening the SB project and adding the logic, compile and upload from simpl.

Just a note once you go back into SB to edit the program you will have to compile the project then go into simpl and recreate your logic for the indirect text.
You can't fix stupid
Post 6 made on Friday May 27, 2011 at 00:31
sofa_king_CI
Super Member
Joined:
Posts:
June 2009
4,230
Just to be sure that I'm understanding correctly. You want to create a variable and based on the state of the variable you want different text to show, correct?

Can you explain scenario a little, might help coming up with solution. You can definitely have different text boxes on subpages and specify which subpage is shown based on variable.

Where are you pulling inderect text from?
do wino hue?
Post 7 made on Friday May 27, 2011 at 09:50
thecynic315
Senior Member
Joined:
Posts:
August 2008
1,001
On May 27, 2011 at 00:31, sofa_king_CI said...
Just to be sure that I'm understanding correctly. You want to create a variable and based on the state of the variable you want different text to show, correct?

Can you explain scenario a little, might help coming up with solution. You can definitely have different text boxes on subpages and specify which subpage is shown based on variable.

Where are you pulling inderect text from?

Heres where I always do it: to change the text on a page header.

The only way I can think to do it in SB is to first make a SB module that JUST contains an SI/O. see anser ID 4642 on how to do the conversions. You can then either take a var or just used your FB signals to drive the outputs of the SI/O to feed the txt.
OP | Post 8 made on Friday May 27, 2011 at 10:08
motech
Super Member
Joined:
Posts:
August 2008
3,374
wow seems so complicated for such a simple request.
RTI did this fairly easily.

i guess the subpage idea is the best way,
but seems bloated to have sub pages just for that.

razking: onkyo has an input on the receiver called "Port"
i cant find any commands for it but used a work around to get to that input.
Post 9 made on Friday May 27, 2011 at 10:28
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,596
On May 27, 2011 at 09:50, thecynic315 said...
Heres where I always do it: to change the text on a page header.

The only way I can think to do it in SB is to first make a SB module that JUST contains an SI/O. see anser ID 4642 on how to do the conversions. You can then either take a var or just used your FB signals to drive the outputs of the SI/O to feed the txt.

This is probably the appropriate way to perform the task requested.

How are you getting multiple outputs from a single variable?

Are you trying to track Room, Source, Volume?

Because you have to define the variable state within SB and everything has an exact value below is what I would do.

Create subpages with the text you wish to show. Assign them to the pages you wish to see the text on and assign each subpage reference a unique join number. To display the proper text write the statement for each reference, "If variable X = Y Then display page, Else do nothing." Where X is the variable you want to track and Y is the states of the variable.

For exaple I want to display the room NOT using SB programming.

I create a variable called "ROOMS". Within that variable I have "Kitchen", "Great Rm",... etc

I create subpages for each room in my variable.

My kitchen subpage reference has a join of 21, my great rm subpage reference has a join of 22.

on Join 21 I then say "Display IF ROOMS = Kitchen". join 22 I say "Display if Rooms = Great Rm".

Since your variable can only be ONE defined constant there is no need for other programming.

I hope this makes sense.
You can't fix stupid
OP | Post 10 made on Friday May 27, 2011 at 10:56
motech
Super Member
Joined:
Posts:
August 2008
3,374
it does make sense. i was hoping it was something simpler in the programming.
i cant believe you can only link indirect text to a device.

i do get the work arounds though thanks.
Post 11 made on Friday May 27, 2011 at 11:07
thecynic315
Senior Member
Joined:
Posts:
August 2008
1,001
Setting Variables to different states then using those states to do things takes 2min in SIMPL and is 2 hours in SB (YMMV). Say you want to use the page header idea like I do.

SIMPL: use an Interlock to trigger outputs of an SI/O

SB: 1st create a state variable, now every time your program a state change, like going from cable to bluray update that variable to its new value. Now do what I said about wrapping an SI/O, and use the state of the variable to drive the SI/O.


I have requested that an SI/O and a few other logic symbols from SIMPL be exposed for use in SB.
Post 12 made on Saturday May 28, 2011 at 10:41
razking
Long Time Member
Joined:
Posts:
February 2011
347
Motech

Sorry if I missed it, but what are you trying to do specifically?

Re the onkyo -thnx for the clarification.
You can't make toast in a floppy disk drive.
www.envelopingsound.com
Post 13 made on Sunday May 29, 2011 at 13:57
razking
Long Time Member
Joined:
Posts:
February 2011
347
motech - try: SLI40 for the u.port

spotted it in an integra command list on the crestron yahoo group file section.
You can't make toast in a floppy disk drive.
www.envelopingsound.com
OP | Post 14 made on Tuesday May 31, 2011 at 17:52
motech
Super Member
Joined:
Posts:
August 2008
3,374
thanks man.

i dont know how to edit the modules ..
but its ok. . i have a work around setup now.

hopefully in the future they will update the module with the port input and on next visit after that ill update system.


for indirect text,
i was trying to specify specific text to appear on a page,
based on a variable.

so if variable 1 is active, show "customtext1"
if variable 2 is active, show "customtext2"

seems like the easiest way (while staying in systembuilder)
is to use sub pages.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse