LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing camera attributes while the program is running?

untitled.JPG

Hey,

I want to be able to change my camera's attributes while the program is running. I have been told I need to use STOP and START IMAQdx modules to update the attributes. I got stuck. Looking at my code, can you tell me what to do next? How do i connect these modules? In my example, Im trying to control frames while the program is running. Right now, I am able to set Frames, ROI and Shutter but only at start of the program.. Thanks!

0 Kudos
Message 1 of 4
(2,783 Views)

anyone?

0 Kudos
Message 2 of 4
(2,771 Views)

.

0 Kudos
Message 3 of 4
(2,748 Views)

Hi Peter,

 

I hope this will still help you out even though it is a little delayed from your original post.  There is a great example in the LabVIEW Example Finder that allows you to change camera attributes while the VI is running.  You can find this by going to LabVIEW>>Find Examples... Then Hardware Input and Output>>IMAQdx>>High-Level>>Grab and Attributes Setup.vi.  One thing to note is that you will not be able to change the camera attributes while the grab is occurring.  You will have to stop the grab (not to be confused with stopping the VI), change the attributes and then start the grab again. I hope this helps!

 

Kim

Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,728 Views)