read
Syntax
Description
[
        reads the next packet from the VMEbus International Trade Association (VITA) 49 file
        specified by the input VITA 49 file reader object, signalDataPacket,contextPacket,contextPacketChangeIndex] = read(vita49ReaderObj)vita49ReaderObj, and
        returns the signal data packet, signalDataPacket, and context packet,
          contextPacket. The function also returns the starting
        indices of the signal data packets after any new context packet arrival, in contextPacketChangeIndex. Note that the read
         function will terminate if it finds any ill-formatted packet while reading the
        file.  
[
        reads the next packet form the VITA 49 data specified by signalDataPacket,contextPacket,contextPacketChangeIndex,commandPacket,processedLength] = read(vita49ReaderObj,data)data variable
        in the VITA 49 file reader object, vita49ReaderObj. The function also
        returns the number of decoded bytes processedLength from the given VITA
        49 data. 
[___] = read(
        specifies one or more optional name-value arguments, in addition to the output arguments
        from the previous syntax. For example, vita49ReaderObj,Name=Value)StreamID=2 sets the stream
        identifier to 2. 
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2022b