Hello,
If there is something wrong with your hardware, your code will immediately return an error. To check this, use an unassigned board number in the DIG_In_Line() function. You will immediately recieve the error -10401. You can then choose to ignore the error, or halt the program. To ignore the error, select Run >> Break On and deselect Library Errors.
Let me know if you have any further questions.
Sincerely,
Sean C.
Applications Engineer
National Instruments