LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone know a quick way to generate a psuedo-random serial-digital waveform in Labview?

Anyone know a quick way to generate a psuedo-random serial-digital waveform in Labview?
The generated waveform is only used for convolution routines, so there is no hardware interface.
Thanks!
0 Kudos
Message 1 of 6
(3,237 Views)
I am not sure what you mean by serial-digital, but the other part is easy. Put the random mumber generator (the dice in the Numeric palette) in a for loop. Use a comparison function to convert the numeric values to boolean, (0,1), or whatever you need. Wire the output through an autoindexing tunnel on the for loop and you have an array with your waveform.

Lynn
Message 2 of 6
(3,237 Views)
Thanks Lynn,
You have me on the right track.
FYI,
What I meant by serial-data stream is - 001101001011101010110001...
So I'll use your suggestion to generate the zero count. Using the above we have 2,0,1,2,1,0,0,1,1,1,0,3. Next, I'll build a waveform knowing the length of the zero sequences.
If anyone knows of a easier way, let me know.
Thanks again,
John
0 Kudos
Message 3 of 6
(3,236 Views)
If you have the full version of LabVIEW, you can use Analyze>Waveform Generation>MLS Sequence Waveform to generate PRBS.
Message 4 of 6
(3,236 Views)
Thank you Dennis,
My upgrade is scheduled for delivery this coming Monday, so I'll give your suggestion a try.
Thanks again,
John
0 Kudos
Message 5 of 6
(3,237 Views)
Hello
Perhaps you should download this example about 802.16 simulation from Iam Wong. It has MLS digital sequence generator, ramdomizer etc, that can be useful for your application.
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=E0EA5A0999A31346E034080020E74861&p_node=DZ52004&p_submitted=N&p_rank=&p_answer=&p_source=External
Hope it helps.
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 6 of 6
(3,237 Views)