Export Attribute Configuration Buffer
- Updated2023-02-17
- 2 minute(s) read
Export Attribute Configuration Buffer
Exports a session configuration to a buffer.
This node verifies that the session configuration is valid. If the configuration is invalid, this node returns an error.
Inputs/Outputs

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

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

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

buffer
Byte array that contains the exported configuration.

error out
Error information.
The node produces this output according to 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.
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.