IviRFSigGen_ConfigurePulseOutput

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigurePulseOutput

IviRFSigGenPulseGeneratorOutput Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigurePulseOutput (ViSession vi, ViInt32 polarity, ViBoolean enabled);

Purpose

This function configures the output and polarity of the pulse generator within the RF signal generator.

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

polarity ViInt32 Specifies the polarity of the output signal. The driver uses this value to set the IVIRFSIGGEN_ATTR_PULSE_OUTPUT_POLARITY attribute.

Defined Values:
IVIRFSIGGEN_VAL_PULSE_OUTPUT_POLARITY_NORMAL
- Normal polarity

IVIRFSIGGEN_VAL_PULSE_OUTPUT_POLARITY_INVERSE
- Inverted polarity

Default Value:
IVIRFSIGGEN_VAL_PULSE_OUTPUT_POLARITY_NORMAL

enabled ViBoolean Enables the pulse generator external output. The driver uses this value to set the IVIRFSIGGEN_ATTR_PULSE_OUTPUT_ENABLED attribute.

Valid Values: VI_TRUE; VI_FALSE

Default Value: VI_FALSE

Return Values