01-18-2006 05:02 PM
01-18-2006 05:12 PM
The number that you are getting is actually correct. When you subtract those 2 numbers you get a negative number (minus 7 thousand and something). If cast to an unsigned number you get the value that you are seeing. You need to ensure that both of your inputs to the subtraction are signed numbers and then the output will be signed as well. I see one coercion dot on the subtraction, so I am assuming that one input is signed and one is unsigned.
Rob
01-18-2006 05:26 PM - edited 01-18-2006 05:26 PM
Message Edited by BrianPack on 01-18-2006 05:27 PM
01-18-2006 09:01 PM
The best thing about this thread is that I learned two new words:
http://www.m-w.com/dictionary/minuend
http://www.m-w.com/dictionary/subtrahend
-D
01-19-2006 01:38 AM
Darren wrote:
The best thing about this thread is that I learned two new words:
Darren, I think I'll stick to "subtractor" and "subtractee"
, technically incorrect as they are, although I will try to remember these two.
01-19-2006 09:34 AM
Thank you for your help.
I found out that my subVI was returning an unsigned integer.