Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware advice - S-Video capture with multiple inputs

Looking for some vision hardware and I thought I’d pick your brains for a bit rather than re-inventing the wheel in case one of you had done something similar before. 

I have a new product I need to develop some automated image analysis testing for.  The product has 3 S-Video streams that need to be checked (but not simultaneously).  I’m doing my development with LabVIEW so it needs to be compatible.  It also needs to fit in with the current PC based test system so the hardware needs to be PCI, PCI-e, or USB form factor.

Options
1.) 1 device that accepts multiple S-Video inputs (preferred solution).  Use a 3rd party device like I-Cube’s FlashBus Spectrim Pro (although it doesn’t seem to be compatible with LabVIEW).  Do you guys know of any devices?

2.) S-Video capture device like NI’s PCI-1411 with switching at front end.  I’ve found Black Box makes a four port S-Video switching device with RS232 control.  Clunky but it would work.  One problem is that it seems NI has discontinued the PCI-1411.  They only seem to offer the PXI-1411 and that is also not recommended for new designs so it looks like it’s being discontinued soon as well.

3.) Convert it to something like 1394 which is a bus protocol so the switching would be done by software.  Not sure if this would work but putting a S-Video to 1394 converter (like http://www.theimagingsource.com/en_US/products/converters/dfg13941e/) at the end of each S-Video line and then feeding these into a 3 port 1394 card and then selecting cam0, cam1, or cam2.  Presumably their similar S-Video to USB converter might do about the same.

Any other advice would also be appreciated.

Thanks,
Doug
Doug Asselbergs
Certified LabVIEW Developer
0 Kudos
Message 1 of 7
(5,440 Views)

It sounds like a combination of parts of option 2 and option 3 would be best.  I've got the imaging source video to 1394 box and it works great, I imagine that the video to USB has the same chip, just with USB communications.  Using it and the black box s-video switcher, with RS232 control should make it possible to control switching from the program you are writing.  There should be no need to put three video to 1394 or video to USB devices on the computer, just one will do.  But, since the price of the switcher + 1 video to USB is equal to the price of 3 video to USB boxes, I guess it depends if you think you or your customers will ever need a fourth channel of s-video.  Warning, the video to USB from Imaging source will ship with an ActiveX control that will work nicely with LabVIEW (as long as you don't need to record audio), but NI-IMAQdx 2009 will also read directly from the device.  Cost will play a factor here too, the ActiveX control is free with the Imaging Source hardware, NI-IMAQdx 2009 will cost ~$400, and require run-time liscenses if you install it on more than one machine (beyond the machine you develop on).

0 Kudos
Message 2 of 7
(5,427 Views)

Well, it’s good to know that at least the analog to 1394 converter works well.

Yes, it would be slightly less money to use the switching box in front of only one converter but I think I’d probably rather reduce the equipment complexity by converting each of the three analog streams to 1394 and do the switching in software by selecting the correct cam #.  The number of streams will be limited to only three for other design constraints of the product.

Reducing the equipment complexity is the reason I’m looking for a frame grabber with multiple S-Video inputs(that’ll work with LabVIEW).  That way I wouldn’t need any external hardware.

Thanks for your input.  Anyone else have any?

 

Doug

Doug Asselbergs
Certified LabVIEW Developer
0 Kudos
Message 3 of 7
(5,412 Views)

You may want to consider the Video to USB, since it is cheaper.  The only issue you would have is that it would require NI-IMAQdx 2009, if you want to use NI-IMAQdx to bring your video into LabVIEW.  You may also want to consider one of the PCI or PCIe framegrabbers that the ImagingSource sells.  If you had a desktop PC, or rackmount PC, there would be no software changes to having the machine switch between 3 USB framegrabbers and 3 PCI or PCIe framegrabbers.  The ImagingSource also sells a couple of 4 input cards.  I'm using the DFG/MC4/PCIe ($690) and it works great.  I can stream all eight video inputs (2 cards in one machine) to disk without any problems.  The card has four inputs that have BNC connections, but those could be converted to S-video with off-the-shelf converters.  All of the cheaper internal framegrabbers that Imaging Source sells have at least 1 s-video input.  So, unless you have a machine without enough PCI or PCIe slots, I would choose an internal framegrabber.  Remember, with all of these, if you want to use a LabVIEW native method to pull in the video, you will have to use NI-IMAQdx 2009, unless you choose the Video to 1394 converters that Imaging Source sells.  If you are willing to work with ImagingSource's ActiveX control (which is a very good ActiveX control), then you can choose any of thier framegrabbers.

Message 4 of 7
(5,400 Views)
Thanks for the information.

Unfortunately, the PC in the test rack doesn’t have enough open slots for 3 internal frame grabbers.  I’ll look into the USB grabbers to see how their conversion quality is.  I talked to someone who’s used the 1394 converter and says the conversion is excellent quality.
I did just find this device that has multiple S-Video inputs and is DirectShow compatible.  http://www.dpictimaging.com/Products/Aexeon.html.  So far this is the leading contender for my solution. 

I was planning on using IMAQdx 2009.  One of the tasks I’ll need to do is save some video clips which I’ve done in IMAQ but not sure if you could do that with the ActiveX control.

Doug
Doug Asselbergs
Certified LabVIEW Developer
0 Kudos
Message 5 of 7
(5,389 Views)

I have had better luck with the ActiveX controls I've used in the past saving AVI files, than I have had with NI-IMAQ's AVI file writing routines.  One thing that may work for you is to save the video you want as an uncompressed AVI file with the NI-IMAQ routines, then use FFMPEG (a command line image and movie conversion utility) to convert the movie into one of many formats that you may need.  The NI-IMAQ routines have a known problem with some codecs, especially Divx and other codecs that aren't as widely used.

0 Kudos
Message 6 of 7
(5,387 Views)

What do you mean by the phrases, "pick brains" and "not sure if this" ?

0 Kudos
Message 7 of 7
(4,736 Views)