From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating pseudorandom bit sequence

Can you generate a digital PRBS signal e.g. PN9, and add different coding to it in Labview?
Also can the signal data be converted to a known format so that is can be imported by another application? Ex. Matlab ASCII format.
0 Kudos
Message 1 of 2
(3,407 Views)
If you have the analysis toolkit than there is a VI for creating PRBS signals. The VI is called "MLS Sequence Waveform" and is located in the Waveform Generation palette. It creates for you based on a seed and polynomial order an analog waveform containing a PRBS signal of 0's and 1's.

I guess you could then export that waveform to some ASCII file for use in another application via the File I/0 functions found in the waveform datatype palette. You could even just pull the 1d array out of the analog waveform and use the high level VIs found in the basic File I/O palette.

Hope this helps. -Jared
0 Kudos
Message 2 of 2
(3,407 Views)