Write-only |
About Segment Sweep |
Description |
Uploads a segment table to the VNA replacing any existing segment table. Segments must be ascending in frequency and non-overlapping. If they are not, the segments are 'adjusted' as they are from the User Interface control. The total number of points for all segments cannot exceed the VNA maximum number of points for a sweep. |
|||||||||||||||
VB Syntax |
Segs.SetAllSegments (segdata) |
|||||||||||||||
Variable |
(Type) - Description |
|||||||||||||||
segs |
A Segments (Collection) |
|||||||||||||||
segdata |
(Variant) A 2-dimensional array of Segment data:
The following is a list of dimension 0 elements for each segment: Note: All elements must be dimensioned as either ALL Double or ALL Variant.
The first four data elements must always be supplied. After those values, data must be supplied for successive optional elements. For example, to set dwell time values, you must also supply IFBW values, because IFBW (#4) precedes dwell time (#5) in the array order. The IFBandwidthOption, SweepTimeOption, and SourePowerOption settings do NOT affect the order in which elements are interpreted. The number of elements to supply for Power depends on the following two settings:
|
|||||||||||||||
Return Type |
Not Applicable |
|||||||||||||||
Default |
Not Applicable |
|||||||||||||||
Examples |
||||||||||||||||
C++ Syntax |
HRESULT SetAllSegments (VARIANT Segments ); |
|||||||||||||||
Interface |
ISegments2 |