Solved

EVI-D31,  VISCA protocol

Posted on 1998-12-01
3
2,340 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
ID: 1013324
Adjusted points to 200
0
 
LVL 3

Accepted Solution

by:
mitrakis earned 200 total points
ID: 1013325
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
ID: 5449401
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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