Help Icon
Search Results for

    Show / Hide Table of Contents

    :SYSTem:ERRor:ALL

    Description

    Queries the error/event queue for all the unread items and removes them from the queue. The response is a comma separated list of number, string pairs in FIFO order. If the queue is empty, the response is 0,"No erro".

    Note

    If the queue is not empty, the 0,"No error" is not sent.

    • Query
    Syntax Response
    :SYSTem:ERRor:ALL? <error 1>,...,<error N>
    Response value meaning
    <error 1>,... 1st error
    <error N> Nth error

    N is related to the number of errors currently in the queue. The errors <error 1> to <error N> itself have the same appearance as defined in :SYSTem:ERRor:NEXT.

    Sample usage

    • C#
    var visaSession = new TcpipSocket(VISA_RESOURCENAME);
    visaSession.RawIO.Write(":SYST:ERR:ALL?\n");
    Console.WriteLine(visaSession.RawIO.ReadString());
    

    Output:

    0,"No error"

    • Python
    response = visaSession.query(':SYST:ERR:ALL?\n')
    print(response)
    

    Output:

    0,"No error"

    Related commands

    :SYSTem:ERRor:ALL?

    :SYSTem:ERRor[:NEXT]?

    :SYSTem:ERRor:COUNt?

    References

    Error List of all posible errors

    In this article
    Back to top Generated by DocFX