Imagine Communications Duet LEX Character Generator User Notes
Tangazo
Tangazo
Product – ADC v11 and v12
Topic: Chyron Duet LEX - Character Generator
Duet LEX is a powerful, scalable member of the Duet® family, capitalizing on the compact, costeffectiveness of Duet LE while incorporating some of the sophisticated features of Duet SD.
Duet LEX, runs the Lyric text and graphics application, features real-time 2D/3D animation capabilities enabling complex graphics to be easily created and played out.
The Duet LEX driver is based originally upon the initial Duet graphics driver by Imagine
Communications. It was necessary for ADC to create the Duet LEX driver to compensate for the differences between the Duet and LEX in regard to cueing and playing complex graphics.
Improved buffer management has been added to the Duet LEX driver. The Duet LEX driver can cue the next image without displaying the first frame of the graphic file so that the cue command can be sent to the device as early as possible prior to the play command. This way, the complex graphics can be loaded ahead of time without disturbing the on-air graphics.
Release Date: 9-December-2014
Revision History
Revision Protocol
1.1
1.2
1.3
9-pin
RS-422
Chyron
Duet CG
Protocol or 9-pin
RS-232C
Codi CG
Protocol
Date
9/26/2007
6/16/10
Author
07/29/2006 TNguyenphuc
Alex Sterlin
TNguyenphuc
Jhighet
Company Description
Modifications were made to standard Duet 2C driver for enhanced control of the Duet LEX.
Duet LEX driver supports a different cueing method and supports enhanced cueing of large complex graphic files. The Duet
LEX driver also allows users to use names up to
30 characters.
Add Notes of list assignment configuration into the Configure List
Assignment.
Cleaned up language throughout document and added updated Screen captures.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 1 of 12
Revision Protocol Date
1.4 6/29/10
1.5 7/23/12
Author
Jhighet
Company Description
Additional clean up of language throughout document. Added new screen of
Communications Tab.
Updated Internal Keyer support.
V12.19 adds an optional cueing mechanism for the standard Chyron Duet
LEx graphics driver.
Version Used
Firmware: N.A.
Operator’s Manual: Chyron Duet Operator Manual
Protocol: 9-pin RS-422 Chyron Duet Protocol or 9-pin RS-232C Codi CG Protocol
Requirements
ADC-100 supports the Chyron Duet LEX Character Generators using a 9-pin RS-422 protocol or
9-pin RS-232C protocol.
The communication interface used for composing and playing out messages (pages) must follow either RS-232 or RS-422 protocol of the Duet. Once the Duet LEX is powered down all composed messages are lost. It is recommended that RS-232 interface is used on the Duet LEX as composing messages is done using a PC which has only an RS-232 interface as standard.
For dedicated applications that use the Duet LEX, it is best to configure it in a RS-422 configuration.
Cable Requirements
FOR 9-pin RS-422 PROTOCOL
The Chyron Duet LEX character generator communicate via a RS-422 interface. The cable requirements are as shown in Table 1. This cable is a DB9 (Male) to a DB9 (Male). All connections are pin-to-pin.
TABLE 1
DB9 (male) Louth
TX+ (3)
TX- ( 8)
DB9 (male) CODI CG
RX+ (4)
RX- (9)
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 2 of 12
RX+ (7)
RX- (2)
TX+ (2)
TX- (8)
FOR 9-pin RS-232C PROTOCOL
The Chyron Duet LEX Character Generator can communicate via a 9-pin RS-232C interface. A hardware adapter is required as shown in Table 2 to convert RS-422 signals from the device server to RS-232 signals. Two more cable segments are also needed as shown in the Table. The cable requirements are as shown in the table. All connections shown in the table are pin-to-pin.
TABLE 2
↓---Cable Segment 1---↓
DB-9
Male
2
3
7
8
422
DB-25
Male
2
17
14
5
RS-422/
RS-232
Converter
↓-----Cable Segment 2----↓
DB-25
Female
2
3
7
232
DB-9
Male
2
3
5
Cable segment 1 is used between the ADC Device Server and the RS-422 to RS-232 converter.
Cable segment 2 is from RS-422 to RS-232 converter to Duet LEX.
Connections
RS-422:
Connect the DB9 (male end of the Duet LEX) cable made for RS-422 communications to the serial port on the Duet LEX. Set the mode switch on the Duet LEX rear panel to indicate RS-422 communication. Other communication parameters setting like baud rate, stop bit and parity must also be set using the mode switch on the rear panel of the Duet LEX.
Refer to the Duet LEX Operator’s manual chapter 2 for further details on the mode switches. The other end of the cable should be connected to the selected port of the ADC-100 device server.
RS-232:
Connect the Cable Segment 2 male end (9-pin) shown in Table 2 to the serial port on the Duet
LEX. Set the mode switches on the rear panel to indicate RS-232 communication. Other communication parameters like baud rate, stop bit, and parity must also be set on the rear panel of the Duet LEX using the mode switches.
Refer to the Duet LEX operator’s manual chapter 2 for further details on mode switches. The other end of Cable Segment 2 (25-pin) is connected to the RS-232 side of the RS-422/232 converter. Connect the 9-pin end of cable segment 1 shown Table 2 to the ADC100 device server and the other end of the cable segment is connected to the RS-422 side of the RS-
422/232 converter.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 3 of 12
NOTES
1. The RS-422/232 converter model used is “MODEL 422CON” made by B&B Electronics. This converter can be procured from Imagine Communications if necessary.
2. A serial communication card that supports RS-232 interface can also be purchased from Imagine
Communications.
Communications Parameters
Add content about Comms.
The communications parameters for this device are:
Baud Rate: 9600
Data Bits: 8
Stop Bits: 1
Parity: NONE
Device Server Set-Up
IMPORTANT Configuration Note: When you have finished making changes on a configuration screen, press Apply and all changes made upon the current configuration window will be applied to the driver. Press OK, and any configuration changes made upon the various tabs will be applied, however, the configuration window will close. Press Cancel and none of the configuration changes will be applied to the driver and the configuration window will close.
To configure a Duet LEX in ADC
1. Launch the ADC-100 device server and the Configuration Tool applications. If your ADC
Device Server application is already operating, then simply start your ADC Configuration
Tool. Double check you are selecting the correct Device Server name when configuring the Duet LEX driver. Right click on the server icon within the Configuration Tool window and select Configure Devices menu to open the Configured Devices window.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 4 of 12
2. From the Configured Devices window, expand the Character Generator list by pressing the “+” icon. If the Chyron Duet LEx is not present within the expanded list of Character
Generators then contact Imagine Communications Sales or Technical Support.
3. Select the Chyron Duet LEx driver (Figure 1) from the right side of the window and drag and drop this driver object to an available Device Server Channel on the left side of the window
4. Within the left side of the Configured Devices window, double Click or right click upon the Chyron Duet LEx driver and select Properties. You are now ready to configure the driver.
To configure a Duet LEX Driver
1. From the DuetLEx’s properties window select the General tab to assign the device name for operation.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 5 of 12
• The Device Name will appear in the Device Status and configuration windows on the client applications. The default name may be used but it is recommended to use unique names for easy identification later.
• The ID Match Name will be used in the Transmission List’s ID Field to let the system know that the event is intended for the Duet LEX device.
• The Back-Time value in frames determines when commands should be sent to the
Duet LEX. A non-zero value in this field indicates the number of frames that commands will be sent early (during preroll, before the play counter actually starts).
This value is set at 1 by default; it shouldn’t need to be changed. However if the timing of the Duet LEX is off with respect to the switcher, this parameter may be changed to adjust the output timing. This parameter does not change the timing for secondary data commands.
• The Enable Internal Keyer selection for the Duet LEX driver is not supported.
• Display First Frame of Image When Cued: Enable (check) / Disable (uncheck) allowing the load image command to set the attribute to display the first frame to the frame buffer. This provides operators with the cueing option of either showing the first frame of a cued event or not on the output of the Duet LEx.
• Press Apply and all changes made upon the current configuration window will be applied to the driver. Press OK, and any configuration changes made upon the various tabs will be applied, however, the configuration window will close. Press
Cancel and none of the configuration changes will be applied to the driver and the configuration window will close.
2. Select the Serial Port tab and choose the serial port number in which the Duet LEX is connected to on the rear of the ADC Device Server chassis. When viewing the serial port cards on the rear of the Device Server chassis the port located at the upper left is Port 1 and the port below it is Port 2. Once you’ve reached the final port on that particular serial board, you then start counting port numbers at the top of the next serial board. It is connected to ADC server to establish a communication channel from ADC server to Duet device. See the Connections section above for details regarding RS-422 and RS-232 communications.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 6 of 12
3. Select the Communications tab to configure the serial communication parameters
(Figure 4).
The following are the actual serial communication settings for the Duet LEX
• Baud rate = 9600; Data Bits = 8; Stop Bits = 1; Parity = None
Note: The Default GUI setting for Baud Rate is 19,200 but this needs to be changed
to 9600 to establish serial communications.
• Press Apply and all changes made upon the current configuration window will be applied to the driver. Press OK, and any configuration changes made upon the various tabs will be applied, however, the configuration window will close. Press
Cancel and none of the configuration changes will be applied to the driver and the configuration window will close.
4. The Diagnostics tab is used to help troubleshoot communication issues between the
ADC Device Server and the Duet LEX device, but in the case of the Duet LEX driver the
Reinitialize button currently is NOT supported and has no effect with re-establishing or re-setting communications.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 7 of 12
List Configuration for Duet LEX
It is necessary to assign the configured Duet LEX driver to an ADC Play List prior to controlling the playout of any graphic files. This is done using List Configurations menu and List
Assignments window within the ADC Configuration Tool.
Rules
Specific rules must be followed when assigning Duet LEX driver devices (heads) to an ADC Play
List.
• Heads 1 (DEV:1) and 2 (DEV:2) of the Duet LEX driver are associated with control of
Duet LEX channel (or buffer) 1.
• Heads 3 (DEV:3) and 4 (DEV:4) of the Duet LEX driver are associated with controlling the Duet LEX channel (or buffer) 2.
1. If a single Duet LEX channel per Play List is needed, then either head 1 or 2 (of the
Duet LEX Channel 1) should be assigned to the Play List, or either head 3 or 4 (of the
Duet LEX channel 2) can be assigned to the Play List. If user prefers to have both Duet
LEX channels (buffers) assigned to the same Play List, then it is recommended that
DEV:1 and DEV:3 be assigned, and DEV:2 and DEV:4 remain un-assigned.
Users should avoid assigning two different heads of the same Duet LEX channel to the same Play List because this will interfere with buffer management of the graphic files (e.g. do not assign DEV:1 and DEV:2 to the same ADC Play List). Also, the remaining head of a channel which is assigned to a Play List should not be assigned to a different Play List.
For example: Head 1 or DEV:1 (LEX channel 1) is assigned to Play List 1 and Head 3 or
DEV:3 (LEX channel 2) is assigned to Play List 2 in the following List Assignment window:
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 8 of 12
2. For back-to-back play of stills and animations from the Duet LEX, user will need to configure 2 heads into the same ADC Play List. However, the 2 heads assigned must be either both odd or both even head numbers to prevent buffer management issues upon the Duet LEX.
For example: Head 1 or DEV:1 and Head 3 or DEV:3 are both assigned to ADC Play List
1 to avoid any buffer management errors in back to back play scenarios (Figure 7):
Operation Notes
From the Play List of the ADC-100, commands can be sent to the Duet LEX in two ways.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 9 of 12
1. Commands can be sent to recall pages that have already been stored in the Duet and to execute effects on those pages using primary events or secondary A/V events.
2. Any valid Duet LEX commands can be sent directly to the Duet LEX using a secondary data event.
Event Setting Notes:
In order to send any commands from an ADC-100 buffer to the Duet LEX, a SECONDARYAV
EVENT and SECONDARYDATA EVENT can be used.
The Duet LEX driver supports 30 alpha-numeric characters for recalling Duet LEX graphic or DVE files. Spaces, underscores, or hyphens are not supported by the Duet LEX driver. When using
Combo Cue/Play events (item 3 below), reserve 2 characters for the desired buffer number and
“/” character.
A comment may be entered in the title field as the title. The timing for secondary audio/video events and secondary data events are different. The on air time for a Secondary Audio/Video
Event is from first frame of video of the primary. For a Data Event the on airtime is offset from preroll. If for the Data Event you want it to run at first frame, if preroll is 3 seconds, you must enter
3 seconds in the time field to send the commands when the primary event goes on the air
To edit an existing event on the list, select the secondary event on the list and then choose Edit
Secondary from the Events pull-down menu. The default Secondary Event Editor is invoked.
Syntax of secondary AV event:
The Duet LEX driver operates using Secondary A/V events, which send a single command to the
Duet LEX when the event plays. For proper operation, the Title field of the event must contain one of the following:
SQZIN – Starts an effect on the Duet LEX
SQZOUT – Triggers the next effect on the page’s timeline, e.g. the squeeze-out
RUN1 – Triggers the effect specifically set up on Buffer 1
RUN2 – Triggers the effect specifically set up on Buffer 2
R[x][yyyyyy] - (x is the channel/buffer number and yyyyyy is the message number) –
Reads page yyyyyy onto buffer x.
Below is an example of how the events could be used together on an Air Client Playlist:
Note: The usage of the SQZIN and SQZOUT events depends entirely on how the page is built on
Duet. Both are used to trigger animations; the difference is which command is sent. SQZIN sends the CTRL-ANIMATE command, and SQZOUT sends the V/5/15 command, which can
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 10 of 12
trigger animations as well. Both commands are provided to accommodate differences between users’ pages.
Combo Cue/Play Secondary AV event:
In addition to the Secondary A/V Events outlined above, there is another supported event that performs both the Read and Animate functions with a single Secondary A/V Event. When the event is cued, the CNTL – READ command is sent to the device for the specified buffer and message number. When the event plays, the CNTL – ANIMATE command is sent. It is recommended to use this type of event with complex animations that take a long time to load, since the driver can detect when the page has loaded and show the corresponding status on the
Play List.
Below is an example of how the Combo Event can be used in conjunction with SQZOUT events on an Air Client Playlist:
In this example, Message 222 is loaded onto buffer number 1 when the 1/222 event cues. When it plays, the CTRL-ANIMATE command is sent, causing the timeline of the page to begin.
Assuming that there is are two pauses built into Message 222, the SQZOUT events will start the timeline again.
Differences (Duet 2C Driver vs. Duet LEX driver)
The following are the differences between the old Duet 2C Driver and the new combo event enhancement Supported by the Duet LEX driver. These enhancements are found in Device
Server version 11.0.0.1 and higher:
Previously for a combo event (i.e. 1/100 for load and play), the state became cued immediately after the load command was issued. Now the state is cued only after the message is actually loaded into the buffer.
It will now issue a device alarm if it tries to play before it is loaded (load time too short)
It will issue ‘missed’ alarm on the list for the same (load time too short)
It will not send the play command at all if the load time allowed is too short on the list.
This prevents confusing and possible crashing the Duet.
Between the times the load command is sent and the time the second return is back, there is no polling, since any commands sent to the device during load time could possible disrupt or confuse it.
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 11 of 12
Test Procedures
1. Ensure that the serial RS-422 cable is attached to both the server and the Duet LEX.
Power on the Duet LEX.
2. Bring up the ADC-100 software. When you finish configuring the Duet LEX on the device server, open the Device Status Window and verify that the device status is something other than NO DEV. If it is NO DEV then the device server and Duet LEX are not communicating. A status of NO COM indicates a failure of the ADC-100 serial port being used or non-existent. Verify that the cables are properly connected; the device is powered on, and have completed the configuration on the device server. If there is still no communication, verify that the signals are being sent and received through the RS-422 cable using a COM attached to the transmit and receive lines. There should be change in the voltage on these lines. An RS-422 analyzer may also be used in-line to verify communications.
3. Once the communication is established, load a Play List into the Transmission Window and see that you can play messages using the Duet LEX.
Error Conditions and Recovery
A communication failure is only detected with the Duet LEX when it is first brought on-line. This is either when the Duet LEX is first configured or when the ADC100 server is brought up. Therefore it is important to make sure that the Duet LEX is wired to the server before initializing the Duet
LEX. If the Duet LEX is brought up and does not communicate, then a device error will be displayed in the Error Window. To display the Error Window, press F4. Follow the procedure above if the device is not communicating. The Duet LEX status line in the device status window will display as NO DEV. When NO DEV appears with the Duet LEX, the user should check the serial cable between the ADC Device Server and the Duet LEX device.
Internal Document #
xxxxx
File
xxxxx
© 2014 Imagine Communications Corp. Proprietary and Confidential 9-December-2014| Page 12 of 12
Pakua
Tangazo