Main Content

Sources and Sinks

Input and output signals and sequences, and file IO formats

Generate signal source data and noise to simulate communication links. Visualize and analyze the performance of your communications system simulation.

Supported file formats to process captured signals include binary baseband signal and NI™ technical data management solution (TDMS) format files. You can read data into tables or timetables by reading TDMS-files individually, or by reading collections of TDMS-files simultaneously.


Wireless Waveform GeneratorCreate, impair, visualize, and export modulated waveforms


expand all

randiUniformly distributed pseudorandom integers
randerrGenerate bit error patterns
randsrcGenerate random matrix using prescribed alphabet
commsrc.combinedjitterConstruct combined jitter generator object
commsrc.patternConstruct pattern generator object
zadoffChuSeqGenerate root Zadoff-Chu sequence
mask2shiftConvert mask vector to shift for shift register configuration
shift2maskConvert shift to mask vector for shift register configuration
wgnGenerate white Gaussian noise samples
biterrNumber of bit errors and bit error rate (BER)
eyediagramGenerate eye diagram
scatterplotDisplay input signal in IQ-plane
symerrCompute number of symbol errors and symbol error rate
tdmsreadRead data from TDMS file (Since R2022a)
tdmswriteWrite data to TDMS file (Since R2022b)
tdmsinfoInformation about TDMS file (Since R2022a)
tdmsreadpropRead properties as single row table from TDMS file (Since R2022a)
tdmswritepropWrite properties to TDMS file (Since R2022b)


expand all

comm.BarkerCodeGenerate bipolar Barker code
comm.GoldSequenceGenerate Gold sequence from set of sequences
comm.HadamardCodeGenerate Hadamard code
comm.KasamiSequenceGenerate Kasami sequence
comm.OVSFCodeGenerate OVSF code
comm.PNSequenceGenerate a pseudonoise (PN) sequence
comm.RBDSWaveformGeneratorGenerate RDS/RBDS waveform
comm.WalshCodeGenerate bipolar Walsh code
comm.ConstellationDiagramDisplay and analyze input signals in IQ-plane
comm.BasebandFileReaderRead baseband signal from file
comm.BasebandFileWriterWrite baseband signal to file
tdmsDatastoreDatastore for collection of TDMS files (Since R2022a)


expand all

Barker Code GeneratorGenerate bipolar Barker Code
Bernoulli Binary GeneratorGenerate Bernoulli-distributed random binary numbers
Gold Sequence GeneratorGenerate Gold sequence from set of sequences
Hadamard Code GeneratorGenerate Hadamard code from orthogonal set of codes
Kasami Sequence GeneratorGenerate Kasami sequence from set of Kasami sequences
OVSF Code GeneratorGenerate OVSF code
PN Sequence GeneratorGenerate pseudonoise sequence
Poisson Integer GeneratorGenerate Poisson-distributed random integers
Random Integer GeneratorGenerate integers randomly distributed in specified range
Walsh Code GeneratorGenerate Walsh code from orthogonal set of codes
Constellation DiagramDisplay and analyze input signals in IQ-plane
Eye DiagramDisplay eye diagram of time-domain signal (Since R2023b)
Baseband File WriterWrite baseband signals to file
Baseband File ReaderRead baseband signals from file


Related Information