Performs the GPIB operation indicated by command string. Use this low-level function when the other high-level, traditional GPIB functions are not suitable.


icon

Inputs/Outputs

  • cstr.png command string

    command string is the GPIB operation to perform.

    The following table shows the functions you can specify in command string.

    Note address is the address in the command string.
    FunctionsTypeDescription
    cac 0/1ControllerBecome active controller.
    cmd stringControllerSend IEEE 488 commands.
    dma 0/1ControllerSet DMA mode or programmed I/O mode.
    gts 0/1ControllerGo from active controller to standby.
    ist 0/1ControllerSet individual status bit.
    lloControllerLocal lockout.
    locControllerPlace controller in local state.
    loc addressDeviceGo to local.
    offControllerTake controller offline.
    off addressDeviceTake device offline.
    pct addressDevicePass control.
    ppc byteControllerParallel poll configure (enable or disable).
    ppc byte addressDeviceParallel poll configure (enable or disable).
    ppuControllerParallel poll unconfigure all devices.
    rppControllerConduct parallel poll.
    rsc 0/1ControllerRequest or release system control.
    rsv byteControllerRequest service and/or set the serial poll status byte.
    sicControllerSend interface clear and set remote enable (REN).
    sre 0/1ControllerSet or clear remote enable (REN).

    To specify the GPIB Controller used by this function, use a command string in the form, ID: xxx, where ID is the GPIB Controller (bus number) and xxx is the three-character command and its corresponding arguments, if any. If you do not specify a Controller ID, LabVIEW assumes 0.

    Refer to GPIB Device and Controller Functions for more information.

  • cerrcodeclst.png error in

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

  • istr.png output string

    output string is the response the function returns when you conduct a parallel poll with the rpp command string. Set output string only when you use the rrp command string.

  • 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 BitNumeric ValueSymbolic StatusDescription
    01DCASDevice Clear state
    12DTASDevice Trigger State
    24LACSListener Active
    38TACSTalker Active
    416ATNAttention Asserted
    532CICController-In-Charge
    664REMRemote State
    7128LOKLockout State
    8256CMPLOperation Completed
    124096SRQISRQ Detected while CIC
    138192ENDEOI or EOS Detected
    1416384TIMOTimeout
    15-32768ERRError Detected
  • ierrcodeclst.png error out

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