Multiwaveform signal generator with optional sweep capability.
static
readonly
OcaClassID ClassID
= 1.1.1.17
Level: 1 Index: 1
Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the OcaRoot property.
Level: 1 Index: 2
Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the OcaRoot property.
Level: 4 Index: 1
Center frequency or sweep start frequency.
Level: 4 Index: 2
Sweep end frequency.
Level: 4 Index: 3
Output level in dB relative to device-defined zero level.
Level: 4 Index: 4
The waveform type this generator generates (e.g. sine, square, noise, etc.).
Level: 4 Index: 5
The sweep type of the signal generator: None for no sweep, linear or logarithmic if sweep is generated.
OcaTimeInterval
SweepTime
Level: 4 Index: 6
Duration of sweep in seconds.
Level: 4 Index: 7
Indicates whether the sweep is repeated (true) or is one-shot (false).
Level: 4 Index: 8
Read-only property that indicates whether the generator is producing output (true) or not (false).
Properties inherited from OcaWorker
Properties inherited from OcaRoot
OcaSignalGenerator::GetFrequency1 (
)
→ (
OcaFrequency frequency, OcaFrequency minFrequency, OcaFrequency maxFrequency)
Level: 4 Index: 1
Gets the value of the Frequency1 property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::SetFrequency1 (
OcaFrequency frequency )
Level: 4 Index: 2
Sets the value of the Frequency1 property. The return value indicates whether the property was successfully set.
OcaSignalGenerator::GetFrequency2 (
)
→ (
OcaFrequency frequency, OcaFrequency minFrequency, OcaFrequency maxFrequency)
Level: 4 Index: 3
Gets the value of the Frequency2 property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::SetFrequency2 (
OcaFrequency frequency )
Level: 4 Index: 4
Sets the value of the Frequency2 property. The return value indicates whether the property was successfully set.
OcaSignalGenerator::GetLevel (
)
→ (
OcaDBz Level, OcaDBz minLevel, OcaDBz maxLevel)
Level: 4 Index: 5
Gets the value of the Level property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::SetLevel (
OcaDBz Level )
Level: 4 Index: 6
Sets the value of the Level property. The return value indicates whether the property was successfully set.
OcaSignalGenerator::GetWaveform (
)
→ (
OcaWaveformType waveform)
Level: 4 Index: 7
Gets the value of the Waveform property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::SetWaveform (
OcaWaveformType waveform )
Level: 4 Index: 8
Sets the value of the Waveform property. The return value indicates whether the property was successfully set.
OcaSignalGenerator::GetSweepType (
)
→ (
OcaSweepType sweepType)
Level: 4 Index: 9
Gets the value of the SweepType property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::SetSweepType (
OcaSweepType sweepType )
Level: 4 Index: 10
Sets the value of the SweepType property. The return value indicates whether the property was successfully set.
OcaSignalGenerator::GetSweepTime (
)
→ (
OcaTimeInterval
sweepTime, OcaTimeInterval
minSweepTime, OcaTimeInterval
maxSweepTime)
Level: 4 Index: 11
Gets the value of the SweepTime property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::SetSweepTime (
OcaTimeInterval
sweepTime )
Level: 4 Index: 12
Sets the value of the SweepTime property. The return value indicates whether the property was successfully set.
OcaSignalGenerator::GetSweepRepeat (
)
→ (
OcaBoolean sweepRepeat)
Level: 4 Index: 13
Gets the value of the SweepRepeat property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::SetSweepRepeat (
OcaBoolean sweepRepeat )
Level: 4 Index: 14
Sets the value of the SweepRepeat property. The return value indicates whether the property was successfully set.
OcaSignalGenerator::GetGenerating (
)
→ (
OcaBoolean generating)
Level: 4 Index: 15
Gets the value of the Generating property. The return value indicates whether the property was successfully retrieved.
OcaSignalGenerator::Start (
)
Level: 4 Index: 16
Starts the signal generator. The return value indicates whether the signal generator was successfully started.
OcaSignalGenerator::Stop (
)
Level: 4 Index: 17
Stops the signal generator. The return value indicates whether the signal generator was successfully stopped.
Level: 4 Index: 18
Sets some or all signal generation parameters. The return value indicates if the parameters were successfully set. The action of this method is atomic - if any of the value changes fails, none of the changes are made.