
VISCA over IP using the full Sony VISCA protocol
All Avonic cameras are capable of being controlled using the UDP Sony version of VISCA consisting of long VISCA
commands, including headers and message counters. The advantage of using this version of VISCA is the fact
that the camera responds with the same header
counter
as was used in the command. This makes it possible to
match each response to each command sent. This is especially helpful when programming automated camera
control systems.
For the following example Hercules SETUP utility is used to recall preset 1 using VISCA. Follow the
instructions below:
1.
Set the local port and camera port. Both must be set to
52381
. Any other port won't work!
The camera will send its answers back to the port that was used to send the command (port 52381).
Make sure that you have your
sent and receive
window set to display HEX data.
In the example below the camera is switched between:
• Preset 1: VISCA command 81 01 01 3F 02 01 FF and
• Preset 2: VISCA command 81 01 01 3F 02 02 FF
1.
Type the command in the
Send
box. The command consists of the
(camera) address
, marked in
blue and 7 bytes marked in red. This means that the complete VISCA command looks like this:
• Preset 1: VISCA command 01000007000000018
1
0101F0201FF
• Preset 2: VISCA command 0100000700000005810
1
013F0202FF
The Visca over IP header consists of the 3rd and 4th bytes of the complete header. They indicate length of the
payload (VISCA command). At this point, the value can vary depending on what VISCA command is sent. Using
the example of
Preset Recall 1
from above:
• 01000007000000018
1
01013F0201FF
the 4th byte is ‘7' meaning the payload of the VISCA command is 7 bytes.
Another point in the header is the message counter possibility on the 8th byte, in this instance it’s ‘1'. On the
second command where
Preset 2
was recalled, the message counter was set to '5’.
1.
Click on
Send
. If you have done this correct, you should get the same as on the picture below:
58
Содержание CM70-IP
Страница 68: ...APPENDIX B DIMENSIONS 68...