07-07-2009 01:52 AM
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
07-07-2009 01:59 AM
At least the model is regonized by the MAX "2M30-2x-2tap" or do you use another one? Hope not
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.
07-07-2009 02:13 AM
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
07-07-2009 03:23 AM
07-07-2009 09:50 AM
Hi Sidd,
You are correct. The Interface name corresponds to the name in MAX. Good luck!
Kristen H.
07-09-2009 12:34 AM
Hey Kristien,
Can you please tell me where did i go wrong or how can I do it?
Thanks
Sidd
07-09-2009 01:58 AM
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
07-10-2009 04:41 AM
Hi
It is Channel0: IMP-2M30H-2x4x-2tap
Sidd
07-13-2009 05:22 PM
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.