slrealtime.EtherCAT.filterNotifications
Syntax
Description
slrealtime.EtherCAT.filterNotifications()
prints the valid EtherCAT notification values and their text
descriptions.
slrealtime.EtherCAT.filterNotifications(
extracts from tlog
, olog
, suppress
)olog
the notification values from the
EtherCAT Get Notifications block, and from
tlog
, the times at which these values occurred.
If the suppress
vector is nonempty, the function removes
from the output list the notification values that appear in the vector. For each
notification listed in the suppress
vector, the function
prints the total number of occurrences and the time range over which they
occurred.
When you are debugging EtherCAT® issues, use this function. You must have advanced knowledge about EtherCAT functionality.
returns a structure vector containing the filtered values.filtered_values
= slrealtime.EtherCAT.filterNotifications(tlog
, olog
, suppress
)
[
returns a structure vector containing the filtered values and a structure
containing a summary of the suppressed values.filtered_values
suppressed_values
]
= slrealtime.EtherCAT.filterNotifications(tlog
, olog
, suppress
)
Examples
Input Arguments
Output Arguments
Tips
Common error conditions, such as an unplugged Ethernet cable, can cause thousands of unwanted notifications that hide useful notifications. To filter unwanted notifications, use the
suppress
vector.
Version History
Introduced in R2020b