Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Change IMAQ1394 speed acquisition parameter programmatically

Solved!
Go to solution

Hi,

 

I am using LabWindows/CVI and Legacy NI-IMAQ IEEE1394 driver.

I want to set the Speed acquisition parameter in my program.

MAX can do that (there is a drop down list to change the speed to 100Mb/200Mb/400Mb.

 

How can I implement this in my program? The problem is that I cannot find which attribute to change.

For example for brightness, the attribute IMG1394_ATTR_BRIGHTNESS exists?

But for speed?

 

If I take a look at niimaq1394.h I see an enumeration data type, but nothing else on speed.

 

Any help would be appreciated! Thanks.

 

Regards,

Robin

0 Kudos
Message 1 of 4
(3,601 Views)

So...

Anybody who did not overlook my question? 😉

0 Kudos
Message 2 of 4
(3,551 Views)
Solution
Accepted by topic author RobKijger

Hello,

 

Following procedure might meet your requirement.

 

1) Close the camera.

 

2) Open "camX.iid" file and find the "CameraFile" name.

"cam0.iid" of my IMAQdx on VISTA is located

c:\users\public\Documents\National Instruments\NI-IMAQdx\Data\

 

3) Open the camera file and edit the parameter you want to change and save.

 

4) Reopen the camera.

 

These files are simple text file. 

 

 

 

Message 3 of 4
(3,494 Views)
Thank you for your reply. I thought it would be easier, but this could work as well.
0 Kudos
Message 4 of 4
(3,480 Views)