NI-HSDIO C Function Reference

niHSDIO_Initiate

  • Updated2023-02-21
  • 1 minute(s) read

ViStatus = niHSDIO_Initiate ( ViSession vi);

Purpose

Commits any pending attributes to hardware and starts the dynamic operation (refer to the niHSDIO_CommitDynamic function for more information about committing).

For a generation operation with a Start trigger configured, calling this function causes the channels to go to their Initial states.

This function is valid only for dynamic operations (acquisition or generation). It is not valid for static operations.

Related topics:

Parameters

Input
Name Type Description
vi ViSession Identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function.

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:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience