Owner manual
1 Introduction
This manual details the protocol used to remotely control your SP-14 image processor, where pseudo
code clarifies the protocol that has been included.
2 Communication Ports
The AV API protocol provides remote control functionality of units via RS232 and Ethernet.
2.1 RS232
The RS232 port is a 9-pin female connector. It is a three wire connection: RX, TX and ground.
The unit has the following serial port settings:
baud rate 9600
parity none
data bits 8
stop bits 1
2.2 Ethernet
The ethernet connector is a RJ45 and runs at 10Mb/s.
To connect using ethernet the following settings are required.
IP Address User Selectable / from DHCP
Subnet Mask/Extended Network Prefix User Selectable / from DHCP
Port Number 30001
The user may choose to obtain the IP Address, subnet mask and extended network prefix from DHCP
or set them statically using the front panel (or GUI when available). The factory default is to obtain
them from the DHCP server.
2.3 Timing Constraints
After sending the request packet and before receiving the reply packet it is necessary to have a delay.
The following table provide a list of delays for specific parameters. For parameters not in the table the
delay should be 10 milliseconds. Failing observe this wait may have adverse effects on the unit,
causing lock-ups and data corruption requiring at least a power cycle and possibly a factory reset.
Parameter
Identifier
Delay
avPar_pan 250 ms
avPar_tilt 250 ms
avPar_zoomX 250 ms
avPar_zoomY 250 ms
avPar_outputWndEdgeLeft 250 ms
avPar_outputWndEdgeRight 250 ms
avPar_outputWndEdgeTop 250 ms
avPar_outputWndEdgeBottom 250 ms
avPar_aspectRatioWidth 10 ms
avPar_aspectRatioHeight 10 ms
avPar_outputPictWarpTLX 250 ms
avPar_outputPictWarpTLY 250 ms
avPar_outputPictWarpTRX 250 ms
avPar_outputPictWarpTRY 250 ms
avPar_outputPictWarpBLX 250 ms
avPar_outputPictWarpBLY 250 ms
avPar_outputPictWarpBRX 250 ms
avPar_outputPictWarpBRY 250 ms
avPar_saturation 50 ms
avPar_hue 50 ms
avPar_chCurr_pipPosX 50 ms
avPar_chCurr_pipPosY 50 ms