In playing with the Limit Specification By
Formula.vi ... Im noticing when sending in the specification cluster...
You send in an X value and a formula... Wouldn't it make sense that in
the array of X-values yur sending into the cluster, that the formula
array would sort of line up with the X values?
For
example... if my X values are [0,15,30,45] and my formulas are [ x,
x+2, x+3 ] wouldn't you think the formula (x) would go from 0-15, (x+2)
would start at 15 go to 30, and (x+3) would start 30 and go to 45??
The
behavior instead is, (x) will go from 0-7.5, (x+2) will go from 7.5 to
22.5, (X+3) from 22.5 to 37.5, and then the value zero will finish the
graph to 45. Notice how whichever functions are not at the ends of the
array get the full delta X of 15... leaving the equations at the end
only a delta X of 7.5. Why is it chopping the ends up like that?
I
guess it easy enough to try and work around, but doesn't seem very
intuitive. The help file doesn't touch base on this behavior either.
Ive posted my vi as an example... which is basically grabbed exactly from the NI example Limit Testing Measurement.vi ....
Am
I lost somewhere in translation? or does this seem a little fishy? If I
want the change in equation to happen at a specific X value... what do
I have to do to ensure that the change will take place at the value I
want?