From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I alter the random number seeding in Labview?

Is there a way to force a particular seed or dynamically reseed the random number generator in Labview?
0 Kudos
Message 1 of 3
(2,568 Views)
I don't think you can do this in LabVIEW, but if you can do it in C, you could create a code interface node to pass the seed to and acquire the random number.
0 Kudos
Message 2 of 3
(2,568 Views)
You could use a flat noise generator with one sample.
It is able to be seeded.

Tim

agolovit wrote:

> Is there a way to force a particular seed or dynamically reseed the
> random number generator in Labview?
0 Kudos
Message 3 of 3
(2,568 Views)