C2K
SCPI Commands :
[SOURce<HW>]:BB:C2K:LINK
[SOURce<HW>]:BB:C2K:PRESet
[SOURce<HW>]:BB:C2K:SLENgth
[SOURce<HW>]:BB:C2K:STATe
[SOURce]:BB:C2K:VERSion
- class C2KCls[source]
C2K commands group definition. 150 total commands, 13 Subgroups, 5 group commands
- get_link() RsSmw.enums.LinkDir [source]
# SCPI: [SOURce<HW>]:BB:C2K:LINK value: enums.LinkDir = driver.source.bb.c2K.get_link()
The command defines the transmission direction. The signal either corresponds to that of a base station (FORWard | DOWN) or that of a mobile station (REVerse | UP) .
- return
link: DOWN| UP| FORWard| REVerse
- get_slength() int [source]
# SCPI: [SOURce<HW>]:BB:C2K:SLENgth value: int = driver.source.bb.c2K.get_slength()
Sets the sequence length of the arbitrary waveform component of the CDMA2000 signal in the number of frames.
- return
slength: integer Range: 1 to max
- get_state() bool [source]
# SCPI: [SOURce<HW>]:BB:C2K:STATe value: bool = driver.source.bb.c2K.get_state()
Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.
- return
state: 1| ON| 0| OFF
- get_version() str [source]
# SCPI: [SOURce]:BB:C2K:VERSion value: str = driver.source.bb.c2K.get_version()
The command queries the version of the CDMA standard underlying the definitions.
- return
version: string
- preset() None [source]
# SCPI: [SOURce<HW>]:BB:C2K:PRESet driver.source.bb.c2K.preset()
Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:C2K:STATe.
- preset_with_opc(opc_timeout_ms: int = - 1) None [source]
# SCPI: [SOURce<HW>]:BB:C2K:PRESet driver.source.bb.c2K.preset_with_opc()
Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:C2K:STATe.
Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.
- param opc_timeout_ms
Maximum time to wait in milliseconds, valid only for this call.
- set_link(link: RsSmw.enums.LinkDir) None [source]
# SCPI: [SOURce<HW>]:BB:C2K:LINK driver.source.bb.c2K.set_link(link = enums.LinkDir.DOWN)
The command defines the transmission direction. The signal either corresponds to that of a base station (FORWard | DOWN) or that of a mobile station (REVerse | UP) .
- param link
DOWN| UP| FORWard| REVerse
- set_slength(slength: int) None [source]
# SCPI: [SOURce<HW>]:BB:C2K:SLENgth driver.source.bb.c2K.set_slength(slength = 1)
Sets the sequence length of the arbitrary waveform component of the CDMA2000 signal in the number of frames.
- param slength
integer Range: 1 to max
- set_state(state: bool) None [source]
# SCPI: [SOURce<HW>]:BB:C2K:STATe driver.source.bb.c2K.set_state(state = False)
Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.
- param state
1| ON| 0| OFF
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.bb.c2K.clone()
Subgroups