05-27-2014 02:28 AM
The Threshold 1D Array Function does not require the array and the threshold to bear the same units; anything goes, except that the conversion dot is placed on the threshold when the array bears any, even if the threshold bears the same unit as the array.
Solved! Go to Solution.
05-27-2014 03:41 AM
threshold 1d array requires an array input. Not clear about the problem
05-27-2014 04:00 AM
05-27-2014 05:19 AM - edited 05-27-2014 05:24 AM
Change the array unit to seconds, volts or whatever; the wiring will not be broken.
05-27-2014 05:44 AM - edited 05-27-2014 05:45 AM
Hi e3tech,
that's why you see a coercion dot… When there is a coercion dot is is your job to test the impact of coercion on your algorithm!
Many LabVIEW functions don't respect the unit, there are numerous threads on this topic. (My personal favorite is the Square function on the numerics palette, which calculates 1m*1m=1m.) There are also entries in the LabVIEW Idea Exchange for this problem.
You can add your own comments over there or ask NI for a CAR on this special part of the overall lack of "unit" support in numeric functions…
(I use units very seldom nowadays because of this lack of support. When I use them it's mainly for UI and often requires special handling/error checking.)
05-28-2014 02:56 AM