Reliability
SCPI Command:
SOURce:XRT:GENerator<Instance>:RELiability
SOURce:XRT:GENerator<Instance>:RELiability:ALL
- class ReliabilityCls[source]
Reliability commands group definition. 2 total commands, 0 Subgroups, 2 group commands
- class AllStruct[source]
Structure for reading output parameters. Fields:
Reliability: int: See ‘Reliability indicator values’
Reliability_Msg: str: String indicating the error reason If there is no error (reliability value = 0) , the string is empty.
Reliability_Add_Info: str: String providing additional information for an error. If there is no error (reliability value = 0) , the string is empty.
- get(details: str = None) str [source]
# SCPI: SOURce:XRT:GENerator<Instance>:RELiability value: str = driver.source.xrt.generator.reliability.get(details = '1')
Queries whether the generator has detected an error or not. If you have problems to generate a signal, use this command for troubleshooting. The returned parameters comprise a reliability indicator value and optionally, an error reason.
Use RsCma.reliability.last_value to read the updated reliability indicator.
- param details:
To return an error reason in addition to the reliability indicator value, append ‘Details’ to the query: SOUR:XRT:GEN:REL? ‘DETails’
- return:
reliability_msg: String indicating the error reason. If there is no error (reliability value = 0) , the string is empty. The parameter is only returned if parameter Details = ‘DETails’.
- get_all() AllStruct [source]
# SCPI: SOURce:XRT:GENerator<Instance>:RELiability:ALL value: AllStruct = driver.source.xrt.generator.reliability.get_all()
Queries whether the generator has detected an error or not. If you have problems to generate a signal, use this command for troubleshooting. The returned parameters comprise a reliability indicator value, an error reason and an additional information string.
- return:
structure: for return value, see the help for AllStruct structure arguments.