Sets the capture aperture in terms of line cycles
GxDmmSetAperture (nHandle, dAperture, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
dAperture |
PBOOL |
Sets 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 sets the aperture to 0.1 line cycles:
SHORT nHandle, nStatus;
GxDmmSetAperture (nHandle, 0.1, &nStatus);
GxDmmGetAperture, GxDmmSetLineFrequency, GxDmmGetLineFrequency, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString