Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6000 + NIDAQmx+ detect switch

Hello,

 

I would like to recognize via a DI and a DO channel, if a contact is switched or not.

For this I want to set the DO channel high (+ 5V) and wire this to the DI channel via a switch. Then I read out the status on the DI.

 

I use a DAQ USB-6000 for this and the nicaiu.dll. I allready managed to read out a logical value on the DI channel. But I can't get a high signal at the DO port.

 

Many thanks in advance.

0 Kudos
Message 1 of 2
(1,008 Views)

It would be helpful if you could post the code for us to review and guide you better.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(939 Views)