Avitech Rainier 3G Plus User manual

Reference Guide
Avitech ASCII X Commands
(For Rainier 3G)
Revision 1.0.0, (December, 2013)

Reference Guide
ii
ABOUT THIS REFERENCE GUIDE
This reference guide contains information about how to use the Avitech ASCII Protocol (AAP) of Rainier 3G.
Throughout the reference guide the following conventions are used to distinguish elements of text.
provide additional hints or information that requires special attention.
identify warnings which must be strictly followed.
Any name of a menu, command, icon or button on the screen is shown in a bold typeset. For example: On the Start
menu select Settings.
To assist us in making improvements to this reference guide, we would welcome any comments and constructive
criticism. Please send all such – in writing to: sales@avitechvideo.com.
WARNING
Do not attempt to disassemble the Avitech device(s). Doing so may void the warranty. There are no serviceable
parts inside. Please refer all servicing to qualified personnel.
TRADEMARKS
All brand and product names are trademarks or registered trademarks of their respective companies.
COPYRIGHT
The information in this reference guide is subject to change without prior notice. No part of this document may be
reproduced or transmitted in any form or by any means, electronic or mechanical for any purpose, without the
express written permission of Avitech International Corporation. Avitech International Corporation may have
patents, patent applications, trademarks, copyrights or other intellectual property rights covering the subject matter
in this document. Except as expressly written by Avitech International Corporation, the furnishing of this document
does not provide any license to patents, trademarks, copyrights or other intellectual property of Avitech International
Corporation or any of its affiliates.
TECHNICAL SUPPORT
For any questions regarding the information provided in this guide, call our technical support help line at
425-885-3863, or our toll free help line at 1-877-AVI-TECH, or email us also at support@avitechvideo.com

iii
Contents
About This Reference Guide ................................................................................................... ii
Warranty.................................................................................................................................... iv
Limitation of Liability............................................................................................................... iv
Extended Warranty Options.................................................................................................... iv
Services and Repairs Outside the Warranty Period............................................................. iv
Regulatory Information ........................................................................................................... iv
Federal Communications Commission (FCC) Statement.................................................... iv
European Union CE Marking and Compliance Notices ....................................................... iv
Australia and New Zealand C-Tick Marking and Compliance Notice ................................. iv
1. ASCII X Command......................................................................................................... 1
1.1 ASCII X Command Format................................................................................................1
1.2 Preparing to Use ASCII X Commands .............................................................................2
1.2.1 Connection through Ethernet Port ......................................................................2
1.2.2 Connection through Serial Port...........................................................................4
1.3 Entering the ASCII X Command Interface.......................................................................5
1.4 ASCII X Command Summary............................................................................................5
Appendix A Using the ASCII Test Utility ...................................................................... 14
Appendix B ASCII X Command Through TCP/IP Programming................................. 16
B.1 Starting TCP Connection ................................................................................................16
B.2 Connection is Successful...............................................................................................16
B.3 Connection is Not Successful........................................................................................17
B.4 Maintaining TCP Connection..........................................................................................17
B.5 Command Protocol..........................................................................................................18
B.6 Error Codes ......................................................................................................................19
B.7 Packing ASCII X Command to Binary Command Format............................................20
B.7.1 Example................................................................................................................20

iv
Warranty
Avitech International Corporation (herein after referred to as “Avitech”)
warrants to the original purchaser of the products manufactured in its
facility (the “Product”), that these products will be free from defects in
material and workmanship for a period of 1 year or 15 months from the
date of shipment of the Product to the purchaser. There is a 3 month
grace period between shipping and installation.
If the Product proves to be defective during the 1 year warranty period,
the purchaser’s exclusive remedy and Avitech’s sole obligation under
this warranty is expressly limited, at Avitech’s sole option, to:
(a) repairing the defective Product without charge for parts and labor;
or (b) providing a replacement in exchange for the defective Product;
or (c) if after a reasonable time is unable to correct the defect or
provide a replacement Product in good working order, then the
purchaser shall be entitled to recover damages subject to the limitation
of liability set forth below.
Limitation of Liability
Avitech’s liability under this warranty shall not exceed the purchase
price paid for the defective product. In no event shall Avitech be liable
for any incidental, special, or consequential damages, including
without limitation, loss of profits for any breach of this warranty.
If Avitech replaces the defective Product with a replacement Product
as provided under the terms of this Warranty, in no event will the term
of the warranty on the replacement Product exceed the number of
months remaining on the warranty covering the defective Product.
Equipment manufactured by other suppliers and supplied by Avitech
carries the respective manufacturer’s warranty. Avitech assumes no
warranty responsibility either expressed or implied for equipment
manufactured by others and supplied by Avitech.
This Warranty is in lieu of all other warranties expressed or implied,
including without limitation, any implied warranty of merchantability or
fitness for a particular purpose, all of which are expressly disclaimed.
This Hardware Warranty shall not apply to any defect, failure, or
damage: (a) caused by improper use of the Product or inadequate
maintenance and care of the Product; (b) resulting from attempts by
other than Avitech representatives to install, repair, or service the
Product; (c) caused by installation of the Product in a hostile operating
environment or connection of the Product to incompatible equipment;
or (d) caused by the modification of the Product or integration with
other products when the effect of such modification or integration
increases the time or difficulties of servicing the Product.
Any Product which fails under conditions other than those specifically
covered by the Hardware Warranty, will be repaired at the price of
parts and labor in effect at the time of repair. Such repairs are
warranted for a period of 90 days from date of reshipment to customer.
Extended Warranty Options
Avitech offers OPTIONAL Extended Warranty plans that provide
continuous coverage for the Product after the expiration of the
Warranty Period. Contact an Avitech sales representative for details
on the options that are available for the Avitech equipment.
Services and Repairs Outside the Warranty Period
Avitech makes its best offer to repair a product that is outside the
warranty period, provided the product has not reached its end of life
(EOL). The minimum charge for such repair excluding shipping and
handling is $200 (US dollars).
AVITECH INTERNATIONAL CORPORATION
●15377 NE 90th Street Redmond, WA 98052 USA
●TOLL FREE 1 877 AVITECH
●PHONE 1 425 885 3863
●FAX 1 425 885 4726
●http://avitechvideo.com
Regulatory Information
Marking labels located on the exterior of the device indicate the
regulations that the model complies with. Please check the marking
labels on the device and refer to the corresponding statements in this
section. Some notices apply to specific models only.
Federal Communications Commission (FCC) Statement
This equipment has been tested and found to comply with the limits for
a Class A digital device, pursuant to Part 15 of the FCC Rules. These
limits are designed to provide reasonable protection against harmful
interference when the equipment is operated in a commercial
environment. This equipment generates, uses, and can radiate radio
frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio
communications. Operation of this equipment in a residential area is
likely to cause harmful interference, in which case the user will be
required to correct the interference at his own expense. Properly
shielded and grounded cables and connectors must be used in order
to meet FCC emission limits. Avitech is not responsible for any radio or
television interference caused by using other than recommended
cables and connectors or by unauthorized changes or modifications to
this equipment. Unauthorized changes or modifications could void the
user's authority to operate the equipment. Operation is subject to the
following two conditions: (1) this device may not cause harmful
interference, and (2) this device must accept any interference
received, including interference that may cause undesired operation.
European Union CE Marking and Compliance Notices
Statements of Compliance
English
This product follows the provisions of the European Directive
1999/5/EC.
Dansk (Danish)
Dette produkt er i overensstemmelse med det europæiske direktiv
1999/5/EC.
Nederlands (Dutch)
Dit product is in navolging van de bepalingen van Europees Directief
1999/5/EC.
Suomi (Finnish)
Tämä tuote noudattaa EU-direktiivin 1999/5/EC määräyksiä.
Français (French)
Ce produit est conforme aux exigences de la Directive Européenne
1999/5/EC.
Deutsch (German)
Dieses Produkt entspricht den Bestimmungen der Europäischen
Richtlinie 1999/5/EC.
Ελληνικά (Greek)
To προϊόν αυτό πληροί τις προβλέψεις της Ευρωπαϊκής Οδηγίας
1999/5/EC.
Íslenska (Icelandic)
Þessi vara stenst reglugerð Evrópska Efnahags Bandalagsins númer
1999/5/EC.
Italiano (Italian)
Questo prodotto è conforme alla Direttiva Europea 1999/5/EC.
Norsk (Norwegian)
Dette produktet er i henhold til bestemmelsene i det europeiske
direktivet 1999/5/EC.
Português (Portuguese)
Este produto cumpre com as normas da Diretiva Européia 1999/5/EC.
Español (Spanish)
Este producto cumple con las normas del Directivo Europeo
1999/5/EC.
Svenska (Swedish)
Denna produkt har tillverkats i enlighet med EG-direktiv 1999/5/EC.
Australia and New Zealand C-Tick Marking and
Compliance Notice
Statement of Compliance
This product complies with Australia and New Zealand's standards for
radio interference.

