Table Of Contents

GPIB Control ATN (G Dataflow)

Version:
    Last Modified: March 3, 2017

    Controls the state of the GPIB ATN interface line and, optionally, the active controller state of the local interface.

    connector_pane_image
    datatype_icon

    session in

    The resource to be used.

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    mode

    The state of the ATN line and, optionally, the local active controller state.

    Name Value Description
    Deassert ATN 0 Deasserts the ATN line. The GPIB interface corresponding to the VISA session goes to standby.
    Assert ATN 1 Assert ATN line and take control synchronously without corrupting transferred data. If a data handshake is in progress, ATN is not asserted until the handshake is complete.
    Deassert ATN with Handshake 2 Deassert ATN line and enter shadow handshake mode. The local device participates in data handshakes as an Acceptor without actually reading the data. The GPIB interface corresponding to the VISA session goes to standby.
    Assert ATN Immediately 3 Assert ATN line and take control asynchronously and immediately, without regard for any data transfer currently in progress. Use this mode only under error conditions.
    datatype_icon

    session out

    The resource to which a VISA session is opened.

    This output also includes the class for the session, which matches that of session in.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Modifying the ATN Automatically

    Most applications do not require this function. You can use the GPIB Command function to modify the ATN automatically and the GPIB Pass Control function to modify the ATN and controller-in-charge (CIC) state automatically.

    spd-note-note
    Note  

    GPIB Command does not accept VISA sessions of class Instr. The VISA session must be of class GPIB BoardInterface.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics