Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera status

I use CWIMAQ, CWIMAQVision in my VB .Net program. How can I get the camera status like power on/off or connected/disconnected through those controls?

Thanks.
0 Kudos
Message 1 of 2
(2,937 Views)
Hi John,

There is not a native function to tell wither a camera is connected and (or) powered on; however, when the program tries to use the camera an error will be generated. By using the try/catch statements, you can handle the error, most likely -1074397153 "Cannot detect recognizable video source."

Regards,

Ryan M.
Applications Engineer
0 Kudos
Message 2 of 2
(2,924 Views)