Device
SCPI Commands :
SENSe:[POWer]:SWEep:HCOPy:DEVice:SIZE
SENSe:[POWer]:SWEep:HCOPy:DEVice
- class DeviceCls[source]
Device commands group definition. 7 total commands, 1 Subgroups, 2 group commands
- get_size() List[int] [source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:DEVice:SIZE value: List[int] = driver.sense.power.sweep.hardCopy.device.get_size()
Sets the size of the hardcopy in number of pixels. The first value of the size setting defines the width, the second value the height of the image.
- return:
size: 320,240 | 640,480 | 800,600 | 1024,768
- get_value() HcopyDestination [source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:DEVice value: enums.HcopyDestination = driver.sense.power.sweep.hardCopy.device.get_value()
Defines the output device. The setting is fixed to FILE, i.e. the hardcopy is stored in a file.
- return:
device: FILE| PRINter
- set_size(size: List[int]) None [source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:DEVice:SIZE driver.sense.power.sweep.hardCopy.device.set_size(size = [1, 2, 3])
Sets the size of the hardcopy in number of pixels. The first value of the size setting defines the width, the second value the height of the image.
- param size:
320,240 | 640,480 | 800,600 | 1024,768
- set_value(device: HcopyDestination) None [source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:DEVice driver.sense.power.sweep.hardCopy.device.set_value(device = enums.HcopyDestination.FILE)
Defines the output device. The setting is fixed to FILE, i.e. the hardcopy is stored in a file.
- param device:
FILE| PRINter
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.sense.power.sweep.hardCopy.device.clone()
Subgroups