Hello yesi,
Thank you for using our discussion forums. The error "Can't lock on Video Source" can occur due to a number of reasons. It mainly implies that the Image Acquisition device is not receiving the video signal, or is not receiving the video signal that it expects. Following is a like to a KnowledgeBase that you can follow to troubleshoot and fix this problem:
Error Codes with NI-IMAQI hope this helps you out. Have a great day!
Regards,
Nipun M
Applications Engineer
National Instruments