MX Foundation 4
|
The Bus Monitor is used to record bus traffic with choices to attach a time tag to each word (Word Mode), each string (String Mode) or each message (Message Mode).
Using Message Mode, the entire message (command-response, maximum of 36 16-bit words) will be time-tagged and stored in the acquisition queue and/or the sampling table. In this mode, the mxfMIL1553DataRecordDecompose() and mxfMIL1553SamplingRecordDecompose() functions may be used to decompose the received messages. With the MIL-STD-1760 option, the checksum detection must be enabled by the mxfMIL1553MsgChecksumEnableSet() function. When the checksum detection is enabled for a specific message type/address/subaddress, the result bit (MXF_MIL1553_RX_REC_CTRL_MSG_CHECKSUM_ERROR) will be relevant in the control word of corresponding messages.
Using String Mode, a string includes all consecutive words on the bus (command, command/data, status, status/data). With the MIL-STD-1760 option, the checksum will always be computed and the result bit (MXF_MIL1553_RX_REC_CTRL_STRING_CHECKSUM_ERROR) will be relevant in the control word of each string. Sampling is not available with this mode.
Using Word Mode, each 16-bit word will be time-tagged and stored in the acquisition queue. With the MIL-STD-1760 option, the checksum will be always computed and the result bit (MXF_MIL1553_RX_REC_CTRL_WORD_CHECKSUM_ERROR) will be significant in the control word of the last word of a string (MXF_MIL1553_RX_REC_CTRL_WORD_EOS bit set). Sampling is not available with this mode.
The Bus Monitor mode is selected using the mxfAttributeUint64Set() function with the KMXF_MIL1553_BM_MODE attribute key constant.