CalFgenSetOutputState

Purpose

Sets the Output State of the Function Generator.

Syntax

CalFgenSetOutputState (hHandle, enOutputState, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Function Generator.
enOutputState
LONG
Set the FGEN Output State.
0.      aOutputStateOn: Output is enabled.
1.   aOutputStateOff: Output is disabled.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function sets the Output State of the Function Generator.

Example

The following example sets the Output State to ON:

 

LONG   lHandle, lStatus;

 

CalFgenSetOutputState (lHandle, aOutputStateOn, &lStatus);

 

See Also

CalFgenSetAmplitude, CalFgenSetFrequency