I am uisng USB 6008 and LV8.0, i have 8 analog channels and 4 digital channels. Step1, is to use 4 digital channels ( P1.0, P 1.1, P1.2, P1.3 ) to allow me to read one by one the 8 Analog channels ( AI0,AI1.....AI7) . So the 4 digital channels will go through some logic. I am connecting +5V to the P1.0 ( pin number 25 ) and ground to GND ( pin number 32 ) of USB 6008. After that i run the following VI to show me the reading, i am getting +15V whereas i should be getting +5V.
I am trying to expand on the bottom code (see block diagram). And am curious how should i connect my 4 digital channels on the left hand side FOR loop.
Kindly, correct me if i am using the wrong pins of USB6008 DAQ board.