1
1. ASCII X Command
The Rainier 3G supports the ASCII X command prompt interface through serial port (RS-232) and
Ethernet port (IP).
This chapter discusses using the Avitech ASCII Protocol (AAP) of Rainier 3G.
Before using ASCII X command, make sure to set Normal at Serial Port Mode in the Phoenix-Q utility
Properties portion.
Figure 1-1 Phoenix-Q Utility: Serial Port ModeÆNormal
1.1 ASCII X Command Format
The ASCII X command is comprised of the following parts:
Header Group/Module/Window Assignment Parameter 1 Parameter 2 …
Figure 1-2 Parts of ASCII X Command
The following is a list of rules to follow when entering the ASCII X command:
It is acceptable to enter commands in small or capital letters and the five columns are separated
by a space.
Header = x+ command character.
Group/Module/Window assignment (GGGMMMPPP) =
9Group = is comprised of the first three digits (001~099), “000” is used to pertain to all
groups.

2
9Module = is comprised of the middle three digits (001~099), “000” is used to pertain to all
modules.
9Window Assignment = is comprised of the last three digits (001~097), “000” is used to
pertain to all window assignments, “098” is used to pertain to logo and “099” is used to
pertain to clock.
Parameter 1 = for advance setting of each X command.
1.2 Preparing to Use ASCII X Commands
Before using the ASCII X command via the RS-232 interface, make sure that the COM (RS-232) port on
the computer is set at Normal (8-bit data, 1 stop bit, no parity, and no flow control). The default
baud rate is 57600 bps (configurable).
1. Use Avitech Phoenix-Q utility to perform advance configuration before using ASCII X commands.
2. For more details about Phoenix-Q utility, refer to the Phoenix-Q user manual.
1.2.1 Connection through Ethernet Port
Step 1. Open the Phoenix-Q utility, click System
Æ
Communication.
Figure 1-3 Phoenix-Q Utility: SystemÆCommunication
This operation is not available when the computer is connected to the Rainier 3G multiviewer.

3
Step 2. Make sure to specify the correct IP address of selected Rainier 3G, and click Add to List to
continue.
Figure 1-4 Phoenix-Q Utility: Enter IP Address
Step 3. Click Apply to activate the setting and click Cancel to exit Phoenix-Q utility.

4
1.2.2 Connection through Serial Port
Step 1. Open the Phoenix-Q utility. Click System
Æ
Communication.
This operation is not available when computer is connected to the Rainier 3G multiviewer
Step 2. Make sure to specify the same COM port setting as controlling computer.
Figure 1-5 Phoenix-Q Utility: Select COM Port
Step 3. Select the correct Baud Rate for controlling computer.
Figure 1-6 Phoenix-Q Utility: Select Baud Rate

5
Step 4. Click Change Connection Properties to select Baud Rate for the Rainier 3G Serial Port and
click OK to exit.
Step 5. Click Apply to activate the setting and click Cancel to exit the Phoenix-Q utility.
1.3 Entering the ASCII X Command Interface
The following two methods allow you to enter and execute ASCII X commands:
9ASCII Test utility (refer to Appendix A for details)
9Through TCP/IP programming (refer to Appendix B for details)
1.4 ASCII X Command Summary
The following is a list of ASCII X commands:
XA
Function Set the automatic arrangement of windows.
Format XA GGGMMMPPP [NbyN(2(2×2),3(3×3),……)] [Nth(1,2,……) position
of window]
Example
XA 001009000 2 1
set group 1 module 9 to a 2×2 map position 1,2,3,4 (quad).
XA 001002002 3 2
place group 1 module 2 window 2 to a 3×3 map position 2.
XA 001002000 6 13
place group 1 module 2 to a 6×6 map position 13,14,15,16.
XA 001000000 2 1
set group 1’s all modules to quad.
XA 001000000
automatically arrange all windows in group 1 to the optimum size and
position.
XA 000000000
automatically arrange all groups’ windows to the optimum size and
position.
Table 1-1 XA Command
XB
Function Turn on/off blinking of border or label.
Format XB GGGMMMPPP B[order]/L[abel] 1(on) / 0(off)
Example
XB GGGMMMPPP L 0
set GGGMMMPPP to turn blinking label off.
XB GGGMMMPPP B 1
set GGGMMMPPP to turn blinking border on.
Table 1-2 XB Command

6
XC
Function
Set the border of the window (with/without dimming effect), clock, label’s
background, and text color.
B[order] to signify the border of the window.
L[abel] to signify the label’s background color.
[NoDimColor] to signify the border’s dimming effect. Add [NoDimColor] to
remove the border’s dimming effect. Just enter NDC to signify
NoDimColor.
Format
XC GGGMMMPPP (when PPP is 099 = clock) B[order]/L[abel
background]/T[ext] RRRGGGBBB (red ratio 000–255, green ratio
000–255, blue ratio 000–255) (NoDimColor)
Example
XC 001001001 B 000255000
set the border color of group 1, module 1, window 1, as green with
dimming effect.
XC 002002002 B 255000000 ndc
set the border color of group 2, module 2, window 2, as red but without
dimming effect.
XC 003003003 L 000000255
set the label background color of group 3, module 3, window 3, as blue
with dimming effect.
XC 002002099 B 255000255
set the digital clock border color of group 2, module 2, as pink.
XC 001001099 L 255000255
set the clock label background color of group 1, module 1, as pink.
Table 1-3 XC Command
XF
Function Turn on/off the video window’s full screen mode.
Format XF GGGMMMPPP full screen mode 1(on) / 0(off)
Example
XF 001001004 1
set group 1, module 1, window 4, to full screen mode display.
XF 001001004 0
disable full screen mode for group 1, module 1, window 4, and revert it
back to its former display size.
Table 1-4 XF Command
XI
Function Set the input channel for the video window.
Format XI GGGMMMPPP (where PPP is 1–4= window) [video input source 1–8
channel]
Example XI GGGMMM000 1
set GGGMMM all windows to have channel 1 as the input source.
Table 1-5 XI Command

