Skip to content
Fresh AV Labs

PLUGIN MANUAL / v1.1.0

A2Q Direct

Q-SYS plugin that controls a Blackmagic ATEM switcher (up to 4 M/E) from the Core over UDP, with no bridge hardware. Switching, transitions, keyers, macros, AUX outputs, media players, record and stream, and tally.

01.Introduction

A2Q Direct is a Q-SYS plugin that controls a Blackmagic ATEM switcher with up to 4 M/E. The plugin runs on the Core and talks to the switcher over UDP, so no bridge hardware sits between them. The panel shows what the switcher reports, and the plugin checks the effect of a command against the switcher's state.

Switcher

Program and preview buses, cut, auto and fade to black, transition style and rate, keyers, media players, and record and stream.

Macros

Up to 32 slots that each run a macro, and a picker to run or stop any macro.

AUX and Tally

A source picker for each AUX output, and program and preview LEDs with a name for each input.

Setup

The switcher address, an Enabled button, the detected model and link diagnostics.

02.Requirements

Component Requirement
Q-SYS Designer Tested with Q-SYS Designer 10.4.1
Q-SYS Core Tested on a Core Nano
Switcher An ATEM switcher with up to 4 M/E and firmware 8.0.1 or later. Recording and streaming need firmware 8.1.1 (protocol 2.30) or later. Tested on an ATEM SDI Extreme ISO, an ATEM 2 M/E Constellation HD and an ATEM 4 M/E Constellation HD
Network UDP port 9910 from the Core to the switcher. The plugin has no port setting
License One activation code per Core. See Licensing

A large block costs the Core more than a small one, see Core resources.

03.Installation

The A2Q Direct package contains one plugin file:

File Purpose License
A2Q_Direct.qplugx The A2Q Direct plugin Licensed

Copy the plugin files

Copy each .qplugx file into Documents\QSC\Q-Sys Designer\Plugins\. A subfolder works; Designer scans the folder recursively. Double-clicking a file also installs it, into the Plugins folder itself. The plugin appears in Schematic Elements under Plugins, Fresh AV Labs.

Add it to the design

Drag the plugin from Schematic Elements into the design.

04.Quick Start

The plugin builds its controls from Model, so choose it before you wire pins, see Plugin Properties.

Set the model

Set Model to your switcher, or to Custom and set the counts. A switcher with no row, such as the ATEM 4 M/E Constellation 4K Plus, uses Custom, see Models. Push the design. The status bar reads Enter the switcher's IP address.

Enter the address

On the Setup page, type the switcher's IP address into SWITCHER IP ADDRESS. The status bar reads Syncing. When the sync ends, the status bar reads OK and the Connected LED lights.

Check the model

Read DETECTED MODEL on the Setup page. It shows the switcher's product name. If the status bar names a different model, set Model to match and push the design.

Switch a source

On the Switcher page, press a source on the PREVIEW bus. The button lights when the switcher confirms it. Press CUT. The PROGRAM bus lights that source.

Run a macro

On the Macros page, pick a macro in the first slot. Press the button beside it. The RUNNING LED lights while the macro runs.

After a cable to the switcher is reconnected, the plugin needs time to recover, see After a cable is reconnected.

05.Plugin Properties

Property Range / Choices Default Description
Activation_Code Text blank The activation code for this Core's Locking ID. Leave blank to run the demo. See Licensing.
Activation_Code_Backup Text blank The code for the other Core of a redundant pair. Leave blank on a single Core.
Show_Locking_ID No / Yes No When Yes, shows the LOCKING ID box in the header.
Model A row from Models, or Custom ATEM SDI Extreme ISO The switcher that the block builds its controls for. At Custom, the six counts below set the controls.
ME_Count 1 - 4 1 Shown when Model is Custom. The number of M/Es.
Inputs 1 - 40 8 Shown when Model is Custom. The number of numbered inputs, which every M/E and the Tally card use.
DSK_Count 0 - 4 2 Shown when Model is Custom. The number of downstream keyers.
AUX_Count 0 - 24 1 Shown when Model is Custom. The number of AUX outputs.
USK_Count 0 - 4 1 Shown when Model is Custom. The number of upstream keyers on each M/E.
MP_Count 0 - 4 2 Shown when Model is Custom. The number of media players.
Macro_Slots 0 - 32 8 The number of slots on the Macros page, for every model. At 0 the page holds only the ANY MACRO card.
Debug_Level Standard / Verbose Standard Verbose adds detail lines to the plugin's debug output.

Models

Each row sets the inputs, the keyers on each M/E, the downstream keyers, the AUX outputs and the media players. It also decides whether the block has recording and streaming controls. The Keyers per M/E column gives one number for each M/E. A model with two numbers has two M/Es, and a model with four numbers has four.

Model Inputs Keyers per M/E DSKs AUX Media players Record and stream
ATEM Mini 4 1 1 1 1 No
ATEM Mini Pro 4 1 1 1 1 Yes
ATEM Mini Pro ISO 4 1 1 1 1 Yes
ATEM Mini Extreme 8 4 2 2 2 Yes
ATEM Mini Extreme ISO 8 4 2 3 2 Yes
ATEM Mini Extreme ISO G2 8 4 2 5 2 Yes
ATEM SDI Extreme ISO 8 4 2 5 2 Yes
ATEM Television Studio HD 8 1 2 1 2 No
ATEM Television Studio HD8 8 4 2 2 2 Yes
ATEM Television Studio 4K8 8 4 2 10 2 Yes
ATEM 1 M/E Production Switcher 8 4 2 3 2 No
ATEM 1 M/E Production Studio 4K 10 4 2 3 2 No
ATEM 2 M/E Production Switcher 16 2, 2 2 6 2 No
ATEM 2 M/E Production Studio 4K 20 2, 2 2 6 2 No
ATEM 2 M/E Constellation HD 20 4, 4 2 12 2 No
ATEM 4 M/E Broadcast Studio 4K 20 4, 4, 4, 4 2 6 4 No
ATEM 4 M/E Constellation HD 40 4, 4, 4, 4 4 24 4 No
ATEM 4 M/E Constellation 4K 40 4, 4, 4, 4 4 24 4 No
ATEM Constellation 8K 40 4, 4, 4, 4 4 24 4 No

At Custom, recording and streaming controls always exist, and every M/E has USK_Count keyers. Each M/E offers inputs 1 to Inputs and the fixed sources in Source names.

The ATEM 4 M/E Constellation 4K Plus has 80 inputs and no row. Set Model to Custom and Inputs to 40. The block connects and syncs with the switcher, and inputs 1 to 40 get controls.

06.Connection

Switcher address

Type the switcher's IPv4 address into SWITCHER IP ADDRESS on the Setup page. The field takes a dotted address and not a host name. An entry that is not four numbers from 0 to 255 counts as no address. So do 0.0.0.0, 255.255.255.255 and the multicast range. A new address ends the current connection and connects to the new one.

Enabled and Refresh

The Enabled button is on by default. At off, the plugin closes the connection, sends nothing and clears the panel. Refresh closes the connection and, when an address is set, the Enabled button is on and the license allows it, starts a new one. It clears the held firmware, execution-limit and sync-failure faults, and the retry wait.

Dropped connections

If the switcher stops answering, the plugin closes the connection and reconnects by itself. The command controls grey out at once. The panel keeps the last state it had for 10 s, then clears. How It Works gives the retry timing.

Core resources

A2Q Direct mirrors the whole switcher, so every bus, keyer, downstream keyer, AUX output, media player and macro has its own Q-SYS control. The work grows with the number of M/Es and inputs. Every plugin and script in a design shares the Core's Lua engine, and Q-SYS stops a call that does too much work at once. A2Q Direct starts in short steps so that a large block loads inside that limit.

Measured on a Core Nano with Q-SYS Designer 10.4.1. An earlier test build filled each block from a recorded switcher state, with no switcher attached. No run reached an execution limit. The release build, with a switcher address set, also loaded with no execution limit.

Block Ready after load Panel filled after a sync Core Lua, peak
ATEM 2 M/E Constellation HD row 0.37 s 0.9 s 3.5 %
ATEM 4 M/E Constellation HD row 0.32 s 1.6 s 5.6 %
Custom with every count at its maximum, 40 inputs and 32 macro slots 0.39 s 2.4 s 6.9 %

The Core's Lua load read about 1 % at idle. Two release-build blocks ran on one Core Nano, both synced to a 4 M/E switcher. Lua read 1.18 % with neither block connected and 2.42 % with both connected and idle. During 15 re-syncs of both blocks at once, Lua read 10.08 % on average and 24.40 % at its peak.

Sizing a design

  • Use one block for each switcher. A Custom block with fewer M/Es, inputs and AUX outputs costs less at every sync.
  • On a Core Nano, a block for a 4 M/E switcher ran without an execution limit. It did so on the 4 M/E Constellation HD row and on Custom at 40 inputs. Two such blocks ran together. Other mixes on a Core Nano are not measured.
  • Larger Cores are expected to have more headroom. That is not measured.

The A2Q Bridge does the switcher work off the Core, so the Core does not pay for a full mirror. It fits better in three cases. The switcher has more than 40 inputs and the design needs controls for all of them. The Core is small and already busy. Several large switchers share one Core.

07.Licensing

The plugin reads Activation_Code and Activation_Code_Backup when the design starts.

What demo expiry stops

At expiry, the command controls grey out. The plugin closes its connection, makes no further attempt and clears the panel. A press, a Refresh and a change to SWITCHER IP ADDRESS are refused and send nothing. SWITCHER IP ADDRESS, the Enabled button and Refresh stay enabled.

Activate

Read the Core's Locking ID

Set Show_Locking_ID to Yes and push the design. The Locking ID appears in the LOCKING ID box. Core Manager also shows it under Licensing, for any Core, with no design change. In the Designer emulator the LOCKING ID box reads EMULATOR (Designer test - not a Core ID) or *100000000000000 (Emulation - not purchasable). No code can be made for either.

Get a code for that Locking ID

Buy or request an activation code at freshavlabs.com, quoting the Locking ID exactly.

Enter the code and push the design

Paste the code into Activation_Code and push the design. The LICENSE box reads OK - ACTIVATED. The plugin compares only the digits of the code, so punctuation and spaces do not matter. A code entered on a running design applies at the next design start.

License status

The LICENSE box shows a state and a message, for example Compromised - DEMO: 9:59 remaining.

State Message Cause Remedy
OK ACTIVATED A code validated against this Core. None.
Compromised DEMO: <M:SS> remaining No code is entered. An entry with no digits counts as none. The demo is counting down. Enter a code, see Activate.
Compromised DEMO (invalid code): <M:SS> remaining A code is entered and does not validate against this Core's Locking ID. The demo is counting down. Check the code against the Locking ID it was made for, then push the design.
Fault DEMO EXPIRED - Activation Required The demo ran out. See What demo expiry stops. Enter a code and push the design.

