Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nuvo Grand Concerto V2 & MusicPort (NV-MP)
#11
Far better would be to name the templates such that the values you get can be used to directly just build the name of the template to load.l Then it becomes a single LoadOverlay command.
Dean Roddey
Explorans limites defectum
Reply
#12
That was very helpful Dean. Thanks!!!

Much easier:

SourceOverlay::LoadOverlay
P1=/User/WHAudio-V2/WHAudio_Source_%(GVar:WHAudioSource)_Template-V2
Reply
#13
What about this one? There are 8 of these If statements (I am only showing 2).
Is there a way to shorten this up?

I read about nested If statements but not sure if that applies here.


If
System::Equals
P1=$(Nuvo_GC-V2.PWR#LivingArea~Status)
P2=Off
P3=Case

Devices::FieldWrite
P1=Nuvo_GC-V2.PWR#LivingArea~Power
P2=True
P3=True

System:Tongueause
P1=500

End

If
System::Equals
P1=$(Nuvo_GC-V2.PWR#FamilyRoom~Status)
P2=Off
P3=Case

Devices::FieldWrite
P1=Nuvo_GC-V2.PWR#FamilyRoom~Power
P2=True
P3=True

System:Tongueause
P1=500

End
Reply
#14
Could you define the criteria inside of your If statements in the LogicServer
Reply
#15
What are you doing there? Status already tells you the power state. If the status goes to one state or another then the power has already done what yo are trying to get it to do.
Dean Roddey
Explorans limites defectum
Reply
#16
(08-14-2019, 12:42 PM)Dean Roddey Wrote: What are you doing there? Status already tells you the power state. If the status goes to one state or another then the power has already done what yo are trying to get it to do.

This is to turn all 8 zones on.  If the zone is off turn it on and add a pause.  If it is already on skip the pause and go to the next if statement.
Reply
#17
Oh, OK. You could make that a global action and just pass in the zone names, and just call it 8 times. Pass it a global variable it can set to true if it has to turn the zone on. At the end, check the variable and if it is set, do the pause once for all of them.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Whole house announcements with Nuvo & TTS Sendero 6 3,776 02-05-2015, 05:35 PM
Last Post: Dean Roddey
  Help troubleshooting new installation : Nuvo GC and Clipsal C-bus CABrouwers 1 3,242 01-17-2014, 12:38 PM
Last Post: Dean Roddey
  Nuvo Concerto - Best way to turn on all zones. ShockValue 7 4,467 01-05-2011, 09:45 AM
Last Post: SoundVideoDesign
  Grand Concerto Ron Haley 2 2,077 11-05-2009, 01:50 PM
Last Post: Ron Haley
  Need some help from some Nuvo GC owners wolverines 9 3,887 06-22-2009, 11:01 AM
Last Post: wolverines
  Nuvo Grand Concerto + Slim server? bjkiller 0 1,561 11-29-2008, 04:00 PM
Last Post: bjkiller
  Nuvo Essentia Driver Ready for Testing robertmee 17 7,386 10-15-2008, 04:34 AM
Last Post: robertmee
  Nuvo GC Template? markstewart 1 1,621 08-01-2008, 06:15 AM
Last Post: robertmee
  Nuvo T2 Tuner greyjeep 2 1,775 04-04-2008, 12:40 PM
Last Post: greyjeep
  Grand Concerto Learning Station greyjeep 5 2,802 03-24-2008, 06:52 PM
Last Post: George M

Forum Jump:


Users browsing this thread: 1 Guest(s)