7
XK
Function 1 Set the time and method of counting (free run mode only). “000” is the
fixed value for PPP in XK command.
Format XK GGGMMMPPP P[reset] S[et]/L[oad] Preset ID (1–8) HH MM SS
Example
XK GGGMMMPPP P S 1 11 22 33
sets GGGMMMPPP’s preset time ID1 = 11:22:33.
XK GGGMMMPPP P L 1
sets GGGMMMPPP’s time to be the same as preset time of ID1.
Function 2
Broadcast the master clock’s time. Moving video is composed of a
number of frames transmitted every second that combine in the viewer’s
mind to create the illusion of movement. The nominal rate for film is 24
frames per second, while the rate for video is 30 frames per second.
Format XK GGGMMMPPP B[roadcast] HH[our] MM[inute] SS[econd] FF[rame
number]
Example
XK GGGMMMPPP B 11 22 33 00
sets GGGMMMPPP to broadcast (sync) the master clock’s time as
11:22:33:00.
Function 3 Select the clock input (source) and set the format for control.
Format
XK GGGMMMPPP S[ource] 0(RTC) / 1(SNTP) / 2(LTC) / 3(free run –
use current time as timer source) / 4(sync to master) [HH MM SS] 0
(count up) / 1(count down) [counting method – free run mode only] 0
(hide frame number) / 1(show frame number) [LTC or sync to master
mode only]
Example
XK GGGMMMPPP S 3 1
sets GGGMMMPPP free run as time source and count down as counting
method.
XK GGGMMMPPP S 0
sets GGGMMMPPP RTC as time source.
XK GGGMMMPPP S 2 1
sets GGGMMMPPP LTC as time source and show frame number.
Function 4 Set the calibration time and sync time to master module.
Format XK GGGMMMPPP C[alibrate] [time period] (in seconds) [0(do not sync
time to master module) / 1(sync time to master module)]
Example
XK GGGMMMPPP C 3600 0
execute calibration in 3,600 seconds and do not sync clock to master
module.
XK GGGMMMPPP C 60 1
execute calibration in 60 seconds and sync clock to master module.
Function 5 Turn on/off the clock display (includes when in full screen mode) and set
the clock’s transparency to background.
Format
XK GGGMMMPPP O[n/off] [clock display 0(off) / 1(on)] [when in full
screen mode 0(clock is off) / 1(clock is on)] [digital clock to background 0
(fully transparent) to 8(not transparent)]
Example
XK GGGMMMPPP O 1 1 0
sets GGGMMMPPP to display the digital clock, clock is on when in full
screen mode, and set to full transparency.
XK GGGMMMPPP O 0 0 0
sets GGGMMMPPP to turn off the clock.

8
XK
Function 6
Turn on/off daylight saving time and adjust the clock’s time zone ID.

9
XK
Format
XK GGGMMMPPP D[aylight saving time] 0(off) / 1(on) [time zone ID]
Note: Before setting daylight saving time/time zone ID, set RTC (0) as the
time source (refer to function 3 above).
Example
XK GGGMMMPPP D 1 32
turn on GGGMMMPPP’s daylight saving time, and set Bucharest as the
clock’s time zone.
XK GGGMMMPPP D 1 59
turn on GGGMMMPPP’s daylight saving time, and set Taipei as the
clock’s time zone.
XK GGGMMMPPP D 0
turn off GGGMMMPPP’s daylight saving time.
Function 7 Select the digital or analog clock display mode.
Format XK GGGMMMPPP A[nalog] 1(on = analog clock mode) / 0(off = digital
clock mode) 1–5[analog clock bitmap ID display mode]
Example
XK GGGMMMPPP A 1 2
sets GGGMMMPPP to use the analog clock bitmap ID #2 display mode.
XK GGGMMMPPP A 0
set GGGMMMPPP to use the digital clock display mode.
Function 8 Set the RTC timer’s 24-hour clock format.
Format XK GGGMMMPPP R[TC] HH[our] MM[inute] SS[econd]
Example XK GGGMMMPPP R 11 22 33
set GGGMMMPPP RTC timer as 11:22:33.
Table 1-6 XK Command
XL
Function Set the label’s text, font size, and position inside/outside video.
Format
XL GGGMMMPPP (when PPP is 099 = clock) “TEXT” (label text string 32
ASCII characters maximum) [font size = 0(maintain current size and label
inside video) / 1–4(font size and label inside video) / 128 (maintain current
size and label outside video) / 129–132 (equivalent to font size 1–4 and
label outside video)]
Example
XL 000000000 “ CNN News Station ”
set all windows labels with text “ CNN News Station ”
XL 000000000 3
set all windows labels with font size 3.
XL 001002099 3
set group 1, module 2 clock’s label with font size 2.
XL 000000000 “ CNN News Station ” 128
set all windows labels with text “ CNN News Station ”and label outside
video.
Table 1-7 XL Command

