Solved

Controling Sony EVI-D31

Posted on 1998-03-21
8
945 Views
Last Modified: 2008-02-01
We are trying to write a Delphi program to control the Sony EVI-D31 camera. We have a list of the codes but do not know how to output them to the camera. This is for an urgent project. Please help!!!!
0
Comment
Question by:jsutton290
  • 5
  • 2
8 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1360672
How is your camera connected to the computer? Have you got the protocol?
0
 

Author Comment

by:jsutton290
ID: 1360673
The camera is connected to the VISCA IN socket on the camera by a cable from COM2 on the PC. We have a complete listing of the control codes but we can not output them from the com port. We have tried a number of Delphi components but they only seem to work when outputting text strings. We need to output Hex values of the type $88010604FF. Any hints will be gratefully received.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1360674
I don't know, but have you tried comm-port component of M.Cocco? If this one doesn't work, we've to find something else...
E-mail: d3k@mdnet.it
URL   : http://www.mdlive.com/d3k/
Regards, Zif.
0
 

Author Comment

by:jsutton290
ID: 1360675
Hi Zif.
I am actually using Marco Coccos CommportDriver component and he has sent me some very good advice. I can now send commands to the camera and control its movement but I am having trouble capturing the cameras response to a Pan/Tilt enquiry command. The camera responds with an 11 byte code which I am trying to capture in an array. The problem arises because the camera responses are of different lengths. The only responses that I want to capture are 7 bytes and 11 bytes long, I want to ignore all the rest. I tried an array of fixed length but end up with the problem of different data packets from the camera overwriting the array positions when using an OnRXData event. I thought of using the ReadByte method (therefore avaoiding using the OnRXData event) but I am not sure how to use it. Any ideas?
Regards
John Sutton
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 8

Expert Comment

by:ZifNab
ID: 1360676
Great, you can communicate with the camera! So, problem is solved and I get the points and you ask a new question ............... ;-)))))))))))))))))))))))))))))
Just kidding, hope you don't mind, even if it's such bad humor.
Doesn't the camera sends an end character after each command send back?
I 've communicated also with a device and this one always sendend some bytes which defined the end (eg. #13#10#13). I used an ONData event and filled the recieved chars into a longstring. If I received a end string I knew this was the end and so I always had the correct command or result. So to give a comment on your question : How do you know when a data pack is ended and the rest of the bytes are the results of a knew command?

PS. What are you making? Can I see the result once?

Regards, ZiF.

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1360677
Hi jsutton290,

I don't hear anything from you anymore? What's the problem?
Is everything going all right?

Regards, Zif.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1360678
Hi jsutton290,

I'm answering this question, because I presume you solved your problem with using the component I proposed. If this isn't the case, just reject my answer and give a comment along... so we still can help you further....

Regards, Zif.
0
 

Expert Comment

by:qlong
ID: 5449381
jsutton290 ,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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

11 Experts available now in Live!

Get 1:1 Help Now