Solved

EVI-D31,  VISCA protocol

Posted on 1998-12-01
3
2,301 Views
Last Modified: 2013-11-21
I have a Sony EVI-D31 camera. I want to control the movement of this camera with an application written in Visual Basic 5.
I have the command list for controlling the cam, but I don't know the VISCA protocol.
How do I initialize the communication?
It is neccesary to send any string before or after the command?

Thanks in advance for your colaboration,

Best regards

Sergio Preciado
TECISA'74
0
Comment
Question by:tecisa74
3 Comments
 

Author Comment

by:tecisa74
Comment Utility
Adjusted points to 200
0
 
LVL 3

Accepted Solution

by:
mitrakis earned 200 total points
Comment Utility
Hi,

the VISCA protocol was developed by SONY.
The most important thing to know is that each command is answered with an acknowledge (ACK) and after its completion the controller sends completion message (or error message).
In case you send an inquiry, an ACK is sent by the camera controller and after completion an inquiry message (or error message) is sent !

The command list you have IS the VISCA protocol =;-))
To start communication via COM-Port, just use a simple terminal program like "tera term pro".

(I just have the list for a EVI-G21 here, but this works also !)

Example:
- cam is connected to COM1
- switch cam on (let pan/tilt initialize until ready)
- from the terminal sent the following strings exactly as I post it here, to initialize camera

88 30 01 FF (sets the address of camera. If only 1 cam connected, address is 1)
88 01 00 01 FF (resets the command buffer of the EVI-D31

then, you can send almost every command or inquiry you want.

Another simple example, let us move the camera to the maximum left down position, with high speed:

81 01 06 02 7F 7F 0C 03 02 06 0E 01 09 03 FF

The contoller receives the command and immediately sends ACKNOWLEDGE or better:
90 41 FF (or 90 42 FF) it depends which command buffer has received the command

after completing the movement, the controller send completion:
90 51 FF (or 90 52 FF) see above for further info

if an error occured, you'll get:
90 60 xx FF where xx is an described error code.

I've already developed a remote control for exactly this camera =;-)
In addition to this, I wrote an applet to control it via internet.

If you wanna have a look on it, please visit:
http://bvlab12.fh-reutlingen.de

If you want further details, please contact me via email:
mitrakis@bvlab.fh-reutlingen.de

Best regards
-Stavi-
0
 

Expert Comment

by:qlong
Comment Utility
mitrakis ,can you tell me the list of the codes of EVI-D31 and connection level  between computer serial port and EVI-D31,example 1 to 1 or 1 to 6 .Now I want to write a programme with C++Builder to control the camera.Thank you!

0

Featured Post

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Join & Write a Comment

Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now