Piecewise

SCPI Commands :

PULSe:MOP:PIECewise:CLEar
PULSe:MOP:PIECewise:COUNt
PULSe:MOP:PIECewise:DELete
PULSe:MOP:PIECewise:DURation
PULSe:MOP:PIECewise:INSert
PULSe:MOP:PIECewise:OFFSet
PULSe:MOP:PIECewise:RATE
PULSe:MOP:PIECewise:SELect
class PiecewiseCls[source]

Piecewise commands group definition. 9 total commands, 1 Subgroups, 8 group commands

clear() None[source]
# SCPI: PULSe:MOP:PIECewise:CLEar
driver.pulse.mop.piecewise.clear()

Deletes all items from the list or the table.

clear_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: PULSe:MOP:PIECewise:CLEar
driver.pulse.mop.piecewise.clear_with_opc()

Deletes all items from the list or the table.

Same as clear, but waits for the operation to complete before continuing further. Use the RsPulseSeq.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

delete(delete: float) None[source]
# SCPI: PULSe:MOP:PIECewise:DELete
driver.pulse.mop.piecewise.delete(delete = 1.0)

Deletes the particular item.

param delete:

float

get_count() float[source]
# SCPI: PULSe:MOP:PIECewise:COUNt
value: float = driver.pulse.mop.piecewise.get_count()

Queries the number of existing items.

return:

count: integer

get_duration() float[source]
# SCPI: PULSe:MOP:PIECewise:DURation
value: float = driver.pulse.mop.piecewise.get_duration()

Set the length of the chirp interval as a percentage of the duration the MOP is applied on.

return:

duration: float Range: 0 to 100

get_offset() float[source]
# SCPI: PULSe:MOP:PIECewise:OFFSet
value: float = driver.pulse.mop.piecewise.get_offset()

Offsets the start frequency of the chirp.

return:

offset: float Range: -1e+09 to 1e+09

get_rate() float[source]
# SCPI: PULSe:MOP:PIECewise:RATE
value: float = driver.pulse.mop.piecewise.get_rate()

Set the chirp rate.

return:

rate: float Range: -1e+15 to 1e+15, Unit: Hz/s

get_select() float[source]
# SCPI: PULSe:MOP:PIECewise:SELect
value: float = driver.pulse.mop.piecewise.get_select()

Selects the item to which the subsequent commands apply.

return:

select: float Item number within the range 1 to …:COUNt. For example, method RsPulseSeq.Sequence.Item.count. Range: 1 to 4096

set_duration(duration: float) None[source]
# SCPI: PULSe:MOP:PIECewise:DURation
driver.pulse.mop.piecewise.set_duration(duration = 1.0)

Set the length of the chirp interval as a percentage of the duration the MOP is applied on.

param duration:

float Range: 0 to 100

set_insert(insert: float) None[source]
# SCPI: PULSe:MOP:PIECewise:INSert
driver.pulse.mop.piecewise.set_insert(insert = 1.0)

Inserts a new item before the selected one.

param insert:

float

set_offset(offset: float) None[source]
# SCPI: PULSe:MOP:PIECewise:OFFSet
driver.pulse.mop.piecewise.set_offset(offset = 1.0)

Offsets the start frequency of the chirp.

param offset:

float Range: -1e+09 to 1e+09

set_rate(rate: float) None[source]
# SCPI: PULSe:MOP:PIECewise:RATE
driver.pulse.mop.piecewise.set_rate(rate = 1.0)

Set the chirp rate.

param rate:

float Range: -1e+15 to 1e+15, Unit: Hz/s

set_select(select: float) None[source]
# SCPI: PULSe:MOP:PIECewise:SELect
driver.pulse.mop.piecewise.set_select(select = 1.0)

Selects the item to which the subsequent commands apply.

param select:

float Item number within the range 1 to …:COUNt. For example, method RsPulseSeq.Sequence.Item.count. Range: 1 to 4096

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.pulse.mop.piecewise.clone()

Subgroups