Aerospace, Defense, & Government
Academic & Research
Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
You can request repair, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
National Instruments will not be implementing this idea. See the idea discussion thread for more information.”
I have seen the request of Random number function improvement, however further to that, my wish is to have an option to include or exclude the endpoints (just like In Range and Coerce Function).
I am not allergic to Kudos, in fact I love Kudos.
Make your LabVIEW experience more CONVENIENT.
The chances that you screw up and the new function returns 0 is probably greater than the chances the existing function returns 0. How do you guard against that? Easy. You still check at the input of the affected function when needed, this way you catch all kinds of errors both known and unknown. Subtraction, multiplication, and Sin(x) could all give 0, do we check their outputs as well? There are a million ways to get a zero, stopping them at the source strikes me as a doomed effort. You may still let one slip.
Darin -- all this is is wrapping the random function in something that checks it -- no different than doing exactly what you suggest and then doing "create subVI". I've done that for any number of upstream functions. And this one is a bit different since the thing you need to do is go back upstream and re-roll.
We are working on adding a Random Number (Range) VI to a future LabVIEW release. We are not intending to include the ability to exclude the range limits. This functionality has limited use with floating point numbers, and explicit range values can be specified for the integer implementation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you need our team of experts to assist you with?
We'll be in touch soon!