Giga-tronics 2400/2500 Microwave Synthesizer Series
4. Programming Interfaces
Programming Manual, Part Number 34783, Rev A, July 2009
65
4.3.3.48
DLL Function; GT2400_EditPowerRangeByNumOfPts
GT2400_EditPowerRangeByNumOfPts
Purpose
Establish a long list or insert a sub-list to an existing list by inputting start power, stop power, frequency,
and number of list points.
Syntax
STATUS
GT2400_EditPowerRangeByNumOfPts
(
const short
position,
const short
insertType,
const char
listPath[],
const double
startPower,
const double
stopPower,
const double
frequency,
const short
numOfPts)
Parameter
Description
position
Input: position in the list being edited, 0 < position ≤ current list length
insertType
Input: Insert Type:
0 = REPLACE
1 = INSERT BEFORE
2 = INSERT AFTER
(Note: if insertType = REPLACE, the existing list will be replaced with the newly
created list.)
listPath
Input: Complete path (path + list name) of the list
startPower
Input: Start power (in dBm)
stopPower
Input: Stop power (in dBm)
frequency
Input: Frequency for all list points (in MHz)
numOfPts
Input: Number of list points being created