Video Transcript
Dynamic Pairing
7m 39s
00:06
Dynamic pairing is a feature in the Q-SYS designer software that allows you to logically pair the virtual representation of a hardware component in your design,
00:14
with the matching physical hardware device when it's connected to your network without having to reload your design.
00:20
If you weren't using dynamic pairing, then the only way to add new hardware is to take your system offline,
00:26
update your design, and then redeploy something that you don't really wanna do if your sound system is crucial in running your business.
00:32
Dynamic pairing lets you plan ahead for expected additions and changes or unexpected changes by telling the system what to do when those peripherals are found on the network.
00:41
Let's say you're designing a system for a large hotel center with multiple conference halls.
00:47
There's a bingo game scheduled every week, but it changes Halls weekly depending on scheduling availability.
00:53
The Bingo operator has a multimedia cart with a microphone and a laptop, and a projector and a drum machine because this isn't normal.
01:02
Bingo, this is awesome bingo.
01:05
All his inputs are wired to a single QIO device on his awesome bingo cart, which can move from room to room.
01:12
But rather than burden that cart down with loudspeakers and an amplifier too, we wanna use the installed loudspeakers already in the hall.
01:19
All he should have to do is plug his QIO device into the network wall plate in whichever hall he's in and his audio will automatically play from that room's loudspeakers, but not the others.
01:31
So how is that possible?
01:32
Let's take a look at a very primitive version of this design here we have four different audio paths, one for each of the four halls.
01:41
We're then gonna add four separate QIO devices and integrate one into each of the hall signal flows.
01:48
Though there will only ever be one physical device in reality.
01:51
So in each of these rooms, the QIO audio brings each of the audio sources together with a simple matrix mixer.
01:57
I've added an automatic game control to keep the bingo operators levels in check, and then that gets mixed together with all the other primary audio content for this haul.
02:06
Whatever that may be, before it's sent to that room's amplifiers and loudspeakers.
02:10
Again, we've added the audio path into each room with a separate QIO device.
02:16
Even though we know that at any given time, at least three of these won't even exist on the network,
02:21
but we'll configure them for dynamic pairing, so each one is always ready to become active when the roving device is connected appropriately.
02:30
First, I'll click on the QIO in hall one and go to its properties panel where you'll see the dynamically paired field.
02:37
Let's change this to, yes, and quite importantly, let's also change the is required field to no.
02:45
If a device is considered required, then it will register a fault if the device is missing from the network.
02:51
So if we fail to turn off the is required fields, our core would constantly be filled with faults from these missing devices.
02:58
Once we've made those changes to all four devices, we'll push this design to the core, and you'll notice that any device that is not required simply shows a gray bar around it,
03:08
stating that it is not present without registering a fault with the core manager.
03:13
Obviously if you don't have a core and some extra peripherals handy, you won't be able to replicate this part on your own.
03:19
So just watch me here.
03:21
We're gonna connect the QIO to the wall plates in Hall one, which happens to be wired to port five of our network switch.
03:28
Meanwhile, let's access the core manager either by entering the core's IP address or by selecting its name here on a running design.
03:36
You'll see a new tab that's titled Dynamic Pairing.
03:39
This tab only exists when you've configured the properties of at least one device to be dynamically paired.
03:46
Here you'll see a list of all the devices with that property engaged, which are my four theoretical QIO devices.
03:53
Select edit, and then choose a method for each device, either network name or switch port.
03:59
The scenario we are working on requires the switch port method, which means that we primarily care about where the new device is being plugged in.
04:07
In the pairing field, we can see the port information of where it found that device.
04:13
In our case, this comes in the form of the port's MAC address, but different switches may provide different labels.
04:19
We are defining Hall one right now, so let's select that port for our device that's integrated into Hall one.
04:25
Once this is done, the system will always look for this model of QIO ML four device on that specific port, regardless of what name has been provided to the physical device.
04:36
A nice benefit of this is.
04:37
I'm not just limited to the bingo cart plugging in here.
04:40
I may also have a DJ with a QIO ML four device in their gear, or a dance instructor with a QIO ML four, et cetera.
04:47
Any of them could all plug into that same wall plate whenever they want, and the system will treat them the same.
04:53
Another very common use for this switch port mode of dynamic pairing is to allow for hot swapping of devices in your system.
05:00
Let's say an unprotected touchscreen controller in a school gymnasium has an unfortunate meeting with a flying baseball bat.
05:08
Normally to replace that, you'd have to either get a new touchscreen controller and rename it to match the old one.
05:14
Or even worse, take the system offline and change the name in your system to match the new device.
05:19
But with dynamic pairing, you can just remove the old device and slap in a new one.
05:24
As long as it's the same model, you'll be ready to go in seconds.
05:28
The other method of dynamic pairing is network name, which essentially allows you to link a device in your design to a physical device on the network without renaming that physical device.
05:38
While the system is running, you could dynamically relink your inventory item to any device of the same model
05:43
that's discovered on the network, which could be useful for testing the system or replacing devices in a pinch.
05:49
Alright, back to our hotel halls.
05:51
Let's disconnect that bingo cart from Hall one, wheel it out and bring it over to Hall two and connect it to the wall plate over there.
05:59
We'll repeat the dynamic pairing process in the core manager.
06:02
Now keep in mind that the device has to reboot and with some switches it may take up to a minute for the core manager to populate the new port information.
06:10
So we're gonna fast forward this process so you don't have to just wait with me.
06:14
We'll repeat this process with each hall pairing the correct virtual device with the Mac address of the switch port in that room.
06:22
It's worth mentioning that in order to use this switch port method, your switch must support the link layer Discovery protocol or LLDP.
06:30
LLDP is a vendor neutral link layer protocol used by network devices for advertising their identity capabilities and neighbors on the local area network.
06:38
And if you don't know what that means, then just ask your IT guy.
06:42
Make sure LLDP is enabled on your switches.
06:44
Then buy the IT guy some lunch too.
06:47
You know he works really hard.
06:49
Once all those pairings are complete, be sure to hit save in Core Manager.
06:54
Now that my system knows what to look for, let's see it in action.
06:58
I'll play some music on my bingo cart and plug it into Hall One.
07:02
You can see that it automatically pairs the QIO device with this.
07:06
First one in my design, and it plays through Hall One's loudspeakers.
07:10
You'll notice that it's not playing through any of the loudspeakers in the other halls.
07:14
I can disconnect it from Hall One and go connect it in a different hall, and once again, it will be paired to a different device in your inventory and it'll become active over there.
07:24
You don't need to shut down the system to add the peripheral, you don't need to do anything else in Core Manager.
07:28
It's literally as simple as plugging it in and it works.
