Export Attribute Configuration Buffer

Exports a session configuration to a buffer.

Note You can export and import supported configurations only between NI-DCPower devices with identical model numbers and the same number of initialized channels.

This node verifies that the session configuration is valid. If the configuration is invalid, this node returns an error.

Inputs/Outputs

datatype_icon

session in

Handle that identifies the NI-DCPower instrument session as previously allocated by Initialize With Independent Channels .

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

Default value: No error

datatype_icon

session out

Reference to the NI-DCPower instrument session to pass to the next node in the program.

datatype_icon

buffer

Byte array that contains the exported configuration.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Supported Configurations

You can export and import the following configurations between NI-DCPower sessions:

  • Attribute configurations
  • Advanced sequences

Support for Sequences

You must set the session source mode to Sequence in order to configure or export and import advanced sequences.

Note Exporting and importing simple sequences between sessions in Sequence source mode is unsupported.

Channel Mapping Behavior

When importing and exporting configurations between NI-DCPower sessions that were initialized with different channels, the configurations of the exporting channels are mapped to the importing channels based on the order of the resources you specify in the resource name input to the Initialize With Independent Channels node for each session.

Refer to Import/Export Attribute Configuration Mapping Behavior for details.