rosc
¶
The rosc commands module.
These commands are used in the following models: LPD6, MSO4, MSO4B, MSO5, MSO5B, MSO5LP, MSO6, MSO6B
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- ROSc:SOUrce {INTERnal|EXTernal|TRACking}
- ROSc:SOUrce?
- ROSc:STATE?
Rosc
¶
Bases: SCPICmdRead
The ROSc command tree.
Usage
- Using the
.query()method will send theROSc?query. - Using the
.verify(value)method will send theROSc?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.source: TheROSc:SOUrcecommand..state: TheROSc:STATEcommand.
source
property
¶
source: RoscSource
Return the ROSc:SOUrce command.
Description
- This command sets or queries the selected source for the time base reference oscillator. The reference oscillator locks to this source. Depending on the command argument that you specify, you can use an external reference or use the internal crystal oscillator as the time base reference. Switching between certain settings is supported at runtime (INTERnal and EXTernal). Switching either into or out of other settings (TRACking and SAMPle) requires a restart of the instrument. Setting a mode that requires a restart will trigger the switch on the next reboot. The query won’t reflect the requested time base setting until the switch is complete.
Usage
- Using the
.query()method will send theROSc:SOUrce?query. - Using the
.verify(value)method will send theROSc:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theROSc:SOUrce valuecommand.
SCPI Syntax
- ROSc:SOUrce {INTERnal|EXTernal|TRACking}
- ROSc:SOUrce?
Info
INTERnalspecifies the internal 10 MHz crystal oscillator as the time base reference.EXTernalspecifies the user-supplied external signal at 1 ppm as the time base reference.TRACkingspecifies the user-supplied external signal at ±1000 ppm as the time base reference.
state
property
¶
state: RoscState
Return the ROSc:STATE command.
Description
- This query-only command returns whether the time base reference oscillator is locked. This command will return either LOCKED or UNLOCKED.
Usage
- Using the
.query()method will send theROSc:STATE?query. - Using the
.verify(value)method will send theROSc:STATE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ROSc:STATE?
Info
LOCKEDindicates the reference oscillator is locked.UNLOCKEDindicates the reference oscillator is not locked.
RoscSource
¶
Bases: SCPICmdWrite, SCPICmdRead
The ROSc:SOUrce command.
Description
- This command sets or queries the selected source for the time base reference oscillator. The reference oscillator locks to this source. Depending on the command argument that you specify, you can use an external reference or use the internal crystal oscillator as the time base reference. Switching between certain settings is supported at runtime (INTERnal and EXTernal). Switching either into or out of other settings (TRACking and SAMPle) requires a restart of the instrument. Setting a mode that requires a restart will trigger the switch on the next reboot. The query won’t reflect the requested time base setting until the switch is complete.
Usage
- Using the
.query()method will send theROSc:SOUrce?query. - Using the
.verify(value)method will send theROSc:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theROSc:SOUrce valuecommand.
SCPI Syntax
- ROSc:SOUrce {INTERnal|EXTernal|TRACking}
- ROSc:SOUrce?
Info
INTERnalspecifies the internal 10 MHz crystal oscillator as the time base reference.EXTernalspecifies the user-supplied external signal at 1 ppm as the time base reference.TRACkingspecifies the user-supplied external signal at ±1000 ppm as the time base reference.
RoscState
¶
Bases: SCPICmdRead
The ROSc:STATE command.
Description
- This query-only command returns whether the time base reference oscillator is locked. This command will return either LOCKED or UNLOCKED.
Usage
- Using the
.query()method will send theROSc:STATE?query. - Using the
.verify(value)method will send theROSc:STATE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ROSc:STATE?
Info
LOCKEDindicates the reference oscillator is locked.UNLOCKEDindicates the reference oscillator is not locked.