04-24-2014 10:14 AM
Hello all,
How I can to modify the parameters like zoon, focus, etc ... in real time in my labwindows application?
something like: SendParameters(zoom, focus, cam1);
Thanks for all.
Solved! Go to Solution.
04-24-2014 12:03 PM
If your camera manual does not list the attributes available for your camera, you can programatically request a list.
The following is taken from NI KnowledgeBase called: Programmatically Get and Set Attributes with IMAQdx vs. IMAQ for IEEE 1394.
Use the IMAQdxGetAttribute
function call to get a particular attribute value or setting. If you are unsure of the exact name or value of an attribute, you can call IMAQdxEnumerateAttributes2
and IMAQdxEnumerateAttributeValues
to return this data.
If you do not know in advance the number of attribute values that are available, you can get this information by completing these steps:
IMAQdxEnumerateAttributes2
function with the attributeInformationArray parameter set to NULL. The necessary size is then stored in count.You can do the same steps for IMAQdxEnumerateAttributeValues by setting the list parameter to NULL, which stores the necessary size in size. For more information regarding the use of these functions and other IMAQdx functions for text-based languages, please refer to the NI-IMAQdx Function Reference Help found in under National Instruments\NI-IMAQdx\Docs.
Once you find the attribute to set, you can use IMAQdxSetAttribute() to control your zoom and focus functions.
04-24-2014 03:06 PM
thanks for all ...
tomorrow morning I try it and I comment the results.
04-28-2014 03:42 AM
Thanks for all ..
Works perfect ...