Help Icon
Search Results for

    Show / Hide Table of Contents

    *CLS

    Description

    This command clears all status registers (ESR, STB), the event based questionable and operation register and the error queue. The status byte register (STB) keeps real-time information of the operational status of the device (OPER, QUES). So clearing in this context means cleaning up of static information.

    Syntax

    *CLS

    Command Query
    Yes No
    Parameters Accepted Format Possible Errors
    none none none

    Sample usage

    visaSession.write('*CLS\n')
    

    Related commands

    *STB?
    *ESR?
    :STATus:OPERation:CONDition?
    :STATus:OPERation[:EVENt]?
    :STATus:QUEStionable:CONDition?
    :STATus:QUEStionable[:EVENt]?
    :SYSTem:ERRor
    :SYSTem:ERRor:COUNt
    *IDN?

    References

    The status registering model of a SCPI device

    In this article
    Back to top Generated by DocFX