Exports the attribute configuration of a session to either a file or a buffer.

You can export and import session attribute configurations only between NI‑SCOPE devices with identical bus types, model numbers, channel counts, and onboard memory sizes and between NI-SCOPE sessions with the same number of initialized channels.

This VI verifies that the attributes you have configured for the session are valid. If the configuration is invalid, NI‑SCOPE returns an error.

Related topics:

Attributes and Attribute Functions

Setting Attributes Before Reading Attributes


icon

Details

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 niScope Initialize With Options or niScope Initialize VIs.

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.
Note NI-SCOPE will return an error if the total number of channels initialized for the exporting session is not equal to the total number of channels initialized for the importing session.