Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make camera attribute changes take affect?

I am using an NI PCI-1428 Camera Link frame grabber to interface with a Pulnix TM1020-15CL digital camera. I am programming using IMAQ under Visual Basic. I have been able to grab images and start and stop acquisitions using the IMAQ AcquireImage, Start, Stop, etc. methods. I have also tried to change parameters in the camera itself (gain, top and bottom references, etc.) using the CameraAttribute property. If I set a property and read it back, it appears in the code that it is successful (no error and the value read back is what it was just set to). However, the property change does not have any affect on the camera's performance (if I make the same change from MAX, the camera very clearly responds). It appears that
the change is happening only in the VB control itself and is not being communicated to the camera. Is there another command necessary to actually send the information to the camera? I am making sure that acquisition is halted before changing the properties. I have also tried calling the Configure method after making the property changes. What am I missing here?
0 Kudos
Message 1 of 2
(3,102 Views)
Hello,

Please attach your code and I'll take a look at it.

Best regards,

Yusuf C
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,102 Views)