IviRFSigGen_ConfigurePulseModulationExternalPolarity

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigurePulseModulationExternalPolarity

IviRFSigGenModulatePulse Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigurePulseModulationExternalPolarity (ViSession vi, ViInt32 externalPolarity);

Purpose

This function specifies the polarity of the external source signal.

Parameters

Name Type Description
vi ViSession The ViSession handle that you obtain from the IviRFSigGen_init or IviRFSigGen_InitWithOptions function. The handle identifies a particular instrument session.

Default Value: None

externalPolarity ViInt32 Specifies the polarity of the external source signal. The driver uses this value to set the IVIRFSIGGEN_ATTR_PULSE_MODULATION_EXTERNAL_POLARITY attribute.

Defined Values:

IVIRFSIGGEN_VAL_PULSE_MODULATION_EXTERNAL_POLARITY_NORMAL
- The signal generator modulates the carrier signal with
normal pulse polarity. Increasing the positive pulse
voltage level results in higher RF level.

IVIRFSIGGEN_VAL_PULSE_MODULATION_EXTERNAL_POLARITY_INVERSE
- The signal generator modulates the carrier signal with
inverted pulse polarity. Increasing the positive pulse
voltage level results in lower RF level.

Default Value: IVIRFSIGGEN_VAL_PULSE_MODULATION_EXTERNAL_POLARITY_NORMAL

Return Values