Hello,
What type of camera are you using and what kind of board are you using to interface with your camera? Certain IMAQ boards (e.g. IMAQ 1409) only check for a video source at the beginning of acquisition, so if the signal is disconnected during acquisition, no error will be returned.
In the event that you are using one of these boards, you could try obtaining the average pixel values. In the event that there is no signal connected, the average pixel value should be 0 (i.e. a black image). This can be done manually by converting the image into an array and then iterating through the array. If you have IMAQ Vision installed, you can use the Quantify function to obtain the max, min and mean pixel values automatically.
Try performing this type of analysis
and let me know if you have any additional questions.
Regards,
Scott R.
Applications Engineer
National Instruments
Scott Romine
Course Development Engineer
National Instruments