LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Petru_Tarabuta

The "Random Number (Range)" polymorphic VI should have instances for all integer numeric types

Status: New

It's great that the native "Random Number (Range)" VI was added to LabVIEW relatively recently (LabVIEW 2020 I believe).

Currently the VI has instances only for U64, I64 and DBL, as seen below.
1.png

 

It would be great if it had instances for all integer types, especially for I32 which is probably the most common integer type. I am aware that we can easily convert from U64, I64 and DBL to any desired integer type, but it would be nice to remove the need to convert the output.

Thanks

1 Comment
Darren
Proven Zealot

The VIs were implemented this way to provide the maximum possible range for floating point numbers, signed integers, and unsigned integers. The coercion of scalar numerics isn't generally a problem in most applications.

 

If this idea gathers sufficient kudos then LV R&D can revisit that decision.