Data
SCPI Commands :
SENSe:[POWer]:SWEep:POWer:REFerence:DATA:COPY
SENSe:[POWer]:SWEep:POWer:REFerence:DATA:POINts
SENSe:[POWer]:SWEep:POWer:REFerence:DATA:XVALues
SENSe:[POWer]:SWEep:POWer:REFerence:DATA:YVALues
- class DataCls[source]
Data commands group definition. 4 total commands, 0 Subgroups, 4 group commands
- copy() None[source]
# SCPI: SENSe:[POWer]:SWEep:POWer:REFerence:DATA:COPY driver.sense.power.sweep.power.reference.data.copy()
Generates a reference curve for ‘Power’ measurement.
- copy_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: SENSe:[POWer]:SWEep:POWer:REFerence:DATA:COPY driver.sense.power.sweep.power.reference.data.copy_with_opc()
Generates a reference curve for ‘Power’ measurement.
Same as copy, but waits for the operation to complete before continuing further. Use the RsSmab.utilities.opc_timeout_set() to set the timeout value.
- param opc_timeout_ms:
Maximum time to wait in milliseconds, valid only for this call.
- get_points() int[source]
# SCPI: SENSe:[POWer]:SWEep:POWer:REFerence:DATA:POINts value: int = driver.sense.power.sweep.power.reference.data.get_points()
Queries the number of points from the reference curve in ‘Power’ measurement.
- return:
points: integer Range: 10 to 1000
- get_xvalues() List[float][source]
# SCPI: SENSe:[POWer]:SWEep:POWer:REFerence:DATA:XVALues value: List[float] = driver.sense.power.sweep.power.reference.data.get_xvalues()
Sets or queries the x values of the two reference points, i.e. ‘Power X (Point A) ‘ and ‘Power X (Point B) ‘ in ‘Power’ measurement.
- return:
xvalues: string
- get_yvalues() List[float][source]
# SCPI: SENSe:[POWer]:SWEep:POWer:REFerence:DATA:YVALues value: List[float] = driver.sense.power.sweep.power.reference.data.get_yvalues()
Sets or queries the y values of the two reference points, i.e. ‘Power Y (Point A) ‘ and ‘Power Y (Point B) ‘ in ‘Power’ measurement.
- return:
yvalues: string
- set_xvalues(xvalues: List[float]) None[source]
# SCPI: SENSe:[POWer]:SWEep:POWer:REFerence:DATA:XVALues driver.sense.power.sweep.power.reference.data.set_xvalues(xvalues = [1.1, 2.2, 3.3])
Sets or queries the x values of the two reference points, i.e. ‘Power X (Point A) ‘ and ‘Power X (Point B) ‘ in ‘Power’ measurement.
- param xvalues:
string
- set_yvalues(yvalues: List[float]) None[source]
# SCPI: SENSe:[POWer]:SWEep:POWer:REFerence:DATA:YVALues driver.sense.power.sweep.power.reference.data.set_yvalues(yvalues = [1.1, 2.2, 3.3])
Sets or queries the y values of the two reference points, i.e. ‘Power Y (Point A) ‘ and ‘Power Y (Point B) ‘ in ‘Power’ measurement.
- param yvalues:
string