LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change camera exposure time for PCI-1426

Hi

 

I am attaching the screen shot of MAX, which means that camera is being recognized by MAX. I can take pictures using MAX. I am not sure about the camera file. I really dont know what else communication problem it might have..

 

Regards,

Sidd 

0 Kudos
Message 11 of 19
(1,406 Views)

At least the model is regonized by the MAX "2M30-2x-2tap" or do you use another one? Hope not Smiley Wink

 

Can you also post a screenshot of both "Acq Parameters" & "Cam attributes" tabs?

I'm curious what will be shown there.

I expect to see exposure time, shutter time and so there.

Try to change them and see if the grabbed images changes.

 

 

I would try a complete new VI to get the model number with no errors.

That way you will be sure about communications and way of working.

0 Kudos
Message 12 of 19
(1,403 Views)

Please find the attached screen shot of camera attributes and acquisition parameters. There is nothing like shutter or exposure time in any of these tabs.

 

Regards,

Sidd 

Download All
0 Kudos
Message 13 of 19
(1,395 Views)
One more question : Does the "Interface Name" control contains the same camera name as in the MAX?
0 Kudos
Message 14 of 19
(1,384 Views)

Hi Sidd,

 

You are correct.  The Interface name corresponds to the name in MAX.  Good luck!  

 

Kristen H.

0 Kudos
Message 15 of 19
(1,378 Views)

Hey Kristien,

 

Can you please tell me where did i go wrong or how can I do it?

 

Thanks

Sidd 

0 Kudos
Message 16 of 19
(1,362 Views)

Hi Sidd,

Can you please tell us if the value of your "Interface Name" control is the same as what can be seen in the MAX after "Channel 0"?

It should be "IMP-2M30H........" The dots represents something I can't see on the screenshot.

By default the "IMAQ Init.vi" set the value of "Interface Name" to "img0"

These two values must match!

 

Maybe you should post the whole vi at once.

It will be much easier for us to analyse your problem.

Regards

0 Kudos
Message 17 of 19
(1,358 Views)

Hi

 

It is Channel0: IMP-2M30H-2x4x-2tap 

 

Sidd 

0 Kudos
Message 18 of 19
(1,344 Views)

Hi Sidd,

 

The Acquisition Parameters can be accessed through a property node- be sure to choose the IMAQ class by right clicking on the property node and going to Select Class >> IMAQ >> IMAQ.  

 

It looks like you were going about accessing the Attributes correctly- using  Get Attribute.vi and Set Attribute.vi.  Definitely check out the NI-IMAQ VI Reference Help on these functions.  

 

Also, here are some helpful documents that you may not have seen yet:

Changing Camera Configurations Programmatically 

KB: Programmatically Changing an Camera File for an IMAQ Interface

KB: How Do I Programmatically Set Sub-Attributes for a Digital Camera?

 

I hope this helps!

 

Kristen H.

0 Kudos
Message 19 of 19
(1,325 Views)