Configure Initial State String
- Updated2023-02-17
- 3 minute(s) read
Configure Initial State String
Sets the initial state for a dynamic generation operation using a string format. .
The initial state of each channel is driven after the operation is initiated using the Initiatenode. Channels remain unchanged until the operation is initiated. The initial state is active after the session is initiated and until the start trigger generates the first waveform sample.
Inputs/Outputs

session in
Instrument session obtained from the Initialize Acquisition Sessionnode, the Initialize Generation Sessionnode, or the Initialize External Calibrationnode.

channel list
The channels being configured.

initial state
The initial state of a dynamic generation operation.
This expression is composed of characters:
- X or x—Retains the previous value.
- 1—Sets the channel to logic high.
- 0—Sets the channel to logic low.
- Z or z—Disables the channel or sets it to a high-impedance state.
The first character in initial state corresponds to the first channel in channel list. The number of characters in the pattern must equal the number of channels specified in channel list, or the node returns an error. For example, if you are trying to make three channels tristate, the idle state control needs to be "ZZZ" without any commas or spaces.

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 node calls.
The session out parameter is obtained from the Initialize Acquisition Sessionnode or the Initialize Generation Sessionnode.

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