4. Programming Interfaces
Giga-tronics 2400/2500 Microwave Synthesizer Series
64
Programming Manual, Part Number 34783, Rev A, July 2009
4.3.3.47
DLL Function; GT2400_EditFreqRangeByNumOfPts
GT2400_EditFreqRangeByNumOfPts
Purpose
Establish a long list or insert a sub-list to an existing list by inputting start frequency, stop frequency,
power, and number of list points.
Syntax
STATUS
GT2400_EditFreqRangeByNumOfPts
(
const short
position,
const short
insertType,
const char
listPath[],
const double
startFrequency,
const double
stopFrequency,
const double
power,
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
startFrequency
Input: Start frequency for range insertion (in MHz)
stopFrequency
Input: Stop frequency for range insertion (in MHz)
power
Input: Power for all list points (in dBm)
numOfPts
Input: Number of list points being created