MX Foundation 4
Sampling Filtering

The sampling service can filter out unwanted IDs automatically. The mxfCanBusRxSamplingMsgSelectSet() function allows the selection of the IDs that should be sampled.

If filtering is set for specific IDs, each ID will use one of the 256 messages spot available. (see Messages ID)

HMXF_BUFFER buffer;
uint64 ID=0x08120000;
uint32 rc;
...
// Samples only ID 0x08120000
if (!rc)
rc = mxfCanBusRxSamplingMsgSelectSet(buffer, MXF_MSG_SELECT_ONLY, 1, &ID);
...
Updated 10/23/2023