LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arrays

How do you insert a random number into an array we are using an array subset but dont know how to wire in a random number
 
labview 8.0
0 Kudos
Message 1 of 2
(2,663 Views)
Please be more specific. What do you want to do?
 
Obviously, "array subset" will not allow you to insert anything into an array.
  1. Do you have an array of a given size and want to insert a random number to increase the array size by one? --> Use "insert into array"
  2. Do you have an array of fixed lenght, and want to replace one element with a new random number? --> user replace array subset.

In both cases, you can get a random number from the dice (Random number (0..1)) in the numeric palette.

Message 2 of 2
(2,651 Views)