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
- Commands in total: 146Subgroups: 13Direct child commands: 5
- get_link ( ) LinkDir
- set_link ( link: LinkDir ) None
# [SOURce<HW>]:BB:C2K:LINK # get: value: enums.LinkDir = driver.source.bb.c2K.get_link() # set: 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) .
- Parameters:
link – DOWN | UP | FORWard | REVerse
- preset ( ) None
- preset_with_opc ( opc_timeout_ms: int = -1 ) None
# [SOURce<HW>]:BB:C2K:PRESet driver.source.bb.c2K.preset() driver.source.bb.c2K.preset_with_opc(opc_timeout_ms = 3000)Sets the parameters of the digital standard to their default values (
*RSTvalues specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:C2K:STATe.preset_with_opc()does the same aspreset(), but waits for the operation to complete before continuing further. Use theRsSmbv.utilities.opc_timeoutto set the timeout value.- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- get_slength ( ) int
- set_slength ( slength: int ) None
# [SOURce<HW>]:BB:C2K:SLENgth # get: value: int = driver.source.bb.c2K.get_slength() # set: 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.
- Parameters:
slength – integer
- get_state ( ) bool
- set_state ( state: bool ) None
# [SOURce<HW>]:BB:C2K:STATe # get: value: bool = driver.source.bb.c2K.get_state() # set: 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.
- Parameters:
state – 1 | ON | 0| OFF
- get_version ( ) str
# [SOURce]:BB:C2K:VERSion value: str = driver.source.bb.c2K.get_version()The command queries the version of the CDMA standard underlying the definitions.
- Returns:
version: string
Cloning the Group
# Create a copy of the original group, that exists independently
c2K_copy = driver.source.bb.c2K.clone()
Subgroups