LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ clamp

Solved!
Go to solution

Hi all,

 

Can anyone able to tell me the reason for an offset between the exact number with the ratio which is 1.56 I marked in the jpg file used and the final number that was written into the txt file ?

 

I mean why 1.56 and where the number come from?

 

Thanks

 

0 Kudos
Message 1 of 4
(2,570 Views)

I really am not sure exactly what you mean, but if you're asking why the number "in the txt file" is not exactly 1.56, it's because you're using a computer, which works in base 2, not base 10. You would need an infinite number of sig figs to represent 1.56 exactly in base 2.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
Message 2 of 4
(2,560 Views)

My question is where is 1.56 come from, why we need the distance divide 1.56?

 

Can I use 2 instead?

 

Thanks

0 Kudos
Message 3 of 4
(2,546 Views)
Solution
Accepted by topic author huskerli

That's something the person who wrote the VI would know best (although others here may also know, I don't). Is there no documentation?

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 4 of 4
(2,538 Views)