1 =<1 or 0>{LIN(1)UMD text control string optional} Example: LIN(7)DUR(200)STATUS: LIN(1)OPENLIN(2)FROM 9 AMLIN(4)TO 5 PM The result is STATUS: followed by one of OPEN, FROM 9 AM, TO 5 PM, pausing on each for 2 seconds. LIN(16)5=IF(EQ(V(!X),100),1,0) If the temporary variable X is equal to 100, then virtual GPI #5 will be turned on, otherwise it will be set to off. ]]> format. In the formulation , Device must be the name of a router or production switcher device, as defined in Hardware>Comm Port Setup>Production and M/C Switchers or Hardware>Comm Port Setup>Routers. Input must be the name of an input of said Router or Production switcher device. This function will return a value if the given input is included in the tally system configuration as one of the ends of a signal interconnection, as defined in either the Tally System Console 2 Source Definitions editor or the Signal Paths editor. In the legacy Tally System Console, such signal interconnections was defined under Resource>Interconnections. Example OD(SWR::1) will return the destination feeding SWR input 1 (e.g. RTR::DEST1[1]), if SWR::1 is a Signal Path origin and RTR::DEST1[1] is a Signal Path end. ]]> Subroutines table. Example: SV(!X,"SV(!Y,MUL(V(!Y),10))V(!Y)")SV(!Y,1)FN(!X) FN(!X) FN(!X) The result is 10 100 1000 by using the temporary variable X to repeat a set of operations on the temporary variable Y. ]]> ,) Same effect as the first example. Tally System Console 2 replaces with the number of the tally area specified for the GPI output or UMD for which the example expression is being programmed. This selection is made in the Tally Area column of the GPI output or UMD programming editor of Tally System Console 2. Tally System Console 2 replaces with the number of the tally type defined with name PGM in the Tally Area editor of Tally System Console 2. The various named tally types are numbered starting from 1 according to their top-to-bottom order in the Tally Area editor. Typically tally types are PGM (tally type 1), PST (tally type 2), EXT (tally type 3). ]]> ,ac(NML),ac(PGM),ac(EXT),ac(PST)) The above example displays the name of the given destination in Style A. Text is shown with the AC(NML) color if the source selected by the given destination is not contributing to any program (on air), preset (next to air) or external destination. Text is shown with the Tally Type 1 (AC(PGM)) color if the source selected by the given destination is contributing to a program (on air) destination. Text is shown with the Tally Type 2 (AC(EXT)) color if the source selected by the given destination is contributing to a preset (next to air) destination. Text is shown with the Tally Type 3 (AC(PST)) color if the source selected by the given destination is contributing to a external destination (typically a program bus in another control room). Depending on the the type of UMD the AC() commands NML, PGM, EXT, PST will typically generate white, red, amber, and green colours respectively. The priority of Tally Types in the above example, have a descending order of priority: Tally Type 1 (AC(PGM)) Tally Type 2 (AC(EXT)) Tally Type 3 (AC(PST)) Non-tallied expression (AC(NML)). Because of the above priority rules, if Tally Type 1 and Tally Type 2 are both active, then the Tally Type 1 colour code (AC(PGM)) is shown. In Tally System Console 2 <%TA> evaluates to a value of 1 through 8, depending on the UMDs > Display Devices > Tally Area column setting for the UMD programmed with this string. ]]> ,ac(NML),ac(PGM),ac(EXT),ac(PST)) The above example displays the name of the given destination in Style A. Text is shown with the AC(NML) color if the selected source is not contributing to any program (on air), preset (next to air) or external destination. Text is shown with the Tally Type 1 (AC(PGM)) color if the selected source is contributing to a program (on air) destination. Text is shown with the Tally Type 2 (AC(EXT)) color if the selected source is contributing to a preset (next to air) destination. Text is shown with the Tally Type 3 (AC(PST)) color if the selected source is contributing to a external destination (typically a program bus in another control room). Depending on the the type of UMD the AC() commands NML, PGM, EXT, PST will typically generate white, red, amber, and green colours respectively. The priority of Tally Types in the above example, have a descending order of priority: Tally Type 1 (AC(PGM)) Tally Type 2 (AC(EXT)) Tally Type 3 (AC(PST)) Non-tallied expression (AC(NML)). Because of the above priority rules, if Tally Type 1 and Tally Type 2 are both active, then the Tally Type 1 colour code (AC(PGM)) is shown. In Tally System Console 2 <%TA> evaluates to a value of 1 through 8, depending on the UMDs > Display Devices > Tally Area column setting for the UMD programmed with this string. ]]> ,ac(NML),ac(PGM),ac(EXT),ac(PST)) The above example displays the name of the source selected by given the given router or switcher destination, in Style A. Text is shown with the AC(NML) color if the source selected by the given destination is not contributing to any program (on air), preset (next to air) or external destination. Text is shown with the Tally Type 1 (AC(PGM)) color if the source selected by the given destination is contributing to a program (on air) destination. Text is shown with the Tally Type 2 (AC(EXT)) color if the source selected by the given destination is contributing to a preset (next to air) destination. Text is shown with the Tally Type 3 (AC(PST)) color if the source selected by the given destination is contributing to a external destination (typically a program bus in another control room). Depending on the the type of UMD the AC() commands NML, PGM, EXT, PST will typically generate white, red, amber, and green colours respectively. The priority of Tally Types in the above example, have a descending order of priority: Tally Type 1 (AC(PGM)) Tally Type 2 (AC(EXT)) Tally Type 3 (AC(PST)) Non-tallied expression (AC(NML)). Because of the above priority rules, if Tally Type 1 and Tally Type 2 are both active, then the Tally Type 1 colour code (AC(PGM)) is shown. In Tally System Console 2, <%TA> evaluates to a value of 1 through 8, depending on the UMDs>Display Devices>Tally Area column setting for the UMD programmed with this string. ]]>