Hi Oliver,
I think you have two numeric controls and a "generate" button on the front panel. When generate was hit do the following:
Use "initialze array" to generate a two dimensional array using the numeric controls for the sizes and a contant of the data type you want here a DBL.
Create a For loop. Create a shift register and connect the array to the shift register. Connect one of the numeric controls to the N.
Inside this loop create another For loop with a shift register. Connect the shift register from the outer loop to the shift register and the iteration to this loop. Connect the other numeric control to the N.
Inside the second loop generate your random number, use Replace Array Element with the two iterations connected to the indexe
s. The input and output of Replace Array Element is connected to the shift registers.
At the right shift register of the outer For loop you get the array with the random numbers. Then use Write to spreadsheet file.vi.
I hope this helps
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions