Export Attribute Configuration File
- Updated2023-02-17
- 2 minute(s) read
Export Attribute Configuration File
Exports the attribute configuration of the session to the specified file.
This node verifies that the attributes you have configured for the session are valid. If the configuration is invalid, this node returns an error.
Inputs/Outputs

session in
Handle that identifies the NI-SCOPE instrument session as previously allocated by Initialize With Options .

file path
Absolute path to a placeholder file you must create to contain the attribute configuration you want to export.
If you specify an empty or relative path, this node returns an error.
Default file extension: .niscopeconfig

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-SCOPE instrument session to pass to the next node in the program.

error out
Error information.
The node produces this output according to standard error behavior.
Device Mapping Behavior
When exporting and importing configurations between NI-SCOPE sessions that were both initialized with multiple instruments, the configurations of the exporting instruments are mapped to the importing instruments in the order you specify in the resource name input to the Initialize With Options node for each session.
For example, if your entry for resource name is PXI1Slot1,PXI1Slot2 for the exporting session and PXI2Slot2,PXI2Slot3 for the importing session:
- The configuration exported from PXI1Slot1 is imported into PXI2Slot2.
- The configuration exported from PXI1Slot2 is imported into PXI2Slot3.