| optoMDC

Loading...
Searching...
No Matches
Functions
optoMDC.tools.parsing_tools Namespace Reference

## Functions
| parse_error_flags_mre2 (int error_flag_data)
| parse_error_flags_mre3 (int error_flag_data)

## Function Documentation

## ◆ parse_error_flags_mre2()

optoMDC.tools.parsing_tools.parse_error_flags_mre2 | ( | int | error_flag_data | ) |

        Parses error flag register values. Given error number, returns error string.

        Parameters
        ----------
        error_flag_data : int
            Error code hex number, will convert if string.

        Returns
        -------
        code: str
            Error code dictionary.

## ◆ parse_error_flags_mre3()

optoMDC.tools.parsing_tools.parse_error_flags_mre3 | ( | int | error_flag_data | ) |

    Parses error flag register values. Given error number, returns error string.

    Parameters
    ----------
    error_flag_data : int
        Error code hex number, will convert if string.

    Returns
    -------
    code: str
        Error code dictionary.