LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I control a DV camera through an IEEE-1394 connection from LabView?

Hi,

I am trying to control the "play", "pause", "stop" and "record" functions of a Sony HandyCam DV camera from my computer running LabView 6.1. The computer is a Pentium III with a SIIG IEEE-1394 PCI board in it, running Windows 2000. I know that digital video programs can control the camera through these connections, so it should be possible to do it via the right driver or so. However, I have no idea about how to even start tackling such an endeavor. Any suggestions are very welcome.

Thanks,

Tom
0 Kudos
Message 1 of 9
(5,004 Views)
Tom,

Unless you already have software that does the functions you are looking to control automatically, or have either a driver or programming manual from Sony, you are up a creek without a paddle.

Manufacturers of such devices usually are not particularly interested in people using custom software to command their devices. This takes away from their sales. I had experiences of this exact nature with regards to a Schenck product (great product, terrible company to deal with). I ended up having to pay several thousand dollars for worthless driver software that did nothing I needed, and wrote an 'eavesdropper' program to systematically listen to command sets and responses to give me the information I needed to write my own driver (at a cost of only about 20 hours).

If you have such software, I would suggest eavesdropping on the comlink and getting the commands and responses. As you don't have the kind of program available that I wrote (it is VERY difficult to write a program that monitors a command, and parses out all responses in an organized manner) you will have to parse things manually and experiment. Try writing a simple com program that allows you to enter commands and read responses. After practice and experimentation, you can gleen enough information to be able to implement commands in your software.

However; if you don't have such software, then you have three options: Buy such software, if it exists; Give up, go buy a product with a driver or software; or...search online for a hack. I have seen a number of programs online in various places for such obscure things as communication with Cellular Phone embedded code. As there is no commercial need, for example, for a customer to talk to his phone's embedded code, such software is never available, though it is used internal to cell phone manufacturers in engineering and manufacturing test (I have personal experience with this). You may be able to find some software or documentation online that gives you the command set.

Of course, there is one other option available to you that I have so far neglected to mention. You could contact Sony and ask for the commands. Who knows, they might just give them to you (or you could make a support call, get routed to an engineer, and actually find someone willing to give you the commands.) This is an unlikely option, but one that you should still consider before 'giving up...'.

Good luck. If you get the commands, be sure to post them here.
Message 2 of 9
(5,004 Views)
I would check to see if Sony has a developer relations group that supplies drivers and documentation. Kodak has a DRG for their digital cameras that is (was?) free to join and they gave you activeX components for controlling their cameras via USB. (more apps = more cameras to use with them.)
Message 3 of 9
(5,004 Views)
It the camera has a VFW driver you could Download the Activex Control on http://www.inventeering.com it interfaces to USB and Firewire Cameras with VFW drivers and has LabVIEW examples
0 Kudos
Message 4 of 9
(5,005 Views)
I am looking to accomplish the same task with a Panasonic AG-DV1000 video recorder. I will keep you posted on this discussion thread if I find an explicit solution.
jc
Mac 10.4
LV7.1
CLD
0 Kudos
Message 5 of 9
(5,004 Views)
jcrooke wrote in message news:<506500000005000000EDE40000-1042324653000@exchange.ni.com>...
> I am looking to accomplish the same task with a Panasonic AG-DV1000
> video recorder. I will keep you posted on this discussion thread if I
> find an explicit solution.

Hi,
I have a library that works for DV camcorder and you can also remote
control the record, play, rewind, forward, timestamp in LabVIEW by
bringing up the DV decoder Page (See camera demo for more details)
here is the link:
http://www.geocities.com/irene_he/IVision.html

Irene
0 Kudos
Message 6 of 9
(5,004 Views)
I tested your code with the Panasonic AG-DV1000. It looks like it will work fine for my application; although, it is a bit overkill and a little pricy. My Program Director was unwilling to pay $700 for a program to start and stop the VCR and to access frame time stamps. Looks like I'm in the same ol' boat as before. By the time I get done, I'm sure it will have cost at least $700 in my time.
jc
Mac 10.4
LV7.1
CLD
0 Kudos
Message 7 of 9
(5,004 Views)

I've checked the site http://www.inventeering.com but could only find that this tool is in development. I have a sony handycam dcr-hc32 and would like to acquire avis and somewhat control the camera. Did somebody already find something to solve this (as this thread is already 2-3 years old)?

The German Guy
0 Kudos
Message 8 of 9
(4,666 Views)
You can acquire the image and save as avi's, but you may have to implement a solution to control the camera.
 
Alternatively, you can download the complete recording and edit later.
 
RayR
Message 9 of 9
(4,661 Views)