Skip to content

Commit 2daf8e6

Browse files
author
neil-hamilton
authored
Merge pull request picotech#28 from nEXO-Carleton/add_ps6000-BlockReadyType
add missing ps6000.BlockReadyType
2 parents 3c844e4 + f9cd917 commit 2daf8e6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

picosdk/ps6000.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,18 @@ class PS6000_TRIGGER_INFO (Structure):
637637
ps6000.make_symbol("_RunStreaming", "ps6000RunStreaming", c_uint32,
638638
[c_int16, c_void_p, c_int32, c_uint32, c_uint32, c_int16, c_uint32, c_int32, c_uint32], doc)
639639

640+
doc = """ void ps6000BlockReady
641+
(
642+
int16_t handle,
643+
PICO_STATUS status,
644+
void *pParameter
645+
); """
646+
ps6000.BlockReadyType = C_CALLBACK_FUNCTION_FACTORY(None,
647+
c_int16,
648+
c_uint32,
649+
c_void_p)
650+
ps6000.BlockReadyType.__doc__ = doc
651+
640652
doc = """ void ps6000StreamingReady
641653
(
642654
int16_t handle,

0 commit comments

Comments
 (0)