Table Of Contents

Import Attribute Configuration (Import Attribute Configuration File) (G Dataflow)

Last Modified: April 2, 2018

Imports an attribute configuration to the session from the specified file.

spd-note-note
Note  

You can export and import session attribute configurations only between NI-SCOPE devices with identical model numbers, channel counts, and onboard memory sizes.

Programming Patterns

You cannot call this node while the session is in a running state, such as while acquiring a signal.

connector_pane_image
datatype_icon

session in

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

datatype_icon

file path

Absolute path to the attribute configuration file.

If you specify an empty or relative path, this node returns an error.

Default File Extension

.niscopeconfig
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

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

datatype_icon

session out

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

datatype_icon

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


Recently Viewed Topics