MX Foundation 4

Functions

uint32 mxfNextRecordPtrGet (uint64 channelClass, uint64 recType, void *currentRec, void **nextRec)
 

Detailed Description

Function Documentation

uint32 mxfNextRecordPtrGet ( uint64  channelClass,
uint64  recType,
void *  currentRec,
void **  nextRec 
)
C#
public static extern UInt32 mxfNextRecordPtrGet(UInt64 channelClass, UInt64 recType, IntPtr currentRec, out IntPtr nextRec);

Returns the next buffer address in a buffer array.

Parameters
[in]channelClasschannel class
Constant Description
MXF_CLASS_A429 ARINC 429 record
MXF_CLASS_CSDB CSDB record
MXF_CLASS_DISCRETE DISCRETE record
MXF_CLASS_A629 ARINC 629 record
MXF_CLASS_MIL1553 MIL-1553 record
MXF_CLASS_A717 ARINC 717 record
MXF_CLASS_A708 ARINC 708 record
MXF_CLASS_HDLC HDLC record
MXF_CLASS_EMBEDDED Embedded record
MXF_CLASS_ASYNC_ENHANCED ASYNC record
MXF_CLASS_A664 ARINC 664 record
MXF_CLASS_CANBUS CAN record
MXF_CLASS_ANALOG Analog record
MXF_CLASS_HFCE HFCE record
MXF_CLASS_ASCB ASCB record
MXF_CLASS_PULSE Pulse record
MXF_CLASS_FLEXANALOG Flex Analog record
MXF_CLASS_FLEXDIO FLEXDIO record
[in]recTyperecord type;
  • MXF_RECTYPE_DATAREC: Data Record
  • MXF_RECTYPE_SAMPREC: Sampling Record
[in]currentRecpointer to the beginning or the current record in the buffer
[out]nextRecpointer to next record in the buffer
Returns
MAXT_SUCCESS is returned when the function has succeeded.
Refer to mxf_error.h for a list of defined errors.
Call mxfSystemErrorStringGet() to transform the return code into a text string.
Availability:
Available in MX Foundation 4.0 and later.
See also
mxfDeviceCommBufferWrite()
mxfDeviceCommBufferRead()
mxfEmbeddedTxBufferWrite()
mxfEmbeddedRxBufferRead()
mxfRxAcqRead()
mxfRxSamplingRead()
mxfTxAperiodicWrite()
mxfTxPeriodicUpdateMsgWrite()
mxfEmbeddedNVStorageFileMsgRead()
mxfEmbeddedNVStorageFileMsgWrite()
Examples:
ar429_rx_acquisition_trigger.c, ar429_rx_acquisition_trigger.cs, csdb_rx_acquisition_trigger.c, csdb_rx_acquisition_trigger.cs, discrete_rx_acquisition_trigger.c, discrete_rx_acquisition_trigger.cs, mil1553_bm_acquisition_trigger.c, mil1553_embedded_async_to_1553.c, mil1553_embedded_async_to_1553.cs, mil1553_embedded_update_embedded.c, mil1553_embedded_update_host.c, and mil1553_embedded_update_host.cs.
Updated 03/30/2022