Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Internal Electronic Shutter from IMAQ-Vision in VB6

Hello,

I've been trying to create a custom image acquisition application which
uses the following setup:

Hamamatsu C4742-95 Digital CCD Camera
NI PCI-1422 Image acquisition Board
Microsoft Visual Basic 6.0 SP6
IMAQ Vision for Measurement Studio 6.0, VB6 controls (cwimaq.ocx)

One of my requirements is to be able to manual control the shutter speed
of the camera during a continuous capture sequence. Through the Measurement
and Automation Explorer program, I can manually set the electronic shutter
time in the camera properties advanced tab. This electronic shutter is an
internal trigger to the camera.

Looking though the documentation and VB6 reference manuals for NI-IMAQ Vision,
I am still unable to determine how to control this property.

Any help would be appreciated. Thank you.

---Kien Tran
0 Kudos
Message 1 of 2
(5,891 Views)
Hello Kien,

You should be able to programmatically control any of the attributes that show up in MAX by using the CWIMAQ CameraAttribute property. This property takes in a string that must exactly match the name of the attribute in MAX. You can then use the property to get or set the attribute.

Best Regards,

Jesse D.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(5,884 Views)