Skip to content

Commit 661da45

Browse files
author
neil.hamilton
committed
update psospa.py with changes
1 parent c888938 commit 661da45

File tree

1 file changed

+4
-40
lines changed

1 file changed

+4
-40
lines changed

picosdk/psospa.py

Lines changed: 4 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,6 @@ def __init__(self):
8181
); """
8282
psospa.make_symbol("_GetVariantDetails", "psospaGetVariantDetails", c_uint32, [c_char_p, c_int16, c_char_p, c_void_p], doc)
8383

84-
doc = """ PICO_STATUS psospaGetAccessoryInfo
85-
(
86-
int16_t handle,
87-
PICO_CHANNEL channel,
88-
int8_t* string,
89-
int16_t stringLength,
90-
int16_t* requiredSize,
91-
PICO_INFO info
92-
); """
93-
psospa.make_symbol("_GetAccessoryInfo", "psospaGetAccessoryInfo", c_uint32, [c_int16, c_uint32, c_char_p, c_int16, c_void_p, c_uint32], doc)
94-
9584
doc = """ PICO_STATUS psospaMemorySegments
9685
(
9786
int16_t handle,
@@ -208,13 +197,6 @@ def __init__(self):
208197
); """
209198
psospa.make_symbol("_SigGenTrigger","psospaSigGenTrigger", c_uint32, [c_int16, c_uint32, c_uint32, c_uint64, c_uint64], doc)
210199

211-
doc = """ PICO_STATUS psospaSigGenFilter
212-
(
213-
int16_t handle,
214-
PICO_SIGGEN_FILTER_STATE filterState
215-
); """
216-
psospa.make_symbol("_SigGenFilter","psospaSigGenFilter", c_uint32, [c_int16, c_uint32], doc)
217-
218200
doc = """ PICO_STATUS psospaSigGenFrequency
219201
(
220202
int16_t handle,
@@ -249,14 +231,6 @@ def __init__(self):
249231
); """
250232
psospa.make_symbol("_SigGenPhaseSweep","psospaSigGenPhaseSweep", c_uint32, [c_int16, c_uint64, c_uint64, c_uint64, c_uint32], doc)
251233

252-
doc = """ PICO_STATUS psospaSigGenClockManual
253-
(
254-
int16_t handle,
255-
double dacClockFrequency,
256-
uint64_t prescaleRatio
257-
); """
258-
psospa.make_symbol("_SigGenClockManual","psospaSigGenClockManual", c_uint32, [c_int16, c_double, c_uint64], doc)
259-
260234
doc = """ PICO_STATUS psospaSigGenSoftwareTriggerControl
261235
(
262236
int16_t handle,
@@ -437,27 +411,27 @@ def __init__(self):
437411
int16_t handle,
438412
PICO_CHANNEL channel,
439413
PICO_POINTER buffer,
440-
int32_t nSamples,
414+
int64_t nSamples,
441415
PICO_DATA_TYPE dataType,
442416
uint64_t waveform,
443417
PICO_RATIO_MODE downSampleRationMode,
444418
PICO_ACTION action
445419
); """
446-
psospa.make_symbol("_SetDataBuffer","psospaSetDataBuffer", c_uint32, [c_int16, c_uint32, c_void_p, c_uint32, c_uint32, c_uint64, c_uint32, c_uint32], doc)
420+
psospa.make_symbol("_SetDataBuffer","psospaSetDataBuffer", c_uint32, [c_int16, c_uint32, c_void_p, c_uint64, c_uint32, c_uint64, c_uint32, c_uint32], doc)
447421

448422
doc = """ PICO_STATUS psospaSetDataBuffers
449423
(
450424
int16_t handle,
451425
PICO_CHANNEL channel,
452426
PICO_POINTER bufferMax,
453427
PICO_POINTER bufferMin,
454-
int32_t nSamples,
428+
int64_t nSamples,
455429
PICO_DATA_TYPE dataType,
456430
uint64_t waveform,
457431
PICO_RATIO_MODE downSampleRatioMode,
458432
PICO_ACTION action
459433
); """
460-
psospa.make_symbol("_SetDataBuffers","psospaSetDataBuffers", c_uint32, [c_int16, c_uint32, c_void_p, c_void_p, c_int32, c_uint32, c_uint64, c_uint32, c_uint32], doc)
434+
psospa.make_symbol("_SetDataBuffers","psospaSetDataBuffers", c_uint32, [c_int16, c_uint32, c_void_p, c_void_p, c_int64, c_uint32, c_uint64, c_uint32, c_uint32], doc)
461435

462436
doc = """ PICO_STATUS psospaRunBlock
463437
(
@@ -663,16 +637,6 @@ def __init__(self):
663637
); """
664638
psospa.make_symbol("_NearestSampleIntervalStateless","psospaNearestSampleIntervalStateless", c_uint32, [c_int16, c_uint32, c_double, c_char,c_uint32, c_void_p, c_void_p], doc)
665639

666-
doc = """ PICO_STATUS psospaChannelCombinationsStateless
667-
(
668-
int16_t handle,
669-
PICO_CHANNEL_FLAGS* channelFlagsCombinations,
670-
uint32_t* nChannelCombinations,
671-
PICO_DEVICE_RESOLUTION resolution,
672-
uint32_t timebase
673-
); """
674-
psospa.make_symbol("_ChannelCombinationsStateless","psospaChannelCombinationsStateless", c_uint32, [c_int16, c_void_p, c_void_p, c_uint32, c_uint32], doc)
675-
676640
doc = """ PICO_STATUS psospaSetDeviceResolution
677641
(
678642
int16_t handle,

0 commit comments

Comments
 (0)