Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Controling Sony EVI-D31

Posted on 1998-03-21
8
Medium Priority
?
976 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 200 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: 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.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

877 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