If the value of TaskIndex is 0 then the camera failed to open. Otherwise you need to store it in a global variable and pass it to other camera methods. The camera can be stopped or reopened while ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results