06-24-2020 02:21 AM
Hello,
I have a VI to control the attributes of a point gray camera. Each time I open a new session I get the error (unable to set attribute). I'm attaching my code. any help?
06-24-2020 07:53 AM
The first question to ask yourself is whether or not your camera expresses these attributes to LabVIEW and whether or not they are readable or writable.
This is an easy question to answer. Write a VI that opens your Camera using Enumerate Attribute and prepare for yourself an Array (I recommend sorting the Array) of all the Camera Attributes, including their Readable/Writable States. Make sure the attributes you are trying to access are present, and are of the Type you are trying to use to set them (e.g. Dbl).
Bob Schor
P.S. -- IMAQdx and Vision functions are some of the most challenging and least-well-documented parts of LabVIEW. There might be an easier way than LabVIEW if you don't have several years experience (or a helpful colleague for discussions).
07-01-2020 02:14 AM
Hi Bob
I checked if the attributes are readable to my camera. The error appears only when I re-open a session. That means once I set the attribute I can control it within the same session of the VI and I can control the output image. But when I close the VI and re-open the error appears again.
any other suggestions or solution ?