Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the region of interest for acquisition when using a Firewire camera

I would like to programmatically set region of interest for acquisition when using a Firewire camera. I am programming in VB, using IMAQ Vision 7.1, and IEEE-1394 driver v2.0.0.
 
I know that I can set the region using MAX, but I want to do it programmatically, in case the user does something bad! Smiley Mad I have set other features (e.g., Mode, Format, etc.) programmatically, but can't figger this one out.
 
Can this be done, and if so, how?
 
Thanks!
0 Kudos
Message 1 of 2
(2,923 Views)
Hi Steverino,
 
For the acquisition window, I believe you will want to use these properties:
 
CWIMAQ.AcquisitionWindowHeight
CWIMAQ.AcquisitionWindowWidth
CWIMAQ.AcquisitionWindowLeft
CWIMAQ.AcquisitionWindowTop
 
 
These should all be outlined in more detail in the IMAQ Vision for Visual Basic Reference Help, which should be installed with IMAQ Vision.
 
 
Hope this helps!
 
Robert

Message Edited by RManion on 07-06-2005 12:17 PM

0 Kudos
Message 2 of 2
(2,917 Views)