niHSDIO_ConfigureInitialStateU32
- Updated2023-02-21
- 1 minute(s) read
ViStatus = niHSDIO_ConfigureInitialStateU32 ( ViSession vi, ViUInt32 initialState);
Purpose
Sets the Initial state for a dynamic generation operation. The Initial state of each channel is driven after the session is initiated using the niHSDIO_Initiate function. Channels remain unchanged until the first waveform sample is generated.
Unlike the niHSDIO_ConfigureInitialState function which uses a string, this function uses a binary format to only represent high and low. If you require more choices for your Initial state, use the niHSDIO_ConfigureInitialState function.
Related topics:
Parameters
| Input | ||
| Name | Type | Description |
| vi | ViSession | Identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function. |
| Initial State | ViUInt32 | Specifies the bit mask representing the Initial state. High is specified with a 1, and low is specified with a 0. |
Return Value
| Name | Type | Description | ||||||||
| Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code, call the niHSDIO_error_message function. To obtain additional information concerning the error condition, use the niHSDIO_GetError and niHSDIO_ClearError functions. The general meaning of the status code is as follows:
|