Skip to content

Commit f9cd917

Browse files
committed
add missing ps6000.BlockReadyType
1 parent ddd796d commit f9cd917

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)