LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

measure resistance using 2 wire method

 

Hello, am I using the 2-wire method of measuring resistance across a photocell correctly? When i run i I get a sinusoidal reading from my max range of 15k ohms to my min range of 1k ohms. Why isnt this working?

 

WP_20151208_20_30_12_Pro.jpg

 

DAQ1.PNG

DAQ.PNG

0 Kudos
Message 1 of 5
(5,233 Views)
What kind of box do you have? How is it wired?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(5,206 Views)

What is the circuit?  I see what looks like a USB-6009 (but, of course, you don't show enough to really identify it) with two green wires that seem to go into Analog In 0 high and low.  One wire seems to go to a pair of resistors that go to something (can't tell what that is), then another pair of resistors and the other green wire.  Four more green wires go to other analog inputs, but we don't see where they are connected.

 

How are you expecting to measure a voltage (which appears to be across four resistors + a "something", with no obvious voltage source)?  One obvious voltage source that you can certainly measure by putting a resistance across a differential amplifier is "noise", including 60Hz pickup from flourescent lights, A/C power, etc.

 

Just because you tell the DAQ Assistant (I assume that's what you are using) that you want to measure Resistance, you still need to set up the circuit properly.  Without a diagram or a better series of pictures (showing all the wires, with all of the components identified), I can't tell what you are doing, so I can't say that your results aren't expected.  

 

Bob Schor

0 Kudos
Message 3 of 5
(5,188 Views)

A good rule of thumb is to be able to take the measurements manually before attempting to do it with software.  That way you can eliminate setup issues.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(5,174 Views)

Based on your front-panel settings, you should have an external 1 mA current source in your circuit as well as the DAQ measuring the voltage. That's how a simple 2-wire resistance measurement works: send a known current through a device and measure the voltage across it.

 

The circuit should be:

 

I+ --->(1)->unknown resistance->(2)---->I-

 

where I+ and I- are the positive and negative terminals of your current source and (1) and (2) are where you connect V+ and V- of your DAQ.

 

If you don't have an external current source and you know roughly the range of resistance of your unknown, you can use the 5V output of your DAQ and what's called a current-limiiting resistor to make an ..OK current source:

 

+5V -> R1 ->(1) -> unknown -> (2) -> GND

 

R1 should be large compared to the unknown, at least 10x bigger. The current in the circuit can then be approximated as 5V/R1, and the resistance of the unknown is then (again approximately) R1* (V12 / 5 V). 

0 Kudos
Message 5 of 5
(5,168 Views)