10
XM
Function
Change the output resolution, the resolution number refers to the list of
resolutions that Rainier 3G supports.
Format
XM GGGMMMPPP ## (resolution number) 1(normal) / 0(VESA) output
timing. For XM command, only GGG is used. MMM and PPP are not
applicable.
Example
XM 001000000 10 0
set all the modules in group 1 to display at 1600×1200 resolution at 60Hz
vertical frequency, and VESA output timing mode.
XM 000000000 9 1
set all the modules in all the groups to have a 1280×1024 resolution at
60Hz vertical frequency, and normal output timing mode.
Table 1-8 XM Command
XN
Function
Turn on/off the alarm, border, AFD, label, meter, aspect ratio, safe area,
user logo in foreground, video format display, and window. Option I[nfo
AFD] allows the addition of AFD ID (active format description
identification) into video format string.
Format
XN GGGMMMPPP (when PPP is 099 = clock; 098 = user logo) (A[larm]/
B[order]/I[nfo AFD]/L[abel]/M[eter]/R[atio aspect]/S[afe area]/U[ser logo
in foreground]/V[ideo format display]/W[indow]) 1(on) / 0(off)
Example
XN GGGMMM099 W 0
turn GGGMMM clock off.
XN GGGMMMPPP B 1
turn GGGMMMPPP border on.
Table 1-9 XN Command
XO
Function
Set the audio output. PPP can only be 000, when outputting to a
particular window and particular channel’s audio; it will be based on the
device’s saved setting. When it cannot be determined then enter the
value directly.
Format 1
For initializing the audio and setting the window’s meter source:
XO GGGMMMPPP I[nitialize] 1–4(Lgroup – for SDI input’s embedded
audio, group 1–4) 1–4(Rgroup – for SDI input’s embedded audio, group
1–4) / 5(or AES) 1(VU ballistics) / 2(PPM)
Note: DO NOT select the same SDI group number for Lgroup and
Rgroup.

11
XO
Example XO GGGMMMPPP I 1 5 1
set GGGMMMPPP Lgroup = 1 Rgroup = AES and VU ballistics.
Format 2
For setting the control board’s S/PDIF audio output:
XO GGGMMMPPP O[utput] [select 1(main board S/PDIF) / 2(control
board cascade S/PDIF)] [source 0(mute) / 1(cascade video) / 2(analog
audio to digital converter / AES) / 3(window 1) / 4(window 2) / 5(window
3) / 6(window 4)] [channel number 1/2/3/4] [sound 1(stereo) / 2(mono
right) / 3(mono left)]
Example
XO 002002000 O 1 3 2 1
set the audio output of group 2, module 2 to select main board S/PDIF,
source from window 1, channel 2, and stereo sound.
XO 002002000 O 2
set the audio output of group 2, module 2 to select the control board
cascade S/PDIF
Table 1-10 XO Command
XP
Function
Load a previously saved preset or save current layout to a preset. Load or
save latest configuration to system files (“Latest” and “Module.sys”). If the
filename is not specified when saving the file, system will not backup the
file into flash memory.
Format XP GGGMMMPPP L[oad] / S[ave] filename.GP# / Latest (“Latest”
system file / LatestAll (both “Latest” and “Module.sys” system files)
Example
XP 001000000 L Group 1.GP1
set all the modules in group 1 to load the previously saved Group 1.GP1
preset file
Note: Input of filename is not case-sensitive.
XP 002000000 S Group 2.GP2
save the current layout of all modules in group 2 to a preset file Group
2.GP2
XP 001000000 S LatestAll
save the current layout of all modules in group 1 into “Latest” and
“Module.sys” system files.
Table 1-11 XP Command
XR
Function Lock and adjust the aspect ratio. AFD stands for Active Format
Description.
Format
XR GGGMMMPPP [0(off) / 1(automatic aspect ratio on and use the
manual aspect ratio value) / 3(video embedded AFD aspect ratio on) / 5
(use the manual aspect ratio and set window size to fit aspect ratio) / 7
(use the video embedded AFD aspect ratio and set window size to fit
aspect ratio)] [SD video (width ratio) (height ratio)] [HD video (width ratio)
(height ratio)]

12
XR
Example
XR GGGMMM001 1 4 3 16 9
set GGGMMM001 SD video ratio as 4:3, HD video ratio as 16:9.
XR 000000000 1 16 9 4 3
set all windows’ SD video ratio as 16:9, HD video ratio as 4:3.
XR GGGMMMPPP 1 7 12 7 12
set GGGMMMPPP’s SD and HD video ratio as 7:12.
XR GGGMMMPPP 0
disable the function.
XR GGGMMMPPP 7
set the AFD aspect ratio on and set the window size to fit this aspect ratio.
Table 1-12 XR Command
XS
Function
Set the label or meter’s transparency. All windows will share the same
label transparency setting. That is, upon changing one window’s label
transparency, all other window’s label transparency will also be changed
simultaneously.
Format XS GGGMMMPPP [L[abel] / M[eter)] [0(fully transparent) – 8(not
transparent)]
Example
XS 001002000 L 8
set all window labels of group 1, module 2 to no transparency.
XS 001000000 M 3
set all modules’ meter in group 1 to transparency level 3.
Table 1-13 XS Command
XT
Function Turn on or off the tally for a window or all the windows in a group.
Format XT GGGMMMPPP [0is all tally / 1–3= tally 1–3] 1(on) / 0(off)
Example
XT 001002003 2 1
activate tally 2 for window 3 in module 2 for group 1.
XT 001000000 0 0
close tally for all windows of all modules for group 1.
Table 1-14 XT Command
XU
Function
Set the umd (under monitor display) label’s text string. “000” is the fixed
value for PPP in XU command.
Note: Make sure to set the Phoenix-Q Utility Properties portion’s
Label/Display Type to UMD before using the XU command.
Format
XU GGGMMMPPP [0is all video input ports / 1–8= video input port
number] "TEXT" (always center-aligned, supports ASCII characters only –
include the quotation marks)
Example
XU 001002000 2 “UMD Label”
set group 1, module 2, use video input port number 2, umd label’s text
string as "UMD Label."
Table 1-15 XU Command

13
XV
Function Set the S/PDIF audio’s volume level. “000” is the fixed value for PPP in
XV command.
Format XV GGGMMMPPP 1(on) / 0(off) [percentage of volume level 0–399]
Example
XV GGGMMM000 0
turn GGGMMMPPP’s S/PDIF audio to mute.
XV GGGMMM000 1 50
turn GGGMMMPPP’s S/PDIF audio volume to half of input.
XV GGGMMM000 1 100
turn on GGGMMMPPP’s S/PDIF audio volume (maintain level).
XV GGGMMM000 1 200
turn GGGMMMPPP’s S/PDIF audio volume to double of input.
XV GGGMMM000 1 300
turn GGGMMMPPP’s S/PDIF audio volume to triple of input.
XV GGGMMM000 1 399
turn GGGMMMPPP’s S/PDIF audio volume to nearly quadruple of input.
Table 1-16 XV Command
XW
Function
Set the window’s position and size. Both position (Xand Y) and size
[W(idth) and H(eight)] are expressed in pixel unit. Size entry [W(idth) and
H(eight)] is optional. For the user logo, only the position parameters (X
and Y) are used. To prevent distortion on the window's image (for
"interlaced" input signal), make sure the height of the image (excluding
label and border) IS NOT smaller than one-half of the vertical active
region of input source (e.g., if resolution is set at 1080i 50Hz then the
image’s height must not be less than 540 pixels).
Format
XW GGGMMMPPP (when PPP is 099 = clock; 098 = user logo / 1–4=
video window number) Xposition Yposition W(idth) H(eight)
Note:
1. 000 for PPP cannot be used to pertain to all window assignments.
A valid window ID must be assigned (001–004).
2. When PPP is 099 (clock) or PPP is 098 (user logo) then H(eight) has no
function.
Example
XW GGGMMMPPP 100 200 960 540
set GGGMMMPPP at (100,200) top-left position and (960,540) width,
height.
Table 1-17 XW Command

