VITA 49 Packet Format
Versa Module Eurocard (VME) bus International Trade Association (VITA) 49 file reader
reads the signal data packet and context data packet as structures. These structures are
returned as an output by the read
object
function of the vita49Reader
object.
Signal Data Packet
Signal data packets convey digitized intermediate frequency (IF) and radio
frequency (RF) signals. The output structure of the decoded signal data packet of
read
object function contains these fields.
Field | Description | Value | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PacketType | Type of VITA 49 packet, returned as one of these values.
| Integer in the range [0, 7] | ||||||||||||||||||||||
StreamID | Stream ID, as specified by the name-value argument
| 32-bit unsigned integer | ||||||||||||||||||||||
ClassID | Class ID, as specified by the name-value argument
| Character vector or string scalar | ||||||||||||||||||||||
PadBitCount | Pad bit count represents the difference between the nearest multiple of 32 and the actual number of payload bits to pack, returned as a nonnegative integer. Pad bits are required when the size and the number of data items do not completely fill the last 32-bit word of a data packet. | 8-bit unsigned integer | ||||||||||||||||||||||
IntegerTimestampType | Integer timestamp type, returned as
| Character vector or string scalar | ||||||||||||||||||||||
IntegerTimestampValue | Integer timestamp value, in seconds. This value represents the reference point time of the data samples or metadata in the packet, returned to 1-second resolution accuracy. | 32-bit unsigned integer | ||||||||||||||||||||||
FractionalTimestampType | Fractional timestamp, returned as When this value is
| Character vector or string scalar | ||||||||||||||||||||||
FractionalTimestampValue | Fractional timestamp value in picoseconds, represents the reference point time of the data samples or metadata in the packet, returned as a timestamp of higher resolution than the integer timestamp value. | 64-bit unsigned integer | ||||||||||||||||||||||
RawBytes | Raw payload in bytes, which is not decoded, returned as a column vector. | Column vector with 8-bit unsigned integer elements | ||||||||||||||||||||||
IQSamples | Decoded real or complex in-phase quadrature (IQ) Cartesian samples of the signal data, returned as a column vector. This function does not support decoding of complex polar samples. | Column vector with elements of data type
double | ||||||||||||||||||||||
Trailer | Validity of the decoded data and the status of the processes producing that data, returned as a structure with these fields.
| Structure |
Context Packet
Context packets convey information such as the sample rate of the data, the frequency range being transmitted, and the type of modulation used. It also conveys transmit control information that allows the receiver to dynamically adjust various parameters of the transmitted data, such as the gain or frequency offset, to optimize the reception quality to interpret and process the data accurately.
The output structure of the decoded context packet of read
object function contains these fields.
Field | Description | Value | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PacketType | Type of VITA 49 packet, returned as one of these values.
| Integer in the range [0, 7] | ||||||||||||||||||||||||
StreamID | Stream ID, as specified by the name-value argument
| 32-bit unsigned integer | ||||||||||||||||||||||||
ClassID | Class ID, as specified by the name-value argument
| Character vector or string scalar | ||||||||||||||||||||||||
IntegerTimestampType | Integer timestamp type, returned as
| Character vector or string scalar | ||||||||||||||||||||||||
IntegerTimestampValue | Integer timestamp value, in seconds. This value represents the reference point time of the data samples or metadata in the packet, returned to 1-second resolution accuracy. | 32-bit unsigned integer | ||||||||||||||||||||||||
FractionalTimestampType | Fractional timestamp, returned as When this value is
| Character vector or string scalar | ||||||||||||||||||||||||
FractionalTimestampValue | Fractional timestamp value in picoseconds, represents the reference point time of data samples or metadata in the packet, returned as a timestamp of higher resolution than the integer timestamp value. | 64-bit unsigned integer | ||||||||||||||||||||||||
RawBytes | Raw payload in bytes, which is not decoded, returned as a column vector. | Column vector with 8-bit unsigned integer elements | ||||||||||||||||||||||||
ContextFieldChangeIndicator | Bit indicator returned as | 0 (false ) or
1 (true ) | ||||||||||||||||||||||||
ReferencePointIdentifier | Reference point ID consists of the | 32-bit unsigned integer | ||||||||||||||||||||||||
Bandwidth | Usable spectrum at the output of a communication channel, returned as a nonnegative scalar in hertz. | Nonnegative scalar | ||||||||||||||||||||||||
IFReferenceFrequency | IF at which a carrier wave shifts as an intermediate step in transmission or reception of the signal, returned as a real scalar in hertz. | Real scalar | ||||||||||||||||||||||||
RFFrequency | Location in the signal path that corresponds to the original frequency, returned as a real scalar in hertz. | Real scalar | ||||||||||||||||||||||||
RFFrequencyOffset | Intentional slight deviation of the broadcast RF to reduce the interference with other transmitters, returned as a real scalar in hertz. | Real scalar | ||||||||||||||||||||||||
IFBandOffset | IF offset from the
| Real scalar | ||||||||||||||||||||||||
ReferenceLevel | Physical signal amplitude at a reference point relative to the corresponding data sample value, returned as a real scalar in dB. | Real scalar | ||||||||||||||||||||||||
Gain | Amount of signal gain or signal attenuation from the reference point, returned as a real scalar in dB. | Real scalar | ||||||||||||||||||||||||
OverRangeCount | Number of data samples in the paired data packet whose amplitudes are beyond the range of the data item format, returned as a nonnegative integer in dB. | 32-bit unsigned integer | ||||||||||||||||||||||||
SampleRate | Sampling rate of the data samples in the payload of a paired data packet stream, returned as a positive integer in hertz. | Positive integer | ||||||||||||||||||||||||
TimeStampAdjustment | Delay used to adjust the timestamp information of the first packet of the file, returned as a structure with these fields.
| Structure | ||||||||||||||||||||||||
TimestampCalibrationTime | Conveys the date and time at which the timestamp in the data signal packet and context packet was confirmed accurate, returned as a nonnegative integer. | 32-bit unsigned integer | ||||||||||||||||||||||||
StateAndEventIndicator | Conveys a set of binary indications and a limited number of non-binary state indications, returned as a structure with these fields. This structure
field is equivalent to be the
| Structure | ||||||||||||||||||||||||
SignalDataPayloadFormat | Consists of the format of the real or complex signal data (of either 8, 16, or 32 bits) and the data item size, returned as a structure with these fields.
| Structure |
Command Packet
Command packets convey information to control receivers, exciters, platforms, and related components
The output structure of the undecoded command packet of read
object function contains these fields.
Field | Description | Value |
---|---|---|
PacketType | Type of VITA 49 packet, returned as one of these values.
| Integer in the range [0, 7] |
StreamID | Stream ID, as specified by the name-value argument
| 32-bit unsigned integer |
ClassID | Class ID, as specified by the name-value argument
| Character vector or string scalar |
PadBitCount | Pad bit count represents the difference between the nearest multiple of 32 and the actual number of payload bits to pack, returned as a nonnegative integer. Pad bits are required when the size and the number of data items do not completely fill the last 32-bit word of a data packet. | 8-bit unsigned integer |
IntegerTimestampType | Integer timestamp type, returned as
| Character vector or string scalar |
IntegerTimestampValue | Integer timestamp value, in seconds. This value represents the reference point time of the data samples or metadata in the packet, returned to 1-second resolution accuracy. | 32-bit unsigned integer |
FractionalTimestampType | Fractional timestamp, returned as When this value is
| Character vector or string scalar |
FractionalTimestampValue | Fractional timestamp value in picoseconds, represents the reference point time of data samples or metadata in the packet, returned as a timestamp of higher resolution than the integer timestamp value. | 64-bit unsigned integer |
RawBytes | Raw payload in bytes, which is not decoded, returned as a column vector. | Column vector with 8-bit unsigned integer elements |