Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Contact Sensing

Hello everyone.

 

I have a USB-6225 with 80 Analog input channels and 2 Analog output channels.

For a project I need to sense if a contact is connected or not.

 

As a test I want to take a banana connector, male and female, connect to to the DAQ and see if it is plugged or unplugged.

The problem is that I have no clue how to connect to my DAQ.

 

Can I do this with one of the analog inputs? One end of the contact into an input and the other to GND? 

(But then there isnt any voltage across the connector)

 

Thanks in advance, 

 

best regards,

 

Michael

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

If you look into the M-Series User Manual  (RTFM 😉 ) you can find at fig. 6-4 the wirering for an switch input. (you need an additional pull-up resistor) , Since this type of input is an digital one (On-OFF) you usually use an digital input, but you also can (ab)use an analog input if you really want to 😄

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


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

Hi Volker and thanks for your reply!

 

Yeah, I found that too! 😞

 

I switched to the digital Inputs instead where I can have a dc voltage over the contact.

 

best regards,

 

Michael

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