Creates a new generation session. You can perform static and dynamic generation operations with this session.
Creating a new session does not automatically tristate your front panel terminals or channels that might have been left driving voltages from previous sessions. Refer to the
Close
node
for more information about leaving lines driving after closing a session.
Set
reset instrument
to True to place your device in a known start-up state when creating a new session. This action is equivalent to using the
Reset
node, and it tristates the front panel terminals and channels.
resource name
The specified device name.
For example, the device name could be
PXI1Slot3, where
PXI1Slot3
is assigned by Measurement & Automation Explorer.
option string
An unused parameter. Leave this parameter unwired.
id query
A Boolean that specifies whether the driver performs an ID query on the instrument.
True |
The driver ensures compatibility between the instrument and the driver. |
False |
The driver skips the ID query.
|
Default:
False
reset instrument
A Boolean that specifies whether the driver resets the device during initialization of the session.
True |
The device is reset. |
False |
The device is not reset. |
Note
Resetting your device resets the entire device. Acquisition or generation operations in progress are aborted and cleared.
Default:
False
error in
Error conditions that occur before this node runs.
The node responds to this input according to 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
session out
Handle that identifies the session in all subsequent
node
calls.
The
session out
parameter is obtained from the
Initialize Acquisition Session
node
or the
Initialize Generation Session
node.
error out
Error information.
The node produces this output according to 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