Data

SCPI Commands :

SENSe:[POWer]:SWEep:TIME:REFerence:DATA:COPY
SENSe:[POWer]:SWEep:TIME:REFerence:DATA:POINts
SENSe:[POWer]:SWEep:TIME:REFerence:DATA:XVALues
SENSe:[POWer]:SWEep:TIME: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:TIME:REFerence:DATA:COPY
driver.sense.power.sweep.time.reference.data.copy()

Generates a reference curve for ‘Time’ measurement.

copy_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: SENSe:[POWer]:SWEep:TIME:REFerence:DATA:COPY
driver.sense.power.sweep.time.reference.data.copy_with_opc()

Generates a reference curve for ‘Time’ 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:TIME:REFerence:DATA:POINts
value: int = driver.sense.power.sweep.time.reference.data.get_points()

Queries the number of points from the reference curve in ‘Time’ measurement.

return:

points: integer Range: 10 to 1000

get_xvalues() List[float][source]
# SCPI: SENSe:[POWer]:SWEep:TIME:REFerence:DATA:XVALues
value: List[float] = driver.sense.power.sweep.time.reference.data.get_xvalues()

Sets or queries the x values of the two reference points, i.e. ‘Time X (Point A) ‘ and ‘Time X (Point B) ‘ in ‘Time’ measurement.

return:

xvalues: string

get_yvalues() List[float][source]
# SCPI: SENSe:[POWer]:SWEep:TIME:REFerence:DATA:YVALues
value: List[float] = driver.sense.power.sweep.time.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 ‘Time’ measurement.

return:

yvalues: string

set_xvalues(xvalues: List[float]) None[source]
# SCPI: SENSe:[POWer]:SWEep:TIME:REFerence:DATA:XVALues
driver.sense.power.sweep.time.reference.data.set_xvalues(xvalues = [1.1, 2.2, 3.3])

Sets or queries the x values of the two reference points, i.e. ‘Time X (Point A) ‘ and ‘Time X (Point B) ‘ in ‘Time’ measurement.

param xvalues:

string

set_yvalues(yvalues: List[float]) None[source]
# SCPI: SENSe:[POWer]:SWEep:TIME:REFerence:DATA:YVALues
driver.sense.power.sweep.time.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 ‘Time’ measurement.

param yvalues:

string