GX1110, GX1120
Function Generator mode only.
Returns the square wave duty cycle.
GtWaveFuncGetSquareWaveDutyCycle (nHandle, nChannel, pdDutyCycle, pnStatus)
The Function Generator needs to be loaded with a Square wave prior calling this function.
The following example returns the square wave duty cycle:
DOUBLEdDutyCycle;
GtWaveFuncGetSquareWaveDutyCycle (nHandle, GTWAVE_CHANNEL_A, &dDutyCycle, &nStatus);
GtWaveFuncSetWaveform, GtWaveFuncSetSquareWaveDutyCycle, GtWaveFuncSetFrequency, GtWaveFuncSetPhase, GtWaveGetErrorString