09-26-2005 05:59 AM
09-26-2005 06:34 AM
hi there
well:
1. create an array R = {0,1,2,3,4,5} (all valid numbers). use a for loop with autoindexing to do this
2. create a random number i_1 between 0 and 5
3. extract R[i_1]. that's your first random number
4. replace R[i_1] with R[5]
5. create a random number i_2 between 0 and 4
6. extract R[i_2]. that's your second random number
...
repeat the whole thing until R is empty
Have fun!
09-26-2005 07:18 AM
09-26-2005 08:05 AM
09-26-2005 08:09 AM
Hi Thomy,
Actually, the thread I was referring to is for CVI. However, I am posting it for your reading pleasure 😉
Enjoy:
http://forums.ni.com/ni/board/message?board.id=180&message.id=14470&query.id=0#M14470
JLV
😄