Segments
SCPI Commands :
SOURce:GPRF:GENerator<Instance>:ARB:SEGMents:NEXT
SOURce:GPRF:GENerator<Instance>:ARB:SEGMents:CURRent
- class SegmentsCls[source]
Segments commands group definition. 2 total commands, 0 Subgroups, 2 group commands
- class CurrentStruct[source]
Structure for reading output parameters. Fields:
Segment_Number: int: decimal NAV is returned if no file is loaded.
Segment_Name: str: string NAV is returned if no file is loaded or no name is defined.
- get_current() CurrentStruct [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:SEGMents:CURRent value: CurrentStruct = driver.source.arb.segments.get_current()
Queries the number and name of the currently processed segment. For the repetition ‘Continuous Seamless’, a trigger event has been received for the returned segment. The generator is still processing the previous segment or it is already processing the returned segment. For a distinction of the two cases, see method RsCmwGprfGen.Source.Arb.status.
- return:
structure: for return value, see the help for CurrentStruct structure arguments.
- get_next() int [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:SEGMents:NEXT value: int = driver.source.arb.segments.get_next()
Selects a segment to be processed after the end of the currently processed segment.
- return:
segment_number: numeric
- set_next(segment_number: int) None [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:SEGMents:NEXT driver.source.arb.segments.set_next(segment_number = 1)
Selects a segment to be processed after the end of the currently processed segment.
- param segment_number:
numeric