LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help by making a ohm meter

hello every body i need help 

 

i trying  to make a ohm meter just my calculation is not  as expected 

Use a known resistor to measure the current (measure the resistor first). Use the 5 V output of the myDAQ as voltage source. Measure voltage across unknown and known resistor. Let your program calculate the unknown resistor.
 i took a 1000 ohm that i knew the second one is a 220 ohm it just doesnt work as wel i used a voltage division formule to calculate it.deddd.jpg
 
0 Kudos
Message 1 of 6
(795 Views)

A picture is not useful to troubleshoot. Please attach your VI.

 

  • We cannot tell how the express Vi is configured and what the numbers in the array mean.
  • We cannot tell what's in the dynamic data wire
  • Unless you resize the indicators to make them wider, we cannot even tell what the values are (the first could be 4,6E-99 or 4.6E+99, for example.
  • Why is your iteration indicator orange?
  • Do you know how much current your 5V source can supply?

 


@insignia11 wrote:
 i took a 1000 ohm that i knew the second one is a 220 ohm it just doesnt work as wel i used a voltage division formule to calculate it.

Can you explain that sentence in a few more words? What do you mean by "doesn't work as well"? (Value slightly off? Completely wrong?). Does your math work correctly if you replace the DAQ with a simulate value?

0 Kudos
Message 2 of 6
(764 Views)

f4b5e29a-3986-4c2a-aab6-596f33b1ad8c.jpgthe system has to work that it calculate spanning 2 resistor2 what ohm value it has 

 

R1 is 1k ohm

R2 is 220 ohm in the picture its 1k i changed it to 220

the problem is that mu output value is 0.05 not 220 

0 Kudos
Message 3 of 6
(757 Views)

I cannot look at your Vi unless you "save for previous, 2020".

You have not answered most of my questions.

0 Kudos
Message 4 of 6
(738 Views)

you mean version 20.0

0 Kudos
Message 5 of 6
(732 Views)

@insignia11 wrote:

R1 is 1k ohm

R2 is 220 ohm in the picture its 1k i changed it to 220

the problem is that my output value is 0.05 not 220 


You have your channels flipped (R2 is wired to channel 0 and is therefore the first element in the array of measurements).  By my calculations, this should give you 21.739 Ohms.  This makes me think that you measured one of your resistors wrong.  Either R1 is actually 100 Ohm or R2 is actually 22 Ohm.  So double check those with a DMM.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(661 Views)