niHSDIO Commit

NI Digital Waveform Generator/Analyzer

niHSDIO Commit

Programs the hardware for the data operation using the properties you select. Before entering the committed state, most property values are stored in software only; these values have not yet been programmed to the hardware. Once the session is committed, the hardware is configured. Details

Use the pull-down menu to select an instance of this VI.

Dynamic

This instance of niHSDIO Commit configures the hardware for a dynamic operation. Start the operation with the niHSDIO Initiate VI. If you commit while the dynamic operation is in progress, you receive an error.

For many operations it is not necessary to explicitly use the Dynamic instance of the niHSDIO Commit VI because the following VIs implicitly commit: niHSDIO Initiate, niHSDIO Read Waveform, niHSDIO Write Named Waveform, and niHSDIO Write Script.

instrument handle identifies your instrument session. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
instrument handle out passes a reference to your instrument session to the next VI. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

Static

This instance of niHSDIO Commit configures the hardware for a static operation. For most static operations, it is not necessary to explicitly use the Static instance of the niHSDIO Commit VI because the following VIs implicitly commit: niHSDIO Read Static (U32) and niHSDIO Write Static (U32).

instrument handle identifies your instrument session. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
instrument handle out passes a reference to your instrument session to the next VI. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

niHSDIO Commit Details

Committing only programs the hardware properties that have changed since previous commits.

Note  Committing some properties (for example, voltage levels), may have immediate effects seen on the device connectors.
Note  Before committing a session that requires an external clock, ensure the external clock is available. Otherwise you receive an error that the device could not find or lock to the external clock.