14
Appendix A Using the ASCII Test Utility
A proprietary Avitech ASCII Test utility can simplify the creation of BIN file, loading of previously saved
BIN file, as well as generating two types of text files (for use on third-party programs).
To use the ASCII Test utility, perform the following steps:
Step 1. Double-click the “ASCII_Test.exe” file.
Step 2. Click the “X ASCII” checkbox.
Figure A-1 ASCII Test Utility: Click “X ASCII” Checkbox
Step 3. Enter the correct IP address assigned to your Avitech device.
Step 4. Click Connect.
Step 5. Type XL 000000000 3 (set all windows labels with font size 3) in Command window.
Step 6. Click Send.
Performing the below steps allows you to save often used X commands and load for later use.
Step 7. Click to generate and save the XL 000000000.bin file for re-use or use with
third-party utility.
Step 8. Click to load previously saved Bin file. XL 000000000 3 would automatically
appear in the Command window. Then click Send.
Step 9. Click to generate the sample (first type) binary text string (text file) below
for use with a third-party utility.
Figure A-2 Sample Binary Text String – (First Type)

15
Step 10.Click to generate the sample (second type) binary text string (text file)
below for use with a third-party utility.
Figure A-3 Sample Binary Text String – (Second Type)

16
Appendix B ASCII X Command Through TCP/IP
Programming
B.1 Starting TCP Connection
Step 1. Obtain IP address of device to connect to.
Step 2. Use this IP address to effect TCP connection with device. Upon establishing connection, device
will send out a successful connection message. Message will include Frame ID.
9During PC software communication with control board firmware via TCP, control board firmware
functions as TCP server while PC software functions as TCP client.
Take note of the following TCP communication properties:
– TCP port number is fixed at 20036.
– TCP server’s control board firmware can allow simultaneous connection to 3 TCP client
(maximum).
9Initially upon establishing connection between TCP server’s control board firmware and TCP client,
TCP server will acknowledge successful connection or failure. TCP client must then make the
appropriate response.
B.2 Connection is Successful
Control board will reply to TCP client using below 17-bytes message:
0xA5 0x5A 0xAA 0x55 0x11 0x00 0x00 0x01 0x80 0x01 0x00 0x00 (FrameID) (~FrameID)
Machine_Type MB_Exist_Flag SocketID (17 bytes)
Above message is comprised of the following parts:
Byte 0~3: Header is fixed at 0xA5 0x5A 0xAA 0x55.
Byte 4~5: Return message length is 0x11 0x00 (use “little-endian” expression), this means that
length of message is 17 bytes.
Byte 6: field is reserved for control board firmware use only, TCP client should ignore this field.
Byte 7~8: is Command ID, it is fixed at 0x01 0x80.
Byte 9: is “Ack” field, when fixed at 0x01 this means that TCP connection is successfully
established.
Byte 10~11: is fixed at 0x0000.
Byte 12: Frame ID.
Byte 13: bit inverse of Frame ID.
Byte 14: Machine type: 0 = Rainier 3G 1 = Rainier 3G Quad 2 = Rainier 3G Plus / Titan 9000
Byte 15: MB existence flag: 0 = MB does not exist 1 = MB do exist
bit[0:3]: MB1 ~ MB4 existence flag
Other manuals for Rainier 3G Plus
3
Table of contents
Other Avitech Monitor manuals