01-07-2015 03:44 AM
I am working on 9074 cRio, and have a 9401 digital I/O module. I wrote a very simple program, in which i write a logic one to a digital output line and i physically wire this digital out put line to another digital input line and read it in program.
-I connected channels DI/O-1 (used as outputline) to DI/O-2(used as input line) of same 9401 module with a same wire Its a very simple program but i don't understand where things are not working out. Please help me out.
01-07-2015 04:23 AM
I learnt that the 8 channels are divided into two ports (0 to 3) and (4 to 7). and all port lines should be having same line direction. So i changed this time the input channel from D2 to D5.
Still when am reading the input port i am not getting a logic one
01-07-2015 06:26 AM
I have to ask the stupid questions:
Did you move your wire so that channels 1 and 5 are connected?
Are you sure you connected the right pins?
01-07-2015 11:14 PM
🙂 Sir that was indeed a wise question to ask.
All connections and confugrations are correct. To my surprise i just discovered that the problem was with the power supply from which i am taking ground for 9401. I jst changed the power supply and its working fine. Thank you