User manual

2.3.98 AcqrsD1_waitForEndOfProcessing
Purpose
Waits for the end of on-board data processing. . This routine is for Analyzers only.
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
timeout ViInt32 Timeout in milliseconds
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
Discussion
This function will return only after the on-board processing has terminated or when the requested timeout
has elapsed, whichever comes first. For protection, the timeout is clipped to a maximum value of 10
seconds. If a larger timeout is needed, call this function repeatedly.
While waiting for the processing to terminate, the calling thread is put into 'idle', permitting other threads or
processes to fully use the CPU.
If the processing times out, the returned status is
ACQIRIS_ERROR_PROC_TIMEOUT, in which case you
should use AcqrsD1_stopProcessing to stop the processing. Otherwise, the returned status is
VI_SUCCESS.
Programmer’s Reference Manual Page 186 of 210