File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 88"""
99
1010from picosdk .constants import make_enum
11+ from picosdk .library import Library
1112
1213class PicoEnumlib (Library ):
1314 def __init__ (self ):
14- super (PicoEnumlib , self ).__init__ ("PicoDeviceEnums " )
15+ super (PicoEnumlib , self ).__init__ ("ps6000a " )
1516
1617
17- picoEnum = PicoEnumlib ()
18+ picoEnum = PicoEnumlib ()
1819
1920def _define_ratio_mode ():
2021 PICO_RATIO_MODE_AGGREGATE = 1 ,
@@ -179,7 +180,7 @@ def _define_wave_type():
179180 "PICO_SIGGEN_BUFFER_LENGTH"
180181 ])
181182
182- picoEnum .PICO_TIME_UNITS ([
183+ picoEnum .PICO_TIME_UNITS = make_enum ([
183184 "PICO_FS" ,
184185 "PICO_PS" ,
185186 "PICO_NS" ,
Original file line number Diff line number Diff line change 1111
1212class PicoStructlib (Library ):
1313 def __init__ (self ):
14- super (PicoStructlib , self ).__init__ ("PicoDeviceStructs " )
14+ super (PicoStructlib , self ).__init__ ("ps6000a " )
1515
1616
1717picoStruct = PicoStructlib ()
You can’t perform that action at this time.
0 commit comments