Solved

Controling Sony EVI-D31

Posted on 1998-03-21
8
953 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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
 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Downloading email attachments 2 79
Installshield for Embarcadero EX 10.1 Berlin 4 60
Twebbrowser add css to the header 3 27
Delphi android app hide keyboard 3 13
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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