Maximum number of segments in rapid trigger mode, 2208B

Post general discussions on using our drivers to write your own software here
Post Reply
Mmm22
User
User
Posts: 2
Joined: Mon Jun 15, 2020 9:21 am

Maximum number of segments in rapid trigger mode, 2208B

Post by Mmm22 »

When I try to set the number of blocks more than 32k, _ps2000aMemorySegments@12 function throws error 5030 "PICO_TOO_MANY_SEGMENTS: Not possible to create number of segments requested". This behavior is independent of the number of samples in each block, as well as x32 or x64 drivers.
According to the datasheet it should be possible to use 500k Segmented memory buffers.

NeilH
PICO STAFF
PICO STAFF
Posts: 268
Joined: Tue Jul 18, 2017 8:28 am

Re: Maximum number of segments in rapid trigger mode, 2208B

Post by NeilH »

Hi

In the specifications the maximum waveforms in rapid trigger mode for the 2208B is 10000.
If trying to set a value greater than this then a error will be returned by the scope to that function call.

Neil
Neil
Technical Support Engineer

Mmm22
User
User
Posts: 2
Joined: Mon Jun 15, 2020 9:21 am

Re: Maximum number of segments in rapid trigger mode, 2208B

Post by Mmm22 »

NeilH wrote:
Tue Oct 20, 2020 7:41 am
Hi

In the specifications the maximum waveforms in rapid trigger mode for the 2208B is 10000.
If trying to set a value greater than this then a error will be returned by the scope to that function call.

Neil
Datasheet says that 10000 is for the PicoScope software, 500000 for the SDK.

NeilH
PICO STAFF
PICO STAFF
Posts: 268
Joined: Tue Jul 18, 2017 8:28 am

Re: Maximum number of segments in rapid trigger mode, 2208B

Post by NeilH »

Are you able to show the code which you're using?
Neil
Technical Support Engineer

Mmm22
User
User
Posts: 2
Joined: Mon Jun 15, 2020 9:21 am

Re: Maximum number of segments in rapid trigger mode, 2208B

Post by Mmm22 »

NeilH wrote:
Tue Oct 20, 2020 11:38 am
Are you able to show the code which you're using?
I used the PicoScope2000aExampleRapidBlockBulkMSO.vi example, but I am pretty sure it will be the same for any rapid block example.
https://github.com/picotech/picosdk-ni- ... BulkMSO.vi

Mmm22
User
User
Posts: 2
Joined: Mon Jun 15, 2020 9:21 am

Re: Maximum number of segments in rapid trigger mode, 2208B

Post by Mmm22 »

Has this bug been confirmed?

AndrewA
PICO STAFF
PICO STAFF
Posts: 407
Joined: Tue Oct 21, 2014 3:07 pm

Re: Maximum number of segments in rapid trigger mode, 2208B

Post by AndrewA »

Hi,
I have issues running PicoScope2000aGetRapidBlockBulk.vi example, it failed to work above 10k segments.
I have update the PicoScope2000aGetRapidBlockBulk.vi example, mainly the PicoScope2000aGetRapidBlockBulk.vi sub vi.
I have improved SetDataBuffers code and added support for downsampling.
After changing the code I was able to get 128k which is the max. for my 2206B. (see below for all models)
https://github.com/picotech/picosdk-ni- ... BulkMSO.vi
I didn't have access to a 2208B to test its limit.
As you increase the number of segments used the max. number of samples per segment reduces.
I have added nMaxSamples indicator in PicoScope2000aGetRapidBlockBulk.vi, to see this.

SDK Max. Segments for 2000 series models-
2204A,2205A N/A
2405A, 2205A MSO 96
2206B, 2406B, 2206B MSO, 128k
2207B, 2407B, 2207B MSO 256k
2208B, 2408B, 2208B MSO 512k
From https://www.picotech.com/oscilloscope/2 ... ifications
Regards Andrew
Technical Specialist

Post Reply