Help Icon
Search Results for

    Show / Hide Table of Contents

    *OPC

    Description

    This command sets the operation complete bit in the status byte register, when all pending operations have been finished.

    Command

    Syntax Parameter
    *OPC none

    Sample usage

    visaSession.write('*CLS*\n')
    visaSession.write('*OPC\n')
    response = visaSession.query('*ESR?\n')
    print(response)
    

    Output

    1 (when no operations are running)

    0 (when an operation is still ongoing)

    Related commands

    *OPC?

    In this article
    Back to top Generated by DocFX