Driver class for the Picoscope 6000 series.
Arguments
Bold arguments are mandatory. For more information on the listed arguments refer to the class documentation: herosdevices.hardware.picotechnology.Picoscope6000a If parameters appear in this list but not in the class definition, please recursively check the linked base classes for the definition of the parameter.
Argument
Type
Default Value
Description
serial_num
<class ‘str’>
Serial number of the picoscope. You can get that from the PicoScope GUI, it looks something like this: JP402/0012
config_dict
<class ‘dict’>
Configuration dictionary, see EXAMPLE_CONFIG
default_config
str | None
None
keep_device_open
<class ‘bool’>
True
Keep the device open after it is first opened
payload_metadata
dict | None
None
Example JSON for BOSS
The following JSON strings can be used to start a HERO device representation of Picoscope6000a using BOSS .
{
"_id" : "myscope" ,
"classname" : "herosdevices.hardware.picotechnology.Picoscope6000a" ,
"arguments" : {
"serial_num" : "JP306/0102" ,
"default_config" : "default" ,
"config_dict" : {
"default" : {
"ch0" : {
"coupling" : "PICO_DC_50OHM" ,
"range" : "PICO_100MV"
},
"ch1" : {
"coupling" : "PICO_DC_50OHM" ,
"range" : "PICO_5V" ,
"record_trace" : false
},
"trigger" : {
"source" : 1 ,
"threshold" : 1.5
},
"acquisition" : {
"trace_length" : 6e-06 ,
"sample_time" : 2e-10
}
}
}
}
}
from examples/picotechnology/picoscope6000.json
{
"_id" : "my_Picoscope6000a" ,
"classname" : "herosdevices.hardware.picotechnology.Picoscope6000a" ,
"arguments" : {
"serial_num" : "<class 'str'>" ,
"config_dict" : "<class 'dict'>" ,
"default_config" : null ,
"keep_device_open" : true ,
"payload_metadata" : null
}
}
generated from signature
Inheritance
digraph inheritance752b9df378 {
bgcolor=transparent;
rankdir=TB;
size="";
"herosdevices.core.templates.acq_device.AcquisitionDeviceTemplate" [URL="../../../autoapi/herosdevices/core/templates/acq_device/index.html#herosdevices.core.templates.acq_device.AcquisitionDeviceTemplate",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="Template (base class) for acquisition-like devices."];
"herosdevices.interfaces.heros.ConfiguredDevice" -> "herosdevices.core.templates.acq_device.AcquisitionDeviceTemplate" [arrowsize=1,color="#5fabe8",dir="back",penwidth=2,style="setlinewidth(0.5)"];
"herosdevices.core.templates.oscilloscope.OscilloscopeTemplate" [URL="../../../autoapi/herosdevices/core/templates/oscilloscope/index.html#herosdevices.core.templates.oscilloscope.OscilloscopeTemplate",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="Template (base class) for oscilloscope."];
"herosdevices.core.templates.acq_device.AcquisitionDeviceTemplate" -> "herosdevices.core.templates.oscilloscope.OscilloscopeTemplate" [arrowsize=1,color="#5fabe8",dir="back",penwidth=2,style="setlinewidth(0.5)"];
"herosdevices.hardware.picotechnology.Picoscope" [URL="../../../autoapi/herosdevices/hardware/picotechnology/index.html#herosdevices.hardware.picotechnology.Picoscope",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="A class to interface Pico Technology computer oscilloscopes."];
"herosdevices.core.templates.oscilloscope.OscilloscopeTemplate" -> "herosdevices.hardware.picotechnology.Picoscope" [arrowsize=1,color="#5fabe8",dir="back",penwidth=2,style="setlinewidth(0.5)"];
"herosdevices.hardware.picotechnology.Picoscope6000a" [URL="../../../autoapi/herosdevices/hardware/picotechnology/index.html#herosdevices.hardware.picotechnology.Picoscope6000a",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="Driver class for the Picoscope 6000 series."];
"herosdevices.hardware.picotechnology.Picoscope" -> "herosdevices.hardware.picotechnology.Picoscope6000a" [arrowsize=1,color="#5fabe8",dir="back",penwidth=2,style="setlinewidth(0.5)"];
"herosdevices.interfaces.Interface" [URL="../../../autoapi/herosdevices/interfaces/index.html#herosdevices.interfaces.Interface",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="Generic Interface to describe and check capabilities of a device driver."];
"herosdevices.interfaces.heros.ConfiguredDevice" [URL="../../../autoapi/herosdevices/interfaces/heros/index.html#herosdevices.interfaces.heros.ConfiguredDevice",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="Base interface for heros devices."];
"herosdevices.interfaces.Interface" -> "herosdevices.interfaces.heros.ConfiguredDevice" [arrowsize=1,color="#5fabe8",dir="back",penwidth=2,style="setlinewidth(0.5)"];
}