background image

HDG-4000 ANALOG/DIGITAL VIDEO CALIBRATION GENERATOR          SERIAL INTERFACE MANUAL 

 

 

 

 

 
 
 

 

Serial Protocol 

The USB port emulates an RS-232 connection, so the computer (controller) must 
be set to the proper Com Port protocols when using the RJ-12 RS-232 port or the 
USB port. The controller (computer) should be set to 8 bits, no parity, and 1 stop 
bit. It must also be set to match the HDG-4000 baud rate, which can be selected 
from 9600 baud to 230.4K baud in the OSD menu. Xon/Xoff flow control, or no 
flow control for the RS-232 port can be selected in the OSD menu, and DTS/RTS, 
Xon/Xoff, or no flow control can be selected for the USB port.  

Note: It is often easier to start with a slow baud rate (e.g. 19200 baud) and no flow 
control when initially setting up a connection. The high baud rates of the HDG-
4000 are primarily for use when adding new features through firmware updates. 
Slower baud rates (e.g. 19200 or 9600 baud) are perfectly adequate in normal 
use, and will permit very long connections (50-100 ft or more) over inexpensive 4-
wire telephone cables. 

HDG-3000 Compatibility  

Programs previously written for the HDG-3000 Video Generator may only support 
9600 baud, which was the only baud rate available in the HDG-3000.  

HDG-4000 Command Syntax 

The HDG-4000 accepts ASCII text commands. Each command is 2 to 12 
characters in length and must be followed by a carriage return (CR) character 
(ASCII 13). You may not send multiple commands with a single CR. Partial 
command strings are not valid. 

Capital and non-capital characters are accepted, i.e. a = A, B= b. 

All spaces and line feed (LF) characters are ignored. 

Confirmation and Error Messages 

The HDG-4000 will return “OK” (without quotes), followed by CRLF (ASCII 13, 
ASCII 10), after executing each valid serial interface command. 

If the HDG-4000 receives an unrecognized character string of 12 characters or 
less it will return “ER “ followed by the unrecognized character string, followed by 
CRLF. If more than 12 characters are received only the first 12 chars are returned 
in the error message, and the remaining characters are discarded. 

Query Commands 

Query commands end with a question mark (?). Query commands return one or 
more text strings (each 14 characters maximum), each followed by a CRLF. “OK” 
followed by CRLF will be returned after the last text string. 

To avoid a possible buffer overrun when sending multiple Query commands, wait 
for the “OK” response before sending the next Query command.  

Serial Protocol 
 

Serial Command  
Syntax 

“OK” Message 

“ER “ Message 

Query 
Commands 

Summary of Contents for HDG-4000

Page 1: ...HDG 4000 ANALOG DIGITAL VIDEO CALIBRATION GENERATOR SERIAL INTERFACE MANUAL AccuPel HDG 4000 Documentation Serial Interface Manual HDG 4000 Analog Digital Video Calibration Generator...

Page 2: ...HDG 4000 ANALOG DIGITAL VIDEO CALIBRATION GENERATOR SERIAL INTERFACE MANUAL AccuPel HDG 4000 Analog Digital Video Calibration Generator SERIAL INTERFACE MANUAL Preliminary Version 0 96...

Page 3: ...ONFIRMATION AND ERROR MESSAGES 4 7 QUERY COMMANDS 4 8 ANALOG EMBEDDED SYNC HV SYNC MODES 5 SERIAL INTERFACE COMMAND TABLES 6 OUTPUT COMMANDS 6 FORMAT COMMANDS 7 GROUP COMMANDS 8 PATTERN COMMANDS 9 SYN...

Page 4: ...using inexpensive standard 4 wire telephone cables in new installations 1 USB Port USB Driver To use the HDG 4000 USB port you must first download and install a USB Driver on your computer The USB dr...

Page 5: ...0 baud which was the only baud rate available in the HDG 3000 5 HDG 4000 Command Syntax The HDG 4000 accepts ASCII text commands Each command is 2 to 12 characters in length and must be followed by a...

Page 6: ...w several rules when the Format mode is changed between HD 720p 1080i 1080p and SD 480i 480p 576i 576p or the Output mode is changed between RGB RGBs and YPbPr YPbPrs The generator stores 4 states for...

Page 7: ...4 signals Same signal types as YPbPr command Analog RGB signals without 7 5 IRE setup Digital RGB video signals levels 16 235 Same signal types as RGB command Analog YPbPr signals with 7 5 IRE setup...

Page 8: ...HDG 4000 L2 only available on HDG 4000 L2 only available on HDG 4000 L2 only available on HDG 4000 L2 only available on HDG 4000 L2 only available on HDG 4000 L2 Only 480i or 576i are permitted in Y...

Page 9: ...100 Color Bars 100 Color Bars 100 Red Field 100 Green Field 100 Blue Field 100 Yellow Field 100 Cyan Field 100 Magenta Field 100 White Field User Color Field Special XHatch InvXHatch NeedlePulse CMul...

Page 10: ...cal Grayscale Bars 10 step Split Vertical Grayscale Bars 10 step Horizontal Grayscale Bars User Value Grayscale Window 10 1 or 100 9 Grayscale Window 20 2 or 101 8 Grayscale Window 30 3 or 102 7 Grays...

Page 11: ...Sync HD Analog HV Sync Position Analog RGB NormHDHVPos SyncPosFall SMPTEHDHVPos SyncPosRise Consumer Analog HV sync position default Don t use will be removed in the future SMPTE Analog HV sync posit...

Page 12: ...Command Notes User Field Value UvalField Send command wait for OK send integer text value from 0 to 109 ex UvalField CR OK 65 CR User Window Value UvalWindow Send command wait for OK send integer text...

Page 13: ...r matrix encoding Edge Transition Rates YFilterOff FastEdge YFilterOn SlowEdge Don t use will depreciate in future Fast video edges default Don t use will depreciate in future Slower video edges Outpu...

Reviews: