Skip to content

mbus HFCE Receive Advanced.vi


Description

HFCE Receive Advanced function receives incoming HFCE data and offers advanced tools such as time tags and error detection.

Messages are returned to the user in hfceMsgs. Messages showing errors can be discarded or returned to the user depending on the skipBadMsg boolean. Regardless of this boolean, all incoming data is checked against errors. The errorCount counter increments for each message showing at least one error. The errors output contains detailed error report for each message in hfceMsgs. The mbus HFCE Message Error Decompose decomposes the error output into individual errors and provides the number of errors decoded in each word.

Parameters  
error in in error conditions that occur before entering the function
portHandle in reference to the configured port
skipBadMsg in Messages with error(s) are discarded and not passed to the user's application when set to TRUE. Messages with errors are buffered and passed to user's application when set to FALSE. Default to False.
dmrs in DMRS bus allows odd length messages. When DMRS is set to TRUE, odd length messages are not considered erroneous. Default to True.
HFCE Data out HFCE data received (detailed description below)
portHandle out reference to the configured port
error out out error information
function return out function execution status


HFCE Data  
hfceMsgs out HFCE messages received
msgCount out number of HFCE messages received
wordCount out number of HFCE words received
errorCount out number of erroneous HFCE messages
timetags out HFCE message time tags with nanosecond resolution
errors out HFCE errors. Use mbus HFCE Message Error Decompose.


Handle parameters are available as input and output. Output is a copy of the input and may be used to daisy chain successive VIs and reduce wire density.

Availability

Available in Multibus VI 1.0 and later.

See Also

mbus HFCE Receive.vi

Examples

HFCE Send Receive Advanced Loop.vi
HFCE Send Receive Advanced.vi