07-21-2015 12:40 PM
If it's valid, IMAQdx Open Camera.vi will return an error.
If it's not valid, IMAQdx Close Camera.vi will return an error. And IMAQdx Close Camera.vi is very slow when the camera session is not valid.
Solved! Go to Solution.
07-21-2015 04:29 PM
What do you mean by "not valid"? Do you mean already closed or the camera has been removed but your session is still open?
07-21-2015 04:34 PM
I mean IMAQdx Open Camera.vi haven't been called yet, or IMAQdx Close Camera.vi has been called.
Although there is no property node for that purpose, other properties, such as camera vendor name, are acceptable workarounds.
07-21-2015 04:51 PM
For that scenario, the "Not a refnum" primitive should work, I believe.
07-21-2015 05:03 PM
Interesting.
The camera session is "cam0" when prob before and after call IMAQdx Open Camera.vi.
No change, not empty.
That deceaves me.