05-14-2014 12:41 PM - edited 05-14-2014 12:46 PM
Hello.
I would like to change some camera attributes thanks to an INI file, before running the User Interface.
The problem is that when I display the values of the modified attributes, they are not modified : it is still the same values as in the NIMAX camera file .
In fact I opened an IMAQdx session with IMAQdxOpenCamera, then I loaded the value from Camera.ini to the Camera Attributes, and finally I closed the session with IMAQdxCloseCamera.
I look forward to seeing your ideas!
Thomas1330
Solved! Go to Solution.
05-20-2014 05:42 AM
Hello,
Check if this ini file is not in "read only" mode.
Thanks
Paolo_P
Certified TestStand Architect
Certified LabVIEW Architect
National Instruments France
05-20-2014 12:05 PM - edited 05-20-2014 12:08 PM
Hello,
in fact I resolved the problem.
I used the following function : IMAQdxReadAttribute (id session, ini_pathname) --> only the attributes written in the .ini are changed in the camera file, until I close my program
Thomas1330