Wsegment#
SCPI Commands :
- [SOURce<HW>]:BB:ARBitrary:WSEGment:CLOad
- [SOURce<HW>]:BB:ARBitrary:WSEGment:CREate
- [SOURce<HW>]:BB:ARBitrary:WSEGment:LMODe
- [SOURce<HW>]:BB:ARBitrary:WSEGment:NAME
- [SOURce<HW>]:BB:ARBitrary:WSEGment
- Commands in total: 26Subgroups: 3Direct child commands: 5
- set_cload ( filename_input: str ) None
# [SOURce<HW>]:BB:ARBitrary:WSEGment:CLOad driver.source.bb.arbitrary.wsegment.set_cload(filename_input = 'abc')Creates a multi-segment waveform using the current entries of the specified configuration file (inf_mswv) . The ARB generator is activated, the new multi-segment waveform (wv) is loaded and the first segment is output in accordance to the trigger settings.
- Parameters:
filename_input – Complete file path, file name of the configuration file and file extension (inf_mswv)
- set_create ( filename_input: str ) None
# [SOURce<HW>]:BB:ARBitrary:WSEGment:CREate driver.source.bb.arbitrary.wsegment.set_create(filename_input = 'abc')Creates a multi-segment waveform (wv) using the current settings of the specified configuration file (inf_mswv) .
- Parameters:
filename_input – Complete file path, file name of the configuration file and file extension (inf_mswv)
- get_lmode ( ) ArbLevMode
- set_lmode ( level_mode: ArbLevMode ) None
# [SOURce<HW>]:BB:ARBitrary:WSEGment:LMODe # get: value: enums.ArbLevMode = driver.source.bb.arbitrary.wsegment.get_lmode() # set: driver.source.bb.arbitrary.wsegment.set_lmode(level_mode = enums.ArbLevMode.HIGHest)
Sets how the segments are leveled.
- Parameters:
level_mode – HIGHest | UNCHanged
- get_name ( ) str
# [SOURce<HW>]:BB:ARBitrary:WSEGment:NAME value: str = driver.source.bb.arbitrary.wsegment.get_name()Queries the name of the waveform of the currently output segment of the multi-segment waveform.
- Returns:
name: string
- get_value ( ) int
# [SOURce<HW>]:BB:ARBitrary:WSEGment value: int = driver.source.bb.arbitrary.wsegment.get_value()Queries the index of the currently processed segment.
- Returns:
wsegment: integer
Cloning the Group
# Create a copy of the original group, that exists independently
wsegment_copy = driver.source.bb.arbitrary.wsegment.clone()
Subgroups