Skip to content

Commit 3c844e4

Browse files
author
neil.hamilton
committed
Add DEFAULT_RESOLUTION to ps6000a.py for anyScopeExamples
1 parent c366413 commit 3c844e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

picosdk/ps6000a.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from picosdk.library import Library
1212
from picosdk.ctypes_wrapper import C_CALLBACK_FUNCTION_FACTORY
1313
from picosdk.constants import make_enum
14+
from picosdk.PicoDeviceEnums import picoEnum as enums
1415

1516

1617
class Ps6000alib(Library):
@@ -19,6 +20,8 @@ def __init__(self):
1920

2021
ps6000a = Ps6000alib()
2122

23+
ps6000a.DEFAULT_RESOLUTION = enums.PICO_DEVICE_RESOLUTION["PICO_DR_8BIT"]
24+
2225
doc = """ void ps6000aBlockReady
2326
(
2427
int16_t handle,

0 commit comments

Comments
 (0)