IviSpecAn_AcquisitionStatus

CVI/LabWindows IVI Class Driver

IviSpecAn_AcquisitionStatus

IviSpecAnBase Capability Group

C Function Prototype

ViStatus IviSpecAn_AcquisitionStatus (ViSession vi, ViInt32* acquisitionStatus);

Purpose

This function determines if an acquisition is in progress or complete.

Parameters

Name Type Description
vi ViSession The ViSession handle that you obtain from the IviSpecAn_init or IviSpecAn_InitWithOptions function. The handle identifies a particular instrument session.

Default Value: None

acquisitionStatus ViInt32 Returns the acquisition status.

Valid Values:

IVISPECAN_VAL_ACQUISITION_STATUS_COMPLETE (1) - The
spectrum analyzer has completed the acquisition.

IVISPECAN_VAL_ACQUISITION_STATUS_IN_PROGRESS (0) - The
spectrum analyzer is still acquiring data.

IVISPECAN_VAL_ACQUISITION_STATUS_UNKNOWN (-1) - The
spectrum analyzer cannot determine the status of the
acquisition.

Return Values