At expiry the status bar also reads Fault - License required - demo expired, so a Status Combiner wired to its Connection~Status pin sees the fault.

08.Switcher Page

The Switcher page holds an M/E 1 card and an M/E 1 TRANSITION card. M/E 2 has the same two cards when the block has a second M/E. A block with 3 or 4 M/Es shows those M/Es on their own page, see M/E 3 and M/E 4 pages. The DOWNSTREAM KEYERS, MEDIA PLAYERS and RECORD & STREAM cards follow. A card exists only when the block has controls for it. A control greys out while the plugin is not connected. It also greys out when the switcher has no M/E, keyer, DSK, AUX output, media player or source for it. Recording and streaming also grey out below the firmware in Requirements.

Each table gives the pin for the first of its kind, as Designer shows it on the block, such as DSK 1~On Air. For another one, change the number: the pin for the second keyer's ON AIR button is DSK 2~On Air. Control Pins lists the pins as patterns.

M/E cards

Each M/E card, titled M/E 1 and on, holds a PROGRAM bus and a PREVIEW bus. Each bus has one button for every source that the Model row offers. A lit button is the source that the switcher reports on that bus. A press selects the source. A press on a lit button sends nothing. The legend is the input's short name from the switcher, when it has one. The first column gives the legend that the panel prints until the switcher supplies a short name.

On the panel What it does Pin
In 1 Selects numbered input 1. The buttons after it count up, In 2 and on. M/E 1~Program~Input 1
Blk Selects black. M/E 1~Program~Black
Bars Selects color bars. M/E 1~Program~Bars
Col 1 Selects color generator 1. M/E 1~Program~Color 1
Col 2 Selects color generator 2. M/E 1~Program~Color 2
MP1 Selects media player 1. M/E 1~Program~Media Player 1
MP1K Selects the key of media player 1. M/E 1~Program~Media Player 1 Key
MP2 Selects media player 2. The ATEM Mini, the ATEM Mini Pro and the ATEM Mini Pro ISO do not offer it. M/E 1~Program~Media Player 2
MP2K Selects the key of media player 2. The ATEM Mini, the ATEM Mini Pro and the ATEM Mini Pro ISO do not offer it. M/E 1~Program~Media Player 2 Key
MP3 Selects media player 3. Only a model with 3 or more media players offers it, and so does Custom with MP_Count 3 or more. M/E 1~Program~Media Player 3
MP3K Selects the key of media player 3. Only a model with 3 or more media players offers it, and so does Custom with MP_Count 3 or more. M/E 1~Program~Media Player 3 Key
MP4 Selects media player 4. Only a model with 4 media players offers it, and so does Custom with MP_Count 4. M/E 1~Program~Media Player 4
MP4K Selects the key of media player 4. Only a model with 4 media players offers it, and so does Custom with MP_Count 4. M/E 1~Program~Media Player 4 Key
SSrc Selects SuperSource. The ATEM Mini, the ATEM Mini Pro, the ATEM Mini Pro ISO, the ATEM Television Studio HD, the ATEM 1 M/E Production Switcher and the ATEM 1 M/E Production Studio 4K do not offer it. M/E 1~Program~SuperSource
SSrc2 Selects SuperSource 2. The ATEM 4 M/E Constellation HD, the ATEM 4 M/E Constellation 4K and the ATEM Constellation 8K offer it. So does Custom with ME_Count 3 or more. M/E 1~Program~SuperSource 2
M/E 2 Selects the program output of M/E 2. It is a source on M/E 1 only, of a block with 2 or more M/Es. M/E 1~Program~M/E 2 Program
Pvw 2 Selects the preview output of M/E 2. It is a source on M/E 1 only, of a block with 2 or more M/Es. M/E 1~Program~M/E 2 Preview
M/E 3 Selects the program output of M/E 3. It is a source on M/E 1 and M/E 2, of a block with 3 or more M/Es. M/E 1~Program~M/E 3 Program
Pvw 3 Selects the preview output of M/E 3. It is a source on M/E 1 and M/E 2, of a block with 3 or more M/Es. M/E 1~Program~M/E 3 Preview
M/E 4 Selects the program output of M/E 4. It is a source on M/E 1, M/E 2 and M/E 3, of a block with 4 M/Es. M/E 1~Program~M/E 4 Program
Pvw 4 Selects the preview output of M/E 4. It is a source on M/E 1, M/E 2 and M/E 3, of a block with 4 M/Es. M/E 1~Program~M/E 4 Preview
3210 Selects source 3210. Only the ATEM Mini Extreme ISO G2 offers it. M/E 1~Program~Source 3210
3211 Selects source 3211. Only the ATEM Mini Extreme ISO G2 offers it. M/E 1~Program~Source 3211

The pins above are for the PROGRAM bus on M/E 1. The PREVIEW pin swaps Program for Preview, as in M/E 1~Preview~Input 1. Source names lists the source part of each pin name.

Transition cards

The M/E 1 TRANSITION card holds these controls, and each further M/E has a card of its own.

