Yet Even More Control Components

Video Transcript

00:06
As the Q-SYS designer software continues to grow,
00:09
new control components get added with new version releases.
00:11
Let's take a look at some of the control components that
00:13
weren't available when we first filmed this training course,
00:15
which might be exactly what you need.
00:18
Scheduling something to happen in Q-SYS based on a particular time or day of the week,
00:23
is traditionally accomplished using the administrator tool,
00:26
where you can use the command scheduler to target named controls,
00:30
activate snapshots, launch PA announcements, and more.
00:33
But if you wanted to do this within the design itself,
00:37
you were typically restricted to something like this.
00:40
Using the date time components and comparing its outputs to
00:44
a custom text field using a string equal control function,
00:48
and if you wanted to get more granular with your control,
00:51
you'd probably have a massive additional logic components,
00:54
just to accomplish something simple,
00:55
like shutting the system down every weeknight.
00:58
Even using scripting components wouldn't make this significantly easier,
01:02
because you'd still have to build out each condition individually,
01:05
and you'd have to update the code if you wanted to change the schedule.
01:09
So we made the when components to save you from all this effort.
01:14
It's quite simple.
01:15
You just choose which days of the week and the time that you want an event to occur.
01:20
And enable it when the time matches the active LED will become true,
01:26
which you can use to activate any number of automations within your design.
01:30
You can also customize how long you want to hold that LED in a true state before it resets to false.
01:37
So I can quickly just select Monday through Friday,
01:41
enter 2200 and yes,
01:43
please note this is a 24 hour time format.
01:46
There's no am or pm,
01:47
and now I've automatically got an LED I can wire to anything in my system.
01:52
Such as a snapshot load button,
01:54
third party plugins,
01:55
et cetera,
01:56
to turn my system off each evening,
01:58
making changes to that schedule is very easy,
02:01
and you can put all of these controls onto a UCI so the user can make these changes for themselves.
02:07
If you're getting into more complicated scheduling,
02:09
like an event that repeats every two hours,
02:13
or has to happen on the 12th day of every month,
02:16
then the administrator is still the more robust tool.
02:19
But the when component makes simple timing automation quick to accomplish,
02:24
and easy to customize for the end user on a UCI.
02:27
There are some cases, however,
02:29
when the when of when you want to do something may be variable based on the time of year.
02:35
For instance,
02:35
you may wanna change the CSS theme of your UCI from a
02:39
light mode to a dark mode using the UCI style controller.
02:43
Hey, look, I'm sneaking in another one here when the sun,
02:47
but the suns at different times throughout the year.
02:50
You don't wanna have to keep updating that.
02:53
The astronomical clock gives you trigger outputs for sunrise,
02:58
sunset, and solar noon,
03:00
as well as a Boolean LED that is on during daytime and off at nighttime.
03:06
This is all determined by your latitude and longitude,
03:09
which you can either input manually or get.
03:12
If your core has access to an external network between this and the when component,
03:17
you can truly make sure your system is automated based on the time of day anywhere in the world.
03:24
You might think of the sequencer component as an upgraded version of the control delay.
03:29
We previously showed you how a controlled delay can take an incoming signal,
03:32
and then transform that into multiple outgoing signals,
03:36
each delayed by a certain amount of time,
03:38
which is great for allowing a single action to result
03:41
in a series of results based on your desired timing.
03:44
The sequencer takes that a step further.
03:46
You can still customize how many outputs you want.
03:50
But the sequencer gives you individual output LEDs that are turned on in sequence,
03:55
and remain on based on their own customizable length parameter.
03:59
So do keep in mind that the active LED goes false again when its step is complete.
04:05
So if you wanna activate something that is also a Boolean control,
04:08
like another toggle or LED.
04:11
Be aware that this will turn it off again too.
04:14
Whereas if you wire the outputs of the sequencer to trigger buttons,
04:17
that's a great example of how you can use the rising
04:20
edge of a toggle button to activate a trigger button.
04:24
Whereas the falling edge when the toggle turns false again,
04:27
will have no effect on the trigger.
04:29
Another difference between the sequencer and the control delay,
04:32
is that the sequencer genuinely operates in sequence with a control delay.
04:38
All delay timers essentially started simultaneously,
04:41
whereas the sequencer does not move to its next step until the previous step is complete.
04:47
And if you need a delay between steps,
04:50
you can customize that as well.
04:52
Most importantly,
04:53
the sequencer has a stop control,
04:56
so if you need to interrupt the sequencer while it's operating,
05:00
all you have to do is activate that momentary stop button.
05:03
This was something the control delay couldn't do.
05:06
Once the control delay input was activated,
05:09
nothing could stop it from finishing its task short of a random violent power outage.
05:16
Also,
05:16
set the sequencer to loop by changing its properties
05:20
so that it will run in perpetuity once it's started,
05:23
until you stop it.
05:24
The applications here are limitless,
05:26
not just from sequencing short term events,
05:28
but long gluing delays could let you do something,
05:31
like slowly change the color of your coworker's lights
05:35
by a tiny amount once a week until after a year.
05:39
They think they're insane because didn't those lights used to be blue?
05:42
No, Jimmy, they've always been green.
05:43
You're the crazy one.
05:45
But let's look at something more realistic.
05:48
Let's say you want to start a 62nd timer after a
05:52
user turns off the display in their conference room.
05:55
And at the end of that 62nd timer,
05:57
you wanna send a command to turn the lights off in the
06:00
room and reset it so that it's ready for the next occupant.
06:02
But if any activity is detected on the touchscreen controller in the room.
06:07
They're still in there doing something,
06:08
so we'll use that screen touch activity in the room to stop the sequencer,
06:15
and then, hey, guess what?
06:16
Control, delay, you're still useful.
06:18
We'll use you to trigger the start button again a moment later,
06:22
essentially resetting the 62nd timer every time the user interacts with the UCI.
06:28
Of course,
06:28
we only want this to happen after they turn off the display,
06:31
not during their meeting.
06:33
Let's add a logic and to make sure the touch activity only
06:37
activates the sequencer if the display status in the room is not on.
06:42
Remember,
06:43
whenever you're building automations into your system,
06:45
spend some time troubleshooting all the possible conditions the
06:48
system could be in to make sure you've covered every eventuality.
06:53
We haven't covered every single control component in these videos,
06:56
so if you see one that looks interesting to you,
06:59
be sure to check out the help file to read all about.
07:04
I'll see you next time.