Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't get correct signal from NI 9402, DIO

Hi!

This is my first post in this forum.

I am using a cRIO 9073 with FPGA. I have a module with analoge inputs and one NI 9402 DI/O (high speed, 4 ch). I want to use the DI for an encoder as a reference signal. The encoder has output voltage ~0 V and ~4,5 V so I believe it is in the right intervall for detecting low resp high level. 

If I connect the same signal to the AI it shows my encoder signal (but it is not fast enough for my meassurements). The DI only get the high signal and stays there.

I have used a FPGA I/O Node in my fpga.vi (connected to a LED-item). And in my host.vi I have a Read Write Control. The LED only lights up and never blinks so I guess the problem is in the fpga.vi. I also tried to make one channel an output and connected a button-item to it (in my fpga.vi). But I don't think I got any difference in signal depending on the button position.

I don't use any timed loops (since I haven't understod why and when to use them). Is that a problem?

 

Thanks!

/Vanja     

0 Kudos
Message 1 of 2
(3,313 Views)

I guess it can be a missing FIFO? I haven't used them either...

0 Kudos
Message 2 of 2
(3,311 Views)