On the panel What it does Pin
Mix, Dip, Wipe, DVE, Sting Select the style of the next transition. The lit button is the switcher's style. DVE greys out on a switcher with no DVE, and Sting on one with no stinger. M/E 1~Style~Mix, M/E 1~Style~Dip, M/E 1~Style~Wipe, M/E 1~Style~DVE, M/E 1~Style~Stinger
RATE (FRAMES) The rate of the selected style, in frames. It takes 1 to 250, with a default of 1. It greys out while Sting is selected, because a rate command for the stinger is refused. M/E 1~Rate
CUT Cuts the M/E. M/E 1~Cut
AUTO Starts the selected transition at its rate. M/E 1~Auto
FTB Starts a fade to black, or the fade back. The button is lit only while the M/E is fully black. During a fade it is unlit, and a press asks for black. A press is refused while the fade already runs to black. It reverses a fade back from black. A press that the plugin cannot judge is refused, see An FTB press is ignored or goes the wrong way. M/E 1~Fade To Black
BKGD, KEY 1, KEY 2 and on Select what the next transition changes, in the NEXT TRANSITION row. A press that would clear the last selection is refused. M/E 1~Next Transition~Background, M/E 1~Next Transition~Key 1
KEY 1, KEY 2 and on Put an upstream keyer on or off air, in the ON AIR row. M/E 1~Key 1~On Air

M/E 3 and M/E 4 pages

A block with 3 M/Es has an M/E 3 page, and a block with 4 M/Es has an M/E 3 & 4 page. The page follows the Switcher page. Each of its M/Es gets the pair of cards that M/E 1 has, titled with its number, such as M/E 3 and M/E 3 TRANSITION. Their controls match those of M/E 1 and M/E 2, and their pins carry the M/E number, such as M/E 3~Cut. A block with 1 or 2 M/Es has no extra page.

Downstream keyers card

The DOWNSTREAM KEYERS card holds one group of buttons for each downstream keyer, labelled DSK 1 and on. With 3 or 4 downstream keyers, the groups wrap to two rows.

On the panel What it does Pin
ON AIR Puts the downstream keyer on or off air. DSK 1~On Air
TIE Sets the keyer's tie. The lit button is the switcher's state. DSK 1~Tie
AUTO Runs the keyer's auto transition. DSK 1~Auto

Media players card

The MEDIA PLAYERS card holds one picker for each media player. With 3 or 4 media players, the pickers wrap to two rows.

On the panel What it does Pin
MEDIA PLAYER 1, and one for each further player Picks what the player shows. The list holds the stills and clips in use on the switcher, after the placeholder --Select Media--. A pin takes Still or Clip and the number, see Pin text. Media Player 1~Source

Record and stream card

The RECORD & STREAM card holds the recording and streaming controls.

On the panel What it does Pin
REC Starts and stops recording. Recording~Record
RECORD STATE The recorder's state, and the cause of an error. Recording~State
STREAM Starts and stops streaming. Streaming~Stream
STREAM STATE The streamer's state, and the cause of an error. Streaming~State

The card holds only the controls that the Model row has, see Models. REC and STREAM stay grey, and RECORD STATE and STREAM STATE stay empty, until the plugin has read the recorder or the streamer from the switcher.

Record and stream readouts

A readout shows the state alone, or the state, a colon and a short cause from the table. RECORD STATE shows Idle, Recording or Stopping. STREAM STATE shows Idle, Connecting, Streaming or Stopping. The plugin writes the advice from the table to the debug output once, when the cause appears or changes. A new session that reports the same cause adds no line. The plugin writes the advice again when the cause has cleared and returns, and when a switcher at a new address reports it.

Readout Text after the state Debug output line
RECORD STATE No disk Record: no disk. Insert a disk to record.
RECORD STATE Disk full Record: disk full. Insert another disk or free space.
RECORD STATE Disk error Record: disk error. Check the disk or replace it.
RECORD STATE Disk not formatted Record: disk not formatted. Format it in ATEM Software Control.
RECORD STATE Dropping frames Record: dropping frames. Use a faster disk.
RECORD STATE Recorder error Record: the recorder reports an error. Check it in ATEM Software Control.
STREAM STATE Check settings Stream: settings are not valid. Check them in ATEM Software Control.
STREAM STATE Streamer error Stream: the streamer reports an error. Check it in ATEM Software Control.
STREAM STATE No destination Stream: no destination. Set one in ATEM Software Control.

REC refuses a start while RECORD STATE reports no disk, a full disk or an unformatted disk. STREAM refuses a start while the switcher has no stream destination set.

09.Macros Page

The Macros page holds the MACRO SLOTS card, then the ANY MACRO card. Every picker lists the macros in use on the switcher, each as its number. A colon and its name follow only when the switcher holds a name for that macro.

Macro slots card

The MACRO SLOTS card holds Macro_Slots slots, numbered in the SLOT column, in two columns when there are more than 8.

On the panel What it does Pin
MACRO The slot's macro picker. The first entry is --None--. Macros~Slot 1~Macro
Run Runs the slot's macro. The legend is the macro's name, or Run when there is no name. It greys out when the slot holds no macro that is in use on the switcher. Macros~Slot 1~Run
RUNNING Lights while that macro runs or is waiting. Macros~Slot 1~Running

Any macro card

The ANY MACRO card holds a picker, a Run button and a Stop button.

On the panel What it does Pin
MACRO The picker. The first entry is --Select a Macro--. Macros~Select
Run Runs the picked macro. Macros~Run
Stop Stops the running macro. Macros~Stop

Macro numbers

A slot binds to a macro's number and not to its name. The picker shows the name that the switcher holds for that number. If you renumber macros on the switcher, a slot runs whatever macro now holds its number, and the Run legend follows the new name. Set the slot again after a renumber.

A text written to a slot's macro pin or to the ANY MACRO picker's pin follows Pin text in Control Pins.

