Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gpib_open(3)

gpib_read(3)

gpib_write(3)

gpib_service(3)

gpib_cancel(3)

gpib_cmd(3)

xgpib(7)



  gpib_cancel(3)                      CLIX                      gpib_cancel(3)



  NAME

    gpib_cancel - Cancels all outstanding requests on a General Purpose
    Interface Bus (GPIB) channel

  LIBRARY

    Intergraph Device Library (libix.a)

  SYNOPSIS

    #include <sys/xio/xerr.h>

    int gpib_cancel(
      int channel );

  PARAMETERS

    channel   An integer specifying a General Purpose Interface Bus channel

  DESCRIPTION

    The gpib_cancel() function stops any active operation on the specified
    General Purpose Interface Bus (GPIB) channel.  In addition, all
    outstanding control, transfer, and interrupt requests are canceled.

  RETURN VALUES

    Upon successful completion, a value of 0 is returned.  Otherwise, one of
    the following failure codes is returned.

  ERRORS

    The gpib_cancel() function will fail if one of the following is true:

    [XIO_FAILURE]
           The system does not contain the driver needed to support this
           request.

    [GPIB_OUT_OF_RANGE]
           The specified channel is beyond the maximum allowed.

    [GPIB_NOT_OPEN]
           The specified channel is not open.

    [GPIB_NOT_OWNER]
           The specified channel is currently open by another process.

  RELATED INFORMATION

    Functions:  gpib_open(3), gpib_read(3), gpib_write(3), gpib_service(3),



  2/94 - Intergraph Corporation                                              1






  gpib_cancel(3)                      CLIX                      gpib_cancel(3)



    gpib_cmd(3)

    Files:  xgpib(7)



















































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026