01-27-2012 01:45 PM
Attached image is me trying to rig this thing to work, not my actual program. I get that it's not the best way to do things, I'm just experimenting and I didn't feel like recompiling.
Here we have a simple 3-card 9403 setup running off a cRIO controller 9022.
You have Enable, Output, and Input values.
If Enable is set to 0x00000000, that should make all pins as inputs.
If Output is set to 0x00000001, then I get 5V on DIO0, despite me having set it to an input.
If Output is set back to 0x00000000, then 5V is applied to DIO0, I do not read anything on the Input Array.
So it's almost as if all my pins are set to be outputs permanently. Any idea on what I am doing wrong? Thanks.
01-27-2012 02:10 PM
Oh and I got my FPGA diagram from the 9401 Example. I just tripled it.
01-30-2012 07:41 PM
Hi Dyskresiac,
In a quick search of the manual for the 9403 I found that this kind of behavior may be expected if the device is in an overcurrent condition. Could you verify that isn't occurring? I'd also like to confirm whether you have modified the 9401 or 9403 examples, as I see elements of both in the attached image.
Regards,
-Dave C