Skip to content

Commit dc2dac2

Browse files
author
neil.hamilton
committed
Correct ps6000aGetBlockDataBulk function definition
1 parent 1ead306 commit dc2dac2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

picosdk/ps6000a.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,12 +579,13 @@ def __init__(self):
579579
int16_t handle,
580580
uint64_t startIndex,
581581
uint64_t *noOfSamples,
582+
uint64_t fromSegmentIndex,
583+
uint64_t toSegmentIndex,
582584
uint64_t downSampleRatio,
583585
PICO_RATIO_MODE downSampleRatioMode,
584-
uint64_t segmentIndex,
585586
int16_t *overflow
586587
); """
587-
ps6000a.make_symbol("_GetValuesBulk", "ps6000aGetValuesBulk", c_uint32, [c_int16, c_uint64, c_void_p, c_uint64, c_uint32, c_uint64, c_void_p], doc)
588+
ps6000a.make_symbol("_GetValuesBulk", "ps6000aGetValuesBulk", c_uint32, [c_int16, c_uint64, c_void_p, c_uint64, c_uint64, c_uint32, c_void_p], doc)
588589

589590
doc = """ PICO_STATUS ps6000aGetValuesAsync
590591
(

0 commit comments

Comments
 (0)