LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to simulate the signals

Instead of getting the signals from scxi , i want to simulate some 128 signals for testing my software.I have used array of 128,annd given random input.But it was not working properly.Anybody developed the same please help me in finding out the logic.
0 Kudos
Message 1 of 3
(2,705 Views)
The easiest way is to use a For loop with the Random Number function inside the loop. Wire the random number output to an array indicator outside of the loop. The For loop will autoindex and create the array. Wire a control or constant to the count (N) terminal of the loop to determine the array size. You can scale the output of the Random Number function by mulitplying it by some number if you want your array to have a greater range than 0-1.
See the attached LabView 6.1 example.
0 Kudos
Message 2 of 3
(2,705 Views)
Thank u very much.I have sucessfully simulated.
0 Kudos
Message 3 of 3
(2,705 Views)