Sens
SCPI Commands :
[SOURce<HW>]:BB:LRWPan:SENS:CCT
[SOURce<HW>]:BB:LRWPan:SENS:RSTU
[SOURce<HW>]:BB:LRWPan:SENS:SGAP
[SOURce<HW>]:BB:LRWPan:SENS:SPC
[SOURce<HW>]:BB:LRWPan:SENS:SPDuration
[SOURce<HW>]:BB:LRWPan:SENS:SRF
[SOURce<HW>]:BB:LRWPan:SENS:SSDuration
[SOURce<HW>]:BB:LRWPan:SENS:SSOFfset
[SOURce<HW>]:BB:[LRWPan]:SENS:ASL
[SOURce<HW>]:BB:[LRWPan]:SENS:ASN
[SOURce<HW>]:BB:[LRWPan]:SENS:BWIDth
[SOURce<HW>]:BB:[LRWPan]:SENS:CNUMber
[SOURce<HW>]:BB:[LRWPan]:SENS:F2MS
[SOURce<HW>]:BB:[LRWPan]:SENS:IINTerval
- Commands in total: 69Subgroups: 6Direct child commands: 14
- get_asl() HrpUwbActSegmentLength[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:ASL value: enums.HrpUwbActSegmentLength = driver.source.bb.lrWpan.sens.get_asl()
Sets the active segment length.
- Returns:
act_seg_length: ASL_16 | ASL_32 | ASL_64 | ASL_128 | ASL_256 | ASL_512 | ASL_1024 | ASL_2048
- get_asn() HrpUwbActSegmentNum[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:ASN value: enums.HrpUwbActSegmentNum = driver.source.bb.lrWpan.sens.get_asn()
Requires [:SOURce<hw>]:BB:LRWPan | HUWB:STD BPRF | HPRF | EHPRF | SENS. Sets the number of active segments.
- Returns:
acg_seg_number: ASN_1 | ASN_2 | ASN_3 | ASN_4
- get_bandwidth() float[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:BWIDth value: float = driver.source.bb.lrWpan.sens.get_bandwidth()
Queries the channel bandwidth. The bandwidth depends on the channel number.
- get_cct() HrpUwbConvConsLenDrm[source]
# [SOURce<HW>]:BB:LRWPan:SENS:CCT value: enums.HrpUwbConvConsLenDrm = driver.source.bb.lrWpan.sens.get_cct()
Requires [:SOURce<hw>]:BB:LRWPan | HUWB:STD EHPRF | SENS. Sets the channel code type. The channel code type depends on the selected PHR data rate mode.
- Returns:
cccl: CL3 | CL7 | LDPC
- get_cnumber() int[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:CNUMber value: int = driver.source.bb.lrWpan.sens.get_cnumber()
Sets the channel number that is a 4-bit value in decimal representation. The channel number determines the bandwidth and the code index.
- Returns:
channel_number: integer Range: 0 to 15
- get_f_2_ms() bool[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:F2MS value: bool = driver.source.bb.lrWpan.sens.get_f_2_ms()
Sets the frame length of a generated waveform shorter than 2 ms to a fixed value of 2 ms. If activated, the idle interval is set to 0.0 us by default. Generated waveforms longer than 2 ms remain unaffected.
- Returns:
fixed_2_ms_frame: 1 | ON | 0| OFF
- get_iinterval() float[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:IINTerval value: float = driver.source.bb.lrWpan.sens.get_iinterval()
Sets the time of the interval separating two frames.
- Returns:
iinterval: float Range: 0 to 1000000, Unit: us
- get_rstu() int[source]
# [SOURce<HW>]:BB:LRWPan:SENS:RSTU value: int = driver.source.bb.lrWpan.sens.get_rstu()
Queries the size of the ranging scheduling time unit (RSTU) .
- Returns:
rstu: integer Range: 416 to 416
- get_sgap() HrpUwbSilentGap[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SGAP value: enums.HrpUwbSilentGap = driver.source.bb.lrWpan.sens.get_sgap()
Queries or sets the value of the gap before and after the SENS part in the sensing package. Setting the value requires [:SOURce<hw>]:BB:LRWPan:SENS:SPC SPCU.
- Returns:
silent_gap: SG0 | SG1 | SG40
- get_sp_duration() int[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SPDuration value: int = driver.source.bb.lrWpan.sens.get_sp_duration()
Sets the sensing phase duration. You can configure how many sensing slots define a sensing phase.
- Returns:
sens_phase_dur: integer Range: 1 to 4095
- get_spc() HrpUwbSenspAcketConfig[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SPC value: enums.HrpUwbSenspAcketConfig = driver.source.bb.lrWpan.sens.get_spc()
Sets the sensing packet configuration.
- Returns:
packet_config: SPC0 | SPC1 | SPC2 | SPCU SPC0 | SPC1 | SPC2 Provide the sensing packet format according to P802.15.4ab/D02. SPCU Provides no SYNC and no SFD field. The format provides the SENS active packet in between two silent gaps.
- get_srf() bool[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SRF value: bool = driver.source.bb.lrWpan.sens.get_srf()
Sets the RF output frequency automatically to the value of the channel center frequency according to the selected channel number. You can still adjust the RF frequency afterwards.
- Returns:
set_rf: 1 | ON | 0| OFF
- get_ss_duration() HrpUwbMmsrSlotDur[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SSDuration value: enums.HrpUwbMmsrSlotDur = driver.source.bb.lrWpan.sens.get_ss_duration()
Sets the duration of a sensing slot in RSTU (ranging scheduling time unit) .
- Returns:
sens_slot_dur: SD3 | SD6 | SD9 | SD12 | SD15 | SD18 | SD21 | SD24
- get_ss_offset() int[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SSOFfset value: int = driver.source.bb.lrWpan.sens.get_ss_offset()
Sets an offset of a defined amount of slots before the sensing phase starts.
- Returns:
sens_start_offset: integer Range: 0 to 15
- set_asl(act_seg_length: HrpUwbActSegmentLength) None[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:ASL driver.source.bb.lrWpan.sens.set_asl(act_seg_length = enums.HrpUwbActSegmentLength.ASL_1024)
Sets the active segment length.
- Parameters:
act_seg_length – ASL_16 | ASL_32 | ASL_64 | ASL_128 | ASL_256 | ASL_512 | ASL_1024 | ASL_2048
- set_asn(acg_seg_number: HrpUwbActSegmentNum) None[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:ASN driver.source.bb.lrWpan.sens.set_asn(acg_seg_number = enums.HrpUwbActSegmentNum.ASN_1)
Requires [:SOURce<hw>]:BB:LRWPan | HUWB:STD BPRF | HPRF | EHPRF | SENS. Sets the number of active segments.
- Parameters:
acg_seg_number – ASN_1 | ASN_2 | ASN_3 | ASN_4
- set_cct(cccl: HrpUwbConvConsLenDrm) None[source]
# [SOURce<HW>]:BB:LRWPan:SENS:CCT driver.source.bb.lrWpan.sens.set_cct(cccl = enums.HrpUwbConvConsLenDrm.CL3)
Requires [:SOURce<hw>]:BB:LRWPan | HUWB:STD EHPRF | SENS. Sets the channel code type. The channel code type depends on the selected PHR data rate mode.
- Parameters:
cccl – CL3 | CL7 | LDPC
- set_cnumber(channel_number: int) None[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:CNUMber driver.source.bb.lrWpan.sens.set_cnumber(channel_number = 1)
Sets the channel number that is a 4-bit value in decimal representation. The channel number determines the bandwidth and the code index.
- Parameters:
channel_number – integer Range: 0 to 15
- set_f_2_ms(fixed_2_ms_frame: bool) None[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:F2MS driver.source.bb.lrWpan.sens.set_f_2_ms(fixed_2_ms_frame = False)
Sets the frame length of a generated waveform shorter than 2 ms to a fixed value of 2 ms. If activated, the idle interval is set to 0.0 us by default. Generated waveforms longer than 2 ms remain unaffected.
- Parameters:
fixed_2_ms_frame – 1 | ON | 0| OFF
- set_iinterval(iinterval: float) None[source]
# [SOURce<HW>]:BB:[LRWPan]:SENS:IINTerval driver.source.bb.lrWpan.sens.set_iinterval(iinterval = 1.0)
Sets the time of the interval separating two frames.
- Parameters:
iinterval – float Range: 0 to 1000000, Unit: us
- set_sgap(silent_gap: HrpUwbSilentGap) None[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SGAP driver.source.bb.lrWpan.sens.set_sgap(silent_gap = enums.HrpUwbSilentGap.SG0)
Queries or sets the value of the gap before and after the SENS part in the sensing package. Setting the value requires [:SOURce<hw>]:BB:LRWPan:SENS:SPC SPCU.
- Parameters:
silent_gap – SG0 | SG1 | SG40
- set_sp_duration(sens_phase_dur: int) None[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SPDuration driver.source.bb.lrWpan.sens.set_sp_duration(sens_phase_dur = 1)
Sets the sensing phase duration. You can configure how many sensing slots define a sensing phase.
- Parameters:
sens_phase_dur – integer Range: 1 to 4095
- set_spc(packet_config: HrpUwbSenspAcketConfig) None[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SPC driver.source.bb.lrWpan.sens.set_spc(packet_config = enums.HrpUwbSenspAcketConfig.SPC0)
Sets the sensing packet configuration.
- Parameters:
packet_config – SPC0 | SPC1 | SPC2 | SPCU SPC0 | SPC1 | SPC2 Provide the sensing packet format according to P802.15.4ab/D02. SPCU Provides no SYNC and no SFD field. The format provides the SENS active packet in between two silent gaps.
- set_srf(set_rf: bool) None[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SRF driver.source.bb.lrWpan.sens.set_srf(set_rf = False)
Sets the RF output frequency automatically to the value of the channel center frequency according to the selected channel number. You can still adjust the RF frequency afterwards.
- Parameters:
set_rf – 1 | ON | 0| OFF
- set_ss_duration(sens_slot_dur: HrpUwbMmsrSlotDur) None[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SSDuration driver.source.bb.lrWpan.sens.set_ss_duration(sens_slot_dur = enums.HrpUwbMmsrSlotDur.SD12)
Sets the duration of a sensing slot in RSTU (ranging scheduling time unit) .
- Parameters:
sens_slot_dur – SD3 | SD6 | SD9 | SD12 | SD15 | SD18 | SD21 | SD24
- set_ss_offset(sens_start_offset: int) None[source]
# [SOURce<HW>]:BB:LRWPan:SENS:SSOFfset driver.source.bb.lrWpan.sens.set_ss_offset(sens_start_offset = 1)
Sets an offset of a defined amount of slots before the sensing phase starts.
- Parameters:
sens_start_offset – integer Range: 0 to 15
Cloning the Group
# Create a copy of the original group, that exists independently
sens_copy = driver.source.bb.lrWpan.sens.clone()
Subgroups