10.AUX & Tally Page

This page holds the AUX OUTPUTS card and the TALLY card.

AUX outputs card

In the AUX OUTPUTS card, each row is one AUX output, which the OUTPUT column names as AUX 1 and on.

On the panel What it does Pin
SOURCE Picks the source of the AUX output in that row. The first entry is --Select a Source--. The list holds the sources that the switcher offers to AUX outputs, each as its source number. A colon and its name follow only when the switcher holds a name for that source. A pin takes the source number, see Pin text. AUX 1~Source

Tally card

The TALLY card holds one row for each of the model's inputs. The IN column numbers the row.

On the panel What it does Pin
NAME The input's long name from the switcher. Read-only. Tally~Input 1~Name
PGM Lights while the switcher reports the input in program. Tally~Input 1~Program
PVW Lights while the switcher reports the input in preview. Tally~Input 1~Preview

11.Setup Page

The Setup page holds the connection in the CONNECTION card, the detected switcher in the SWITCHER card and the diagnostics in the DIAGNOSTICS card. The header and the status bar are on every page. The LICENSE box is in the header's right column. At Show_Locking_ID Yes, the LOCKING ID box sits above it.

On the panel What it does Pin
LOCKING ID The Core's Locking ID. See Licensing. Shown only at Show_Locking_ID Yes, see Connection and license pins. License~Locking ID
LICENSE The license state. See Licensing. License~Status
Refresh See Enabled and Refresh. Connection~Refresh
Connected LED Lights while the plugin is synced with the switcher. Connection~Connected
Status bar The messages in Status Messages, and the expiry fault in Licensing. Connection~Status

Connection card

The CONNECTION card holds these two controls.

On the panel What it does Pin
SWITCHER IP ADDRESS The switcher's address. See Switcher address. Connection~IP Address
Enabled On by default. See Enabled and Refresh. Connection~Enable

Switcher card

The SWITCHER card holds these two controls.

On the panel What it does Pin
DETECTED MODEL The product name and model number that the switcher reports. The text adds no Model row when the plugin has no row for that switcher. It adds beyond this block and the counts when the switcher has more than the block was built for. The text empties when the switcher address changes. Diagnostics~Detected Model
PROTOCOL VERSION The protocol version that the switcher reported at sync, such as 2.30. The text empties when the switcher address changes. Diagnostics~Protocol Version

Diagnostics card

All of the controls in the DIAGNOSTICS card are read-only text. The counters run from the start of the design.

On the panel What it does Pin
SYNC TIME How long the last sync took, in milliseconds. The text empties when the switcher address changes. Diagnostics~Sync Time
SYNC COUNT The number of completed syncs. Diagnostics~Sync Count
PACKETS IN The packets received from the switcher. Diagnostics~Packets In
PACKETS OUT The packets sent to the switcher. Diagnostics~Packets Out
RETRANSMITS IN The retransmitted packets received from the switcher. Diagnostics~Retransmits In
RETRANSMITS OUT The packets that the plugin sent again. Diagnostics~Retransmits Out
DECODE ERRORS The packets or records that the plugin could not decode. Diagnostics~Decode Errors
EXECUTION LIMITS The times that a script step ran past the Core's execution limit. Diagnostics~Execution Limits
PRELUDES The prelude packets that arrived before the switcher's state dump. Diagnostics~Preludes
OUTCOME UNKNOWN The commands whose result the plugin never learned. When the connection closes, each command that was sent and not finished counts once, acknowledged or not. A command that stays unacknowledged after 10 resends also closes the connection, and the plugin reconnects. Diagnostics~Outcome Unknown
EFFECT MISMATCHES The commands whose effect the switcher's state did not show. See Status Messages. A fade to black that settles against an FTB press can count too, see An FTB press is ignored or goes the wrong way. Diagnostics~Effect Mismatches
COMMANDS PENDING The commands that are queued or on their way to the switcher. Diagnostics~Commands Pending
LAST ERROR The last failure that the plugin logged. Diagnostics~Last Error

12.Control Pins

Each panel control is also a pin. The Pin column gives the pin's name, and the Script name column gives the control's script name. A name such as M/E <m>~Cut is M/E 1~Cut on the first M/E. In a name, <m> is the M/E number, <k> the keyer and <a> the AUX output. <p> is the media player, <s> the macro slot and <n> the input. The tables give the patterns and not every expanded pin.

Pin text

A pin text is the number alone, or the number, a colon and any text, such as 3: Camera. A media player pin takes the word Still or Clip before the number, such as Still 3, alone or followed by a colon and any text. Spaces, tabs and line breaks around the entry do not matter. On an AUX or media player pin, the placeholder is refused as placeholder. Any other text that is not a complete entry is refused as unparsable. That includes a name alone, and text that goes on after the number, such as 3abc or Still 3oops. MacroSlot<s> and MacroSelect take their placeholder and an empty text without a refusal.

Connection and license pins

Pin Script name Type Direction
Connection~IP Address IPAddress Text Input
Connection~Enable Enable Toggle Input
Connection~Refresh Refresh Trigger Input
Connection~Status Status Status Output
Connection~Connected Connected LED Output
License~Status LicenseStatus Status Output
License~Locking ID LicenseLockingID Text Output

The License~Locking ID pin exists at both settings of Show_Locking_ID. At No the LOCKING ID box is hidden and the pin stays, so a wire on it stays too.

Switcher pins

