Arbitrary

SCPI Commands

ARBitrary:TRANsfer
ARBitrary:STATe
ARBitrary:DATA
ARBitrary:REPetitions
ARBitrary:CLEar
ARBitrary:SAVE
ARBitrary:LOAD
class ArbitraryCls[source]

Arbitrary commands group definition. 25 total commands, 6 Subgroups, 7 group commands

clear() None[source]
# SCPI: ARBitrary:CLEar
driver.arbitrary.clear()

Clears the previous defined arbitrary waveform data for the selected channel.

clear_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: ARBitrary:CLEar
driver.arbitrary.clear_with_opc()

Clears the previous defined arbitrary waveform data for the selected channel.

Same as clear, but waits for the operation to complete before continuing further. Use the RsNgx.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_data() List[float][source]
# SCPI: ARBitrary:DATA
value: List[float] = driver.arbitrary.get_data()

Sets or queries the arbitrary points for the previous selected channel. Max. 1024 arbitrary points can be defined. The dwell time between 2 arbitrary points is specified from 1 ms to 60 ms.

return

arg_0: No help available

get_repetitions() int[source]
# SCPI: ARBitrary:REPetitions
value: int = driver.arbitrary.get_repetitions()

Sets or queries the repetition rate of the defined arbitrary waveform for the previous selected channel. Up to 65535 repetitions are possible. If the repetition rate ‘0’ is selected the arbitrary waveform of the previous selected channel is repeated infinitely.

return

arg_0: No help available

get_state() bool[source]
# SCPI: ARBitrary[:STATe]
value: bool = driver.arbitrary.get_state()

Sets or queries the QuickArb function for the previous selected channel.

return

arg_0: No help available

load() None[source]
# SCPI: ARBitrary:LOAD
driver.arbitrary.load()

Loads an arbitrary table from a file (filename specified with method RsNgx.Arbitrary.Fname.set)

load_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: ARBitrary:LOAD
driver.arbitrary.load_with_opc()

Loads an arbitrary table from a file (filename specified with method RsNgx.Arbitrary.Fname.set)

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

param opc_timeout_ms

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

save() None[source]
# SCPI: ARBitrary:SAVE
driver.arbitrary.save()

Saves the current arbitrary table to a file (filename specified with method RsNgx.Arbitrary.Fname.set) .

save_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: ARBitrary:SAVE
driver.arbitrary.save_with_opc()

Saves the current arbitrary table to a file (filename specified with method RsNgx.Arbitrary.Fname.set) .

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

param opc_timeout_ms

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

set_data(arg_0: List[float]) None[source]
# SCPI: ARBitrary:DATA
driver.arbitrary.set_data(arg_0 = [1.1, 2.2, 3.3])

Sets or queries the arbitrary points for the previous selected channel. Max. 1024 arbitrary points can be defined. The dwell time between 2 arbitrary points is specified from 1 ms to 60 ms.

param arg_0

Voltage and current settings depending on the instrument type. If the interpolation mode is sets to 1, it indicates that the mode is activated. If the interpolation mode is sets to 0, it indicates that the mode is not activated.

set_repetitions(arg_0: int) None[source]
# SCPI: ARBitrary:REPetitions
driver.arbitrary.set_repetitions(arg_0 = 1)

Sets or queries the repetition rate of the defined arbitrary waveform for the previous selected channel. Up to 65535 repetitions are possible. If the repetition rate ‘0’ is selected the arbitrary waveform of the previous selected channel is repeated infinitely.

param arg_0

No help available

set_state(arg_0: bool) None[source]
# SCPI: ARBitrary[:STATe]
driver.arbitrary.set_state(arg_0 = False)

Sets or queries the QuickArb function for the previous selected channel.

param arg_0
  • 1: QuickArb function is activated.

  • 0: QuickArb function is deactivated.

set_transfer(arg_0: int) None[source]
# SCPI: ARBitrary:TRANsfer
driver.arbitrary.set_transfer(arg_0 = 1)

Transfers the defined arbitrary table.

param arg_0

1

Subgroups