Main Content

Data Frame Lengths

You can set the frame length of the SDRu Receiver block or comm.SDRuReceiver System object™ to be any integer value. This usage of setting frame length enables more straightforward multirate operation and easier modeling of standards-based packet communications. The default value is 362. This value optimally utilizes the underlying Ethernet packets, which have a size of 1500 8-bit bytes.

Set Frame Length in SDRu Receiver Block

In the block mask of the receiver block, set Samples per frame parameter to the desired frame length.

Set Frame Length in SDRu Receiver System Object

  1. Create a receiver System object. For example:

    radio = comm.SDRuReceiver('Platform','B200','SerialNum','30FD838')

  2. Set the SamplesPerFrame property to the desired frame length.

    radio.SamplesPerFrame=1024
    radio = 
    
      System: comm.SDRuReceiver
    
      Properties:
                           Platform: 'B200'
                          SerialNum: '30FD838'
                     ChannelMapping: 1
                    CenterFrequency: 2.4500e+09
              LocalOscillatorOffset: 0
                               Gain: 8
                          PPSSource: 'Internal'
                        ClockSource: 'Internal'
                    MasterClockRate: 32000000
                   DecimationFactor: 512
                  TransportDataType: 'int16'
                     OutputDataType: 'Same as transport data type'
                    SamplesPerFrame: 1024
                    EnableBurstMode: false        

Related Topics