10-28-2010 09:51 AM
I am trying to use, in range and coerce vi to determine if the measured time was 10 ms within the range. The VI work fine except when the lower limit equal the measure time. or when the measured time equal the upper limit.
How do you include the lower limit and upper limit ?
Solved! Go to Solution.
10-28-2010 09:54 AM
right clink on the node and select to include the lower/upper limit
10-28-2010 10:12 AM
This is, of course, explained in the LabVIEW Help for that function. Did you read it?
10-28-2010 10:14 AM
While Paul's suggestion above is a good one, you are probably not quite there yet.
Because of the inherent limits of the internal DBL representation, you might still get some unexpected results.
Where is the data coming from?
10-28-2010 10:15 AM
@smercurio_fc wrote:
This is, of course, explained in the LabVIEW Help for that function. Did you read it?
read help? who does that?
More to the point. there are a lot of configuration items that are accessible through the right click context menus.
10-28-2010 10:19 AM
@altenbach wrote:
While Paul's suggestion above is a good one, you are probably not quite there yet.
Because of the inherent limits of the internal DBL representation, you might still get some unexpected results.
Where is the data coming from?
To Altenback's point. Typically when I use this function I will round the number up or down to the next increment of the precision I have the indicator.
For example. Lower limit of 4.2, actual measurement 4.19998765. This fails, but when looking at the results in an indicator, typically you would see 4.2 and not understand why it is failing. So when the function returns a fail AND my indicator is set to show two decimal places, I will round the result down to 4.19 so it is obvious. But when storing the date to file or a database, I write the full 4.19998765