Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically setting bit depth of a 1410

Hello,
 
     I have a PCI-1410 Frame Grabber. I would like to know if it is possible to programmatically change the "bit depth" property of the grabber (the 1410 can operate at 10 or 8 bits). NI recommends setting this in MAX, but it really doesn't seem practical to go in an out of MAX everytime it needs to be changed. Is it possible to do in LabVIEW?
 
Glen
0 Kudos
Message 1 of 5
(3,888 Views)

Glen,

There is no LabVIEW function that will directly change the bit depth of the PCI-1410, but there is a workaround that will allow you to programmatically control this attribute.  It involves using two separate camera interface files, and it is best explained in this online knowledgebase:
http://digital.ni.com/public.nsf/websearch/4AC21F4C89DCA51286256A2C0065BBB4?OpenDocument

This document only mentions the PCI-1409, but it applies to the 1410 as well (I will update the document to include the newer hardware).  Please let me know if you have any questions.

-Chris
Applications Engineer
National Instruments

0 Kudos
Message 2 of 5
(3,874 Views)
Ok thanks, I will give i t a shot.
0 Kudos
Message 3 of 5
(3,855 Views)

Is it the same procedure to set the bit depth to a PCIe-1429?

0 Kudos
Message 4 of 5
(3,480 Views)

I think you could set up your camera file with a camera attribute that switches the bit depth between 8 and 10 (or whatever bit depths you want). Then you could use the Set Camera Attribute VI to change this attribute. You could even set up a serial action to configure your camera to switch bit depths too.

 

 

18163i88E08B6664B9B144

Eric

0 Kudos
Message 5 of 5
(3,458 Views)