# Initialize External Calibration (niSync) (G Dataflow)

Version:

Begins an external calibration session for the specified device.

This function returns an instrument driver session handle that you can use to adjust calibration constants for the module or read current calibration constants stored in the device's non-volatile memory. You must close the external calibration session using Close External Calibration.

Note

You must supply the external calibration password of the module for the operation to succeed. Refer to the device's calibration documentation for the default external calibration password.

## resource name

The resource name of the module to initialize. You can assign the resource name in NI Measurement & Automation Explorer (MAX).

Optional fields are shown in square brackets.

Syntax for Resource Names

Use the following syntax to specify resource names for this parameter:

PXI[bus number]::device number

VISA aliases are also valid for the resource name.

Resource Name Examples

Resource Name Description
Dev1 DAQmx name (set in MAX)
PXI1Slot5 DAQmx name
PXI0::15::INSTR PXI bus 0, device number 15
PXI::15::INSTR PXI bus 0, device number 15
PXI4::9::INSTR PXI bus 4, device number 9

## 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

The external calibration password for the module.

You must enter the correct case-sensitive password exactly as it is stored in the device's non-volatile onboard memory to begin an external calibration session.

Note

## calibration instrument handle out

An instrument handle you use to identify the device in all subsequent NI-Sync nodes, including external calibration nodes.

## 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

Web Server: Not supported in VIs that run in a web application