Help Icon
Search Results for

    Show / Hide Table of Contents

    :SYSTem:ERRor:COUNt

    Description

    This command gets the the number of errors in the error queue. If the queue is empty zero will be retruned. Use :SYSTem:ERRor[:NEXT]? to read an error.

    • Query
    Syntax Response
    :SYSTem:ERRor:COUNt? <numeric>
    Response value meaning
    <numeric> the actual number of errors in the error queue

    Sample usage

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

    Output:

    0

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

    Output:

    0

    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