IviDmm_GetApertureTimeInfo

CVI/LabWindows IVI Class Driver

IviDmm_GetApertureTimeInfo

IviDmmDeviceInfo Capability Group

C Function Prototype

ViStatus IviDmm_GetApertureTimeInfo (ViSession vi ViReal64 *apertureTime, ViInt32 *apertureTimeUnits);

Purpose

This function returns additional information about the state of the instrument. Specifically, it returns the aperture time and the aperture time units.

Parameters

Inputs Type Description
vi ViSession The instrument handle that you obtain from the IviDmm_init or IviDmm_InitWithOptions functions. The handle identifies a particular IVI session.
apertureTime ViReal64 Returns the value of the IVIDMM_ATTR_APERTURE_TIME attribute. The units of this attribute depend on the value of the IVIDMM_ATTR_APERTURE_TIME_UNITS attribute.
     
Outputs Type Description
apertureTime
Units
ViInt32 Returns the value of the IVIDMM_ATTR_APERTURE_TIME_UNITS attribute.

Valid Return Values:

IVIDMM_VAL_SECONDS

IVIDMM_VAL_POWER_LINE_CYCLES—Powerline cycles

Return Values