LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Properties for a USB Device

I am using LabView to manipulate a live video feed that is being supplied by a USB device.

One device, a DVC100 (http://www.pinnaclesys.com/PublicSite/us/Products/Consumer+Products/Dazzle/Dazzle+Video+Archiving/Dazzle+DVD+Recorder.htm) works perfectly, as long as I set the correct input (S-Video or composite) through a secondary program.  I have tried the IMAQ USB Property Page.vi, but it does not access the input selection of the device, it does allow adjustment of some other useful features.  The secondary program is NOT device specific, it is a cheap video recording program, much like Windows Movie Maker, which allows for the same input adustment.

I would like to be able to do this IN the vi that I have written, but I am not sure how to access the dll/driver to set the values.  I have written something in Visual Basic before using LabVIew that was able to talk to the driver to set the input value.  Is there an add-on or special vi that needs to be used to access the driver settings?

I have another USB device, a Pinnacle HD Pro Stick (http://www.pinnaclesys.com/PublicSite/us/Products/Consumer+Products/PCTV+Tuners/PCTV+Analog_Digital+PVR/PCTV+HD+Pro+Stick) that has yet to work with my vi due to the same issue as above:  I need to set the driver with specifics of the capture device.  Unfortunately, setting the information in a secondary program, like above, does NOT work with this device.  I believe the reason is that along with the input selection, this time there is antennae, cable, S-Video and composite, but on top of this is the frequency for the antennae and cable.  The error I get from LabView is the following:  Error -1074396024 occurred at IMAQ USB Grab Setup.vi Error system.

Is there something I can do in LabView directly, or is this something where I have to make a secondary program in something else to do these adjustments?

Rich

0 Kudos
Message 1 of 2
(2,955 Views)
Hi rbergs,
 
You can use the Call Library Function Node.vi in LabVIEW to make calls to the driver dll for the device. If you have made calls to the driver dll in VB, this should be pretty similar. Please look at this DevZone article for details on using this VI.
 
Hope this helps.
Jaidev
Senior Product Manager
National Instruments
0 Kudos
Message 2 of 2
(2,926 Views)