IviRFSigGen_ConfigureRF

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureRF

IviRFSigGenBase Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureRF (ViSession vi, ViReal64 frequency, ViReal64 powerLevel);

Purpose

This function configures the frequency and the power level of the RF output 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

frequency ViReal64 Specifies the frequency of the generated RF signal. The driver uses this value to set the IVIRFSIGGEN_ATTR_FREQUENCY attribute.

Units: Hertz

Default Value: 1.0 MHz

powerLevel ViReal64 Specifies the power level of the generated RF signal. The driver uses this value to set the IVIRFSIGGEN_ATTR_POWER_LEVEL attribute.

Units: dBm

Default Value: 0.0

Return Values