Many devices that receive NMOS streams have their own name for each input, such as a vision mixer's input list or a multiviewer's tile names. Those names are often typed in by hand and drift from the labels operators see in Buttons. This example keeps them in step using only the Tally / UMD system: a tally Consumer for each input works out the label, and an Action reaction writes it to the device's input name over Ember+ every time the label changes.
A Consumer is normally used to drive a tally or UMD display. Here it drives nothing but the label: it watches the receiver bundle that feeds the device input, resolves the label you want, and sends it.
Choose which name each input should carry:
The device input is named after
Changes when
Label 1 Relation
The input's own label: the receiver bundle that feeds it, as you've labelled it in Buttons.
You edit that bundle's label.
Selected Watch Item
The routed source: the NMOS source currently routed to the input.
You route a different source, or edit the source's label.
Active Source
Labels in Buttons are the master. Renaming an input on the device itself doesn't change the label in Buttons, and the next label change in Buttons overwrites it.
A device that exposes its input names as writable Ember+ string parameters, and the Ember+ path of each input's name. A provider browser such as Lawo's EmberViewer shows the paths.
Set Target Host and Target Port to the device's Ember+ provider.
Under Paths to parameters to monitor, enter the Ember+ path of each input's name, separated by commas. The connection then offers these paths when you set up the action.
Save and enable the connection, and check that it shows Connected.
The module works only on the paths you give it. It doesn't read the device's whole Ember+ tree.
Open Routing → Tally / UMD → Consumers, and select Add Consumer. Give it a label that says which input it names, for example Input 1 name.
Under Watch Item, set Type to Bundle, Bundle Type to Destination, and pick the NMOS receiver bundle that feeds the device input.
Under Label Lookups, in Label 1:
Set Relation to Selected Watch Item for the input's own label, or to Active Source for the label of the source routed to it.
Set Label Target to Bundle labels, and Label Type to User. A bundle with no User label falls back through the Fallback Strategy, ending with the NMOS name.
Fill in Empty Label, for example NO SOURCE. With Active Source, the device input gets this name when nothing is routed to it.
Resolved Label shows the name the device input will get.
The input's own label, with Selected Watch Item:
Resolved Label is the receiver bundle's own User label.
The routed source, with Active Source:
Resolved Label is the User label of the source routed to the receiver.
Still in the Consumer, add a reaction that runs the Ember+ action with the label:
Under Reactions, select Add Action.
Set Connection to your Generic Ember+ connection, and Action to Set Value String.
Under Trigger Events, clear Tally 1 Change, and select Label 1 Change. The action then runs whenever the resolved label changes, and not on tally changes.
Under Action Options:
In Select registered path, pick the Ember+ path of this input's name.
Next to Value, change Static Value to Label 1. The field then reads Will receive Label 1 (string).
Select Save.
Value takes Label 1, and the action runs on Label 1 Change.
When you save, the Consumer sends the current label straight away, so the device input is named at once. It does the same when Buttons starts.
Repeat for each device input. Each input has its own Consumer and its own Ember+ path.
That the Consumer is on, Label 1 Change is selected under Trigger Events, and the Ember+ connection shows Connected.
The device input gets the same text every time, or no text.
That Value is set to Label 1, not Static Value.
The path isn't offered in Select registered path.
Add it to Paths to parameters to monitor on the Ember+ connection, and save the connection.
The action runs, but the device keeps its old name.
The Ember+ path, and that the device allows the parameter to be written.
The action runs on every tally change.
Clear Tally 1 Change and the other Tally 1 triggers. Only Label 1 Change should be selected.
The device input gets the NMOS name, not your label.
That the bundle, or with Active Source the routed source bundle, has a User label. Without one, Buttons falls back to the next label, ending with the NMOS name.
The device input gets the receiver's name instead of the routed source.
That Relation in Label 1 is Active Source, not Selected Watch Item.
The device input reads NO SOURCE or is blank.
Nothing is routed to the receiver. That's the Empty Label at work.