IviRFSigGen_CreateFrequencyPowerList

CVI/LabWindows IVI Class Driver

IviRFSigGen_CreateFrequencyPowerList

Specific Function

C Function Prototype

ViStatus IviRFSigGen_CreateFrequencyPowerList (ViSession vi, ViConstString name, ViInt32 length, ViReal64[] frequency, ViReal64[] power);

Purpose

This function creates a named list of frequency and power values.

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

name ViConstString The name of the list to be created.

Default Value: ""

length ViInt32 The number of values in the list array.

Default Value: 0

frequency ViReal64[] Pass the array of frequency values to become elements of the list. The array must have at least as many elements as the value in the Length parameter.

Units: Hertz

power ViReal64[] Pass the array of power values to become elements of the list. The array must have at least as many elements as the value in the Length parameter.

Units: dBm

Return Values