Table Of Contents

Adjust Offset Calibration (G Dataflow)

Version:
    Last Modified: March 3, 2017

    For the NI 5102, this function externally calibrates a specified channel and vertical range.

    Call this function before calling Adjust Range Calibration to perform a preliminary offset calibration. The first time this function is called, a default vertical range parameter is used in the driver to calibrate the vertical offset. When this function is called again after Adjust Range Calibration, it performs a precise offset calibration using the calibrated vertical range.

    spd-note-note
    Note  

    Use this function only when following the NI 5102 Calibration Procedure (Start»All Programs»National Instruments»NI-SCOPE»Documentation»Calibration).

    connector_pane_image
    datatype_icon

    session in

    The instrument handle that you obtain from Start Calibration. The handle identifies a particular instrument session.

    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

    channels

    The channel to calibrate.

    Channel String Syntax

    This input parameter has the following options:

    • A single channel, such as 0.
    • A list of channels, such as 0,1 or 3,2,1,0
    • A range of channels, such as 0-7 or 0:7.
    • All channels, which is designated by an empty string.
    spd-note-note
    Note  

    The order of channels in a list is important. The attributes are set on the channels in the order they occur in the string.

    datatype_icon

    range

    The vertical range, in volts, to calibrate.

    datatype_icon

    session out

    Passes the instrument handle to the next node in the program. This parameter has the same value as 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.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics