Clears a single device.

Use the DevClearList function to send the Selected Device Clear (SDC) message to several GPIB devices.

Refer to GPIB Function Defaults for more information about the timeout and address defaults.


icon

Inputs/Outputs

  • ci32.png bus

    bus refers to the GPIB bus number. If you have only one GPIB interface in your computer, the default bus number is 0.

    Refer to the software installation instructions included with the GPIB controller for additional GPIB interfaces.

  • ci16.png address

    address sends the GPIB SDC message to the device at address.

    If the address terminal is not wired, the function sends the Universal Device Clear message to all devices on the GPIB. If a secondary address is required, use the MakeAddr function to put the primary and secondary addresses in the proper format.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1dbool.png status

    status is a Boolean array in which each bit describes a state of the GPIB Controller.

    If an error occurs, the function sets bit 15. GPIB error is valid only if bit 15 of status is set.

    The following table shows the numeric value and symbolic status of each bit in status. This table also includes a description of each bit.

    Status Bit Numeric Value Symbolic Status Description
    0 1 DCAS Device Clear state
    1 2 DTAS Device Trigger State
    2 4 LACS Listener Active
    3 8 TACS Talker Active
    4 16 ATN Attention Asserted
    5 32 CIC Controller-In-Charge
    6 64 REM Remote State
    7 128 LOK Lockout State
    8 256 CMPL Operation Completed
    12 4096 SRQI SRQ Detected while CIC
    13 8192 END EOI or EOS Detected
    14 16384 TIMO Timeout
    15 -32768 ERR Error Detected
  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.