Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

NI 6501 Digital Input

$
0
0

Hi everyone,

 

I'm using a NI USB-6501 and I'm trying to understand how to read the inputs.

I've used this card to generate outputs using the example vi Write Dig Chan, it works great.

Now I'm trying to use the Read Dig Chan example vi to read an input voltage. But it seems that by default the card reads 5V (a logical 1) as input on every pins, even though nothing is connected to them. I tried to connect the output to the input, using a relay, to see if it detects a change in the input whether we send some voltage or not but it didn't change anything. It still reads 5V no matter what.

 

Can anyone help me figure out how to be able to read an input? Has this problem already happened to someone else?

 

Thanks in advance.

 

Frederic


Viewing all articles
Browse latest Browse all 2147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>