Pin Script name Type Direction
M/E <m>~Program~<Source> ME<m>Program<Src> Toggle Both
M/E <m>~Preview~<Source> ME<m>Preview<Src> Toggle Both
M/E <m>~Cut ME<m>Cut Trigger Input
M/E <m>~Auto ME<m>Auto Trigger Input
M/E <m>~Fade To Black ME<m>FTB Toggle Both
M/E <m>~Style~<Style> ME<m>Style<Style> Toggle Both
M/E <m>~Rate ME<m>Rate Integer Both
M/E <m>~Next Transition~Background ME<m>NextBackground Toggle Both
M/E <m>~Next Transition~Key <k> ME<m>NextKey<k> Toggle Both
M/E <m>~Key <k>~On Air ME<m>Key<k>OnAir Toggle Both
DSK <k>~On Air DSK<k>OnAir Toggle Both
DSK <k>~Tie DSK<k>Tie Toggle Both
DSK <k>~Auto DSK<k>Auto Trigger Input
Media Player <p>~Source MediaPlayer<p>Source Text Both
Recording~Record Record Toggle Both
Recording~State RecordState Text Output
Streaming~Stream Stream Toggle Both
Streaming~State StreamState Text Output

<Style> is Mix, Dip, Wipe, DVE or Stinger.

Macro, AUX and tally pins

Pin Script name Type Direction
Macros~Slot <s>~Macro MacroSlot<s> Text Input
Macros~Slot <s>~Run MacroSlot<s>Run Trigger Input
Macros~Slot <s>~Running MacroSlot<s>Running LED Output
Macros~Select MacroSelect Text Both
Macros~Run MacroRun Trigger Input
Macros~Stop MacroStop Trigger Input
AUX <a>~Source Aux<a>Source Text Both
Tally~Input <n>~Name InputName<n> Text Output
Tally~Input <n>~Program TallyProgramInput<n> LED Output
Tally~Input <n>~Preview TallyPreviewInput<n> LED Output

Diagnostics pins

Pin Script name Type Direction
Diagnostics~Detected Model DetectedModel Text Output
Diagnostics~Protocol Version ProtocolVersion Text Output
Diagnostics~Sync Time SyncTime Text Output
Diagnostics~Sync Count SyncCount Text Output
Diagnostics~Packets In PacketsIn Text Output
Diagnostics~Packets Out PacketsOut Text Output
Diagnostics~Retransmits In RetransmitsIn Text Output
Diagnostics~Retransmits Out RetransmitsOut Text Output
Diagnostics~Decode Errors DecodeErrors Text Output
Diagnostics~Execution Limits ExecutionLimits Text Output
Diagnostics~Preludes Preludes Text Output
Diagnostics~Outcome Unknown OutcomeUnknown Text Output
Diagnostics~Effect Mismatches EffectMismatches Text Output
Diagnostics~Commands Pending CommandsPending Text Output
Diagnostics~Last Error LastError Text Output

Source names

<Src> in a control name and <Source> in a pin name are the source's name part. Both come from the source's number on the switcher.

Source <Src> <Source>
Numbered inputs Input<n> Input <n>
Black Black Black
Color bars Bars Bars
Color generators 1 and 2 Color1, Color2 Color 1, Color 2
Media player 1 and its key MediaPlayer1, MediaPlayer1Key Media Player 1, Media Player 1 Key
Media player 2 and its key MediaPlayer2, MediaPlayer2Key Media Player 2, Media Player 2 Key
Media player 3 and its key MediaPlayer3, MediaPlayer3Key Media Player 3, Media Player 3 Key
Media player 4 and its key MediaPlayer4, MediaPlayer4Key Media Player 4, Media Player 4 Key
SuperSource SuperSource SuperSource
SuperSource 2 SuperSource2 SuperSource 2
M/E 2 program and preview, on M/E 1 only ME2Program, ME2Preview M/E 2 Program, M/E 2 Preview
M/E 3 program and preview, on M/E 1 and M/E 2 ME3Program, ME3Preview M/E 3 Program, M/E 3 Preview
M/E 4 program and preview, on M/E 1 to M/E 3 ME4Program, ME4Preview M/E 4 Program, M/E 4 Preview
Any other source number Source<id> Source <id>

An M/E offers the program and preview outputs of each M/E with a higher number, when the block has it, as the table shows. M/E 1 therefore has ME1ProgramME2Program and ME1PreviewME2Preview. On a block with 3 or more M/Es, M/E 2 also has ME2ProgramME3Program. The last M/E has no such sources. The ATEM Mini Extreme ISO G2 offers the sources 3210 and 3211, so it has ME1ProgramSource3210 and ME1ProgramSource3211.

13.Status Messages

The status bar writes the messages in this table. Q-SYS prefixes each with the state word in the first column. When more than one row applies, the topmost row shows. The licensing messages are in Licensing.

State Message Cause Remedy
Fault Startup failed; see the log A step of the plugin's startup failed. The plugin stops its startup there and does not connect. The debug output holds a Startup failed: stage=<stage> reason=<error|limit|killed> line, and a line with error or limit ends with text=<message>. Send the debug output to support.
Not Present Disabled The Enabled button is off. Turn the Enabled button on.
Fault Enter the switcher's IP address SWITCHER IP ADDRESS is blank or is not a valid address. Enter the address, see Switcher address.
Fault Switcher firmware too old; update to 8.0.1 or later, then press Refresh The switcher runs firmware older than 8.0.1. The plugin makes no attempt to connect. Update the switcher, then press Refresh. The message clears after the update and a press of Refresh.
Fault Execution limit; see the log A script step ran past the Core's execution limit. Press Refresh. If the message returns, send the debug output to support.
Fault Sync failed 3 times; see the log Three syncs in a row did not finish. The plugin keeps trying, and the message clears at the next completed sync. Check the network path to the switcher, then press Refresh.
Fault Switcher has no free connections; close another ATEM app or controller The switcher has no free connection for the plugin. The plugin keeps trying. Close any other ATEM app or controller that is connected to the switcher.
Missing No reply from <IP address> The switcher did not answer, or went silent. The plugin keeps trying. Check the cable, the address and UDP port 9910 on the path.
Initializing Syncing The plugin is connecting, or is receiving the switcher's state. Wait. A sync that keeps failing ends at Sync failed 3 times; see the log.
Compromised Firmware newer than tested A record from the switcher has a different length than the tested firmware sends. Send the debug output to support. It holds a Record length differs from tested firmware line.
Compromised No topology from the switcher; press Refresh The switcher finished its sync but sent no topology, so the plugin cannot tell how many M/Es, downstream keyers, AUX outputs and media players it has. The M/E, downstream keyer, AUX and media player controls are off. Recording, streaming and the macro controls keep working. The debug output holds a No topology in the dump line. Press Refresh.
Compromised Switcher did not act as expected on <control>; check for an A2Q Direct update The switcher's state did not show the effect of a command to the named control. The name is the control's script name. Control Pins gives the pin for each script name, and the card tables in sections 08 to 11 give the panel label for that pin. Check for an A2Q Direct update. A new connection clears the message, for example after Refresh.
Compromised Switcher is <model>; set Model to match The switcher is not the row that Model selects. Set Model to the named row and push the design.

Refused presses

A refused press logs Command refused: control=<control> reason=<reason> in the plugin's debug output. The control in that line is the control's script name. Control Pins gives the pin for each script name, and the card tables in sections 08 to 11 give the panel label for that pin. The reason is one of these:

Reason Cause Remedy
no_session The plugin has no connection to the switcher. See Status Messages.
not_synced The plugin is still syncing. Wait for the sync.
license The demo has expired. See What demo expiry stops.
placeholder A picker still shows its placeholder. Pick an entry first.
slot_unassigned The slot's picker holds no macro. Pick a macro for the slot.
unparsable A text written to a picker is not a complete entry. Write a complete entry, see Pin text.
unused_macro The switcher has no macro with that number. Pick a macro from the list.
rate_stinger The next style is Sting, which has no rate. Select another style.
absent The switcher has no such M/E, keyer, DSK, AUX output, media player or source. Compare DETECTED MODEL with Model.
style_not_offered The switcher has no DVE or no stinger. Select another style.
sel_empty The press would clear the last next-transition selection. Select another element first.
queue_full 16 commands are already waiting. Wait, then press again.
noop The control already holds the value, or a command still waiting will set it. A Cut that would change nothing meets it too, and so does an FTB press for the way a fade already runs. None.
not_reported The sync finished without the state that the command needs: the recorder, the streamer or the next transition style. If the refused control is the REC or STREAM button and PROTOCOL VERSION is below the protocol version in Requirements, the plugin does not read the recorder or the streamer, so update the switcher firmware. Otherwise, send the debug output to support.
unused_media The switcher has no still or clip with that number in use. Pick an entry from the media list.
aux_unavailable The source is not one that the switcher offers to AUX outputs. Pick an entry from the AUX list.
fade_direction_unknown An FTB press came while a fade runs and the plugin cannot tell which way the fade goes. The plugin connected during the fade, or the fade's rate changed. The count may also have jumped in a way that the plugin cannot read, or an earlier FTB press did not take effect. Wait until the fade settles, then press again.
fade_settled_opposite A fade settled in the opposite state to the latest FTB press. The plugin logs it when the fade settles, with at=settle, and sends no command. Check for another controller on the switcher, then press FTB again.
transition_in_progress A transition on that M/E, or on that DSK, is still running, however it was started. Wait for the transition to end.
cutauto_pending A Cut or an Auto for that M/E is already waiting. Wait, then press again.
auto_pending An Auto is waiting, and the press would change what it moves. A DSK Auto press also meets it while an M/E 1 Auto waits. Wait, then press again.
dskauto_pending A DSK Auto is waiting, and the press would change what it moves. A Cut or Auto on M/E 1, or the same DSK Auto, meets it too. Wait, then press again.
changed_since_press A Cut, an Auto or a DSK Auto waited behind another command, or for late feedback from the switcher. What it acts on changed before it was sent, such as the preview source. The line adds at=send and a changed= part that names each change, such as pvw:1 3->2. Nothing was sent. Check the switcher, then press again.
rec_no_media RECORD STATE reports no disk. Fix it as the table in Record and stream readouts says.
rec_media_full RECORD STATE reports a full disk. As for rec_no_media.
rec_unformatted RECORD STATE reports an unformatted disk. As for rec_no_media.
stream_no_destination The switcher has no stream destination set. Set a destination in ATEM Software Control.

14.Troubleshooting

After a cable is reconnected

If you reconnect a network cable to the switcher, wait about 20 s. During that time, the status bar can read No reply from <IP address> or Switcher has no free connections. The plugin keeps trying and clears both by itself. If the status bar still reads Switcher has no free connections after 20 s, close any other ATEM app or controller that is connected to the switcher.

The status bar reads No reply or no free connections

The status bar stays on Syncing

A control is grey

  • Read the status bar first, because the command controls grey out while the plugin is not synced, see Status Messages.
  • At demo expiry they grey out too, see What demo expiry stops.
  • The Switcher Page lists what else greys a control out. Compare DETECTED MODEL with Model.
  • DVE and Sting need a DVE or a stinger on the switcher. Recording and streaming need the firmware in Requirements. RATE (FRAMES) greys out while Sting is selected.

A source button is missing

  • The Model row lists the sources, see Models and Source names. Choose the row that matches the switcher, or Custom and raise Inputs. Inputs stops at 40, so a switcher with more inputs has no buttons for the inputs above 40.

A press does nothing

An FTB press is ignored or goes the wrong way

  • FTB is lit only while the M/E is fully black. During a fade it is unlit, and a press asks for black.
  • While the M/E fades to black, that press is refused as noop and the fade runs on. To fade back, wait until FTB lights, then press it.
  • While the M/E fades back from black, the press asks for black and reverses the fade.
  • The plugin works out which way a fade runs from the switcher's reports, and it follows a fade that another controller reverses. A reversal at exactly the midpoint of a fade leaves no sign, and the plugin keeps the old direction.
  • When the plugin cannot tell which way a fade runs, it refuses the press as fade_direction_unknown, see Refused presses. Wait until the fade settles, then press FTB again.
  • When a fade settles in the opposite state to the latest FTB press, the debug output holds a Command refused: control=<control> reason=fade_settled_opposite op=ftb at=settle changed=ftb:<m> <requested>-><settled> line, and EFFECT MISMATCHES rises by one. The status bar does not change, and the plugin sends no command.
  • If another controller reverses the fade after the press, that line and the count may both be missing. If the switcher acts on the press after that reversal has settled the fade, the press starts a fade the other way, which counts once and raises the Compromised message in Status Messages. Otherwise a sent press that the switcher does not act on counts as any other command does, and raises the same message. Near the fade's midpoint, the switcher's reports can make a dropped reversal look as though it took effect. In that case the plugin logs and counts the mismatch when the fade settles, with the line and the count above, and the status bar does not change. If the reports show the reversal failed, the usual Compromised message appears.

A macro slot runs the wrong macro

A picker list is empty

  • The pickers list what is in use on the switcher. They fill when the sync ends and clear after a lost connection. Check the Connected LED.

The panel says the saved Model is not in the list

  • The Switcher page shows The saved Model is not in this version's list. Showing the Custom layout; set Model to match the switcher. Choose a row in Model, see Models.

15.How It Works

The connection

The plugin opens one UDP socket and sends a hello to port 9910 on the switcher. The switcher accepts, or refuses when it has no free connection. After it accepts, it sends its whole state, and the plugin acknowledges it. The sync ends once the panel shows that state, and the Connected LED then lights.

The plugin gives up on a hello after 1 s, on a silent switcher after 2 s, and on a sync after 5 s. After a sync, the plugin also gives up when a packet is missing, later packets wait behind it, and nothing applies for 2 s. It gives up at once when a packet arrives too far ahead to wait for the missing ones. After a failure it waits 1 s, plus 0 to 2 s of jitter, before the next attempt. Each further wait doubles, to a cap of 4 s, with the same jitter. After an execution limit it waits 60 s. A reconnect starts the sync again, and a sync sends the whole state again.

An execution limit while the plugin writes the controls halves its write rate, and an automatic reconnect keeps the halved rate. Full speed returns after 5 minutes in sync. It returns at once on Refresh, when the Enabled button is turned on, or when a new valid switcher address is set. It also returns when a sync runs out of time at the halved rate. The debug output logs UI write cap restored when full speed returns. At Standard, a second restore in the same outage logs at Verbose.

Commands

A press becomes a command, and the plugin queues it. It sends each command in a reliable packet, and resends one that the switcher does not acknowledge, up to 10 times. Past that, the plugin drops the connection as in Dropped connections. When a connection closes, each command that was sent and not finished counts once in OUTCOME UNKNOWN. One Commands at close line in the debug output names the controls of up to eight of them. It also counts the commands that were never sent. At most 16 commands wait at once. A newer press on the same target, such as the same bus, replaces a command that has not been sent.

After the switcher acknowledges a command, the plugin checks that the switcher's state shows the effect. A Cut whose only expected change is on downstream keyers, or on keyers that the block does not show, skips this check. A command with no effect counts in EFFECT MISMATCHES and raises the Compromised message in Status Messages. The exception is an FTB press whose fade settles the other way: it can count with no change to the status bar. An FTB press is ignored or goes the wrong way gives each case.

What a control shows

A mirrored control is rewritten from the switcher's state, never set by the press. A press sends a command, and the control changes when the switcher's state changes. RATE (FRAMES) is the exception: it keeps the requested value until the switcher echoes it, and only a refusal rewrites it at once.

The block's controls are fixed by Model and the counts, because Q-SYS fixes a plugin's controls at design time. At run time the plugin also reads what the switcher has, and greys out a control that the switcher lacks. The reverse does not work: a switcher with more than the block was built for shows only what the block has, and DETECTED MODEL names the rest.

16.Support

Include with a request:

  • Q-SYS Designer version
  • Core model and firmware version
  • Plugin version, shown under the plugin name in the header
  • The switcher model and firmware version, and the text of DETECTED MODEL and PROTOCOL VERSION
  • The Setup page diagnostics, including LAST ERROR
  • The Locking ID, for a license question
  • Debug output captured with Debug_Level set to Verbose