Returns the capture aperture in terms of line cycles
GxDmmGetAperture (nHandle, pdAperture , pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
pdAperture |
PBOOL |
Returns the capture aperture in terms of line cycles (0.02-65) |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The aperture is expressed in terms of Line Cycles as set by the GxDmmSetLineFrequency function. The Aperture can be a fraction of a line cycle. For example, the aperture can be set to 0.1 Line Cycles which would represent approximately 0.00167 seconds if the Line Frequency was set to 60Hz.
The following example gets the aperture:
SHORT nHandle, nStatus;
DOUBLE dAperture;
GxDmmGetAperture (nHandle, &dAperture, &nStatus);
GxDmmSetAperture, GxDmmSetLineFrequency, GxDmmGetLineFrequency, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString