Write/Read |
About Segment Sweep |
Description |
Set and read the sweep mode per segment. Enable the sweep mode property using the SweepModeOption Property on Segments collection. |
VB Syntax |
seg.SweepMode = value |
Variable |
(Type) - Description |
seg |
A Segment (object) |
value |
(NASweepGenerationModes) Choose from: 0 - naSteppedSweep Sets sweep mode to stepped sweep. 1 - naAnalogSweep Sets sweep mode to analog sweep. |
Return Type |
Enum |
Default |
naAnalogSweep |
Examples |
seg.SweepMode = naAnalogSweep 'Write |
value = seg.SweepMode 'Read |
|
C++ Syntax |
HRESULT get_SweepMode(tagNASweepGenerationModes* mode) HRESULT put_SweepMode(tagNASweepGenerationModes mode) |
Interface |
ISegment3 |