I NEED TO GENERATE RANDOM NUMBERS AT A DETERMINED FREQUENCY
WITHIN THE CONFIGURED TIME.
FOR EXAMPLE MY CONFIGURED TIME IS 30 SECONDS AND
I WANT TO GENERATE RANDOM NUMBERS EVERY 400 mS,
AND THESE RANDOM NUMBERS PUT INSIDE AN ARRAY
I suggest you to take some online course, you can find these here (pay special attention to shift registers, and timing):
(from Hooovahh copypaste)
-MyRIO Project Essentials Guide (lots of good simple circuits with links to youtube demonstrations)
most of the things in your VI doesn't make any sense - and seem unrelated to your problem…
FOR EXAMPLE MY CONFIGURED TIME IS 30 SECONDS AND I WANT TO GENERATE RANDOM NUMBERS EVERY 400 mS, AND THESE RANDOM NUMBERS PUT INSIDE AN ARRAY
No need to shout - or is your keyboard broken?
All you need is a Quotient&Remainder function, a FOR loop with a wait and the Random function inside. LabVIEW does the rest by autoindexing!
FOR i:= 0 to "configured time" QR delay rnd() wait(delay) NEXT
As a first step, please explain to me why the thread is named "PARALLEL PROCESS". Where is the parallel part?
As a second step, try sprinkle a little bit more thought into whatever you are wiring. For example, look at the two locations (A, B) in the image. There is no logic to your logic!
What do you think would happen if you remove the "select" (A), the "OR" (B), and the three boolean diagram constants and just wire across? Nothing would change! Both constructs just return the boolean input unchanged. Right?
Just plain silly!
My apologies -- I didn't notice you attached some code until I read Altenbach's post. So here are some hints:
You also need to properly define what you mean by a "random number".
What should the user see during the run? e.g.