niHSDIO_Abort
Specific Function
C Function Prototype
ViStatus niHSDIO_Abort (ViSession vi);
Purpose
Stops a running dynamic session. This function is generally not required on finite data operations, as they complete on their own after the last data point is generated or acquired. This function is generally required for continuous operations or if you wish to interrupt a finite operation before it has completed.
This function is valid for dynamic operations (acquisition or generation) only. It is not valid for static operations.
Note To avoid receiving hardware clocking errors when reconfiguring an external clock, explicitly call the niHSDIO_Abort function after your finite operation has completed before performing any clocking reconfiguration. An external clock that stops sending pulses to the device (even after a finite operation has completed) may cause NI-HSDIO to return an error, stating that the clock became unlocked, if the device has not implicitly aborted yet. |
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | This handle identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function. |