Initialize With Options
- Updated2023-02-17
- 3 minute(s) read
Initialize With Options
Creates and returns a new session to the specified digital pattern instrument to use in all subsequent node calls.
Inputs/Outputs

option string
The initial values of certain properties for the NI-Digital Pattern Driver session. The string can be empty.
You can use the DriverSetup flag to simulate a digital pattern instrument. When simulating a digital pattern instrument, you must specify the model you want to simulate. For example, Simulate = 1, DriverSetup = Model:6570.

resource name
Resource name of the instrument to initialize. IVI logical names can be valid resource names.
Assigning Resource Name
For example, PXI1Slot3, where PXI1Slot3 is an instrument resource name.

ID query
A Boolean that verifies that the digital pattern instrument you initialize is supported by NI-Digital. NI-Digital automatically performs this query, so setting this parameter is not necessary.
| True | The instrument you are initializing is supported by NI-Digital. |
| False | The instrument you are initializing is not supported by NI-Digital. |
Default value: True

reset
A Boolean that specifies whether to reset a digital pattern instrument to a known state when the session is initialized. Setting the reset value to TRUE is equivalent to calling the niDigital Reset node immediately after initializing the session.
| True | The digital pattern instrument resets to a known state when the session is initialized. |
| False | The digital pattern instrument does not reset to a known state when the session is initialized. |
Default value: True

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
Handle that identifies the session in all subsequent NI-Digital node calls.

error out
Error information.
The node produces this output according to standard error behavior.