Skip to content

Commit 9fbe508

Browse files
committed
Added function to set extclk callback for ps6000a-
ps6000aSetExternalReferenceInteractionCallback
1 parent 5a7768f commit 9fbe508

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

picosdk/ps6000a.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,17 @@ def __init__(self):
2020

2121
ps6000a = Ps6000alib()
2222

23-
ps6000a.DEFAULT_RESOLUTION = enums.PICO_DEVICE_RESOLUTION["PICO_DR_8BIT"]
23+
doc = """ void ps6000aExternalReferenceInteractions
24+
(
25+
int16_t handle,
26+
PICO_STATUS status,
27+
PICO_CLOCK_REFERENCE reference
28+
); """
29+
ps6000a.ExternalReferenceInteractionsReadyType = C_CALLBACK_FUNCTION_FACTORY(None,
30+
c_int16,
31+
c_uint32,
32+
c_uint32)
33+
ps6000a.ExternalReferenceInteractionsReadyType.__doc__ = doc
2434

2535
doc = """ void ps6000aBlockReady
2636
(

0 commit comments

Comments
 (0)