|
|||||||||||||
Currently the Conditional Signed32 Probe only offers the following conditions:
I would like for the "In range" condition to be added (excuse the poor image):
If you add that, you might want to add "out of range" also. Actually, I think I'd be more likely to want to pause on something being out or range rather than in range.
I thought about it after posting it, you are right, we should probably have both options. In range and Out of range.
What about inclusive or exclusive of the endpoints as on the In Range and Coerce node?
It never ends. The list of things we could add to that comparision list is totally open. This is why we created custom probes -- so you could write whatever comparison you need.
> What about inclusive or exclusive of the endpoints as on the In Range and Coerce node?
>
> It never ends.
I don't buy the slippery slope argument here. What Fabiola is suggesting (and I think it's a good suggestion) is the addition of one comparison mode to the Numeric Conditional Probe, a mode that duplicates something LabVIEW already has a primitive for.
By the logic you've offered, why does the current Numeric Conditional Probe have any functionality? Users should just make Custom Probes!
Not only that, why does vi.lib contain any VIs (rather than just primitives)? Users can just make their own VIs!
So you're right – it never ends. But I don't think it's reasonable to shoot down a suggestion based on the idea that improving one built-in Conditional Probe would open Pandora's Box.
Doesn't "Greater than" and "less than" kinda cover both "in range" and "out of range"?
Send in a 5...
if "greater than" is 10 and "less than" is 0... it's out of range?
*****0....(5)....10*****
Send in a 5...
if "greater than" is 0 and "less than" is 10"... in range?
....0****(5)****10....
:dunno
SnowMule wrote:
Doesn't "Greater than" and "less than" kinda cover both "in range" and "out of range"?
Kinda, but you can't use AND in the probe as far as I know. So every time the code breaks, you still have to manually compare to the other end of the range.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page