Limit of data capturing number

Forum for discussing PicoScope version 6 (non-automotive version)
masahiro
Newbie
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Limit of data capturing number

Post by masahiro »

Hi,

I'm trying to capture 1000,000 data continuously with capture function of PicoScope6.(Tool>Alarm>Capture)
But it absolutely downs at around the number of 1,187 without any error and alarm message.
(The number seems no relation with the data size and capture frequency)

Condition:
Model:PicoScope4424
Number of Channel:3(A,B,C)
Range:+-10V,50ms/div,1kS
Trigger:Continuous,Channel A
PC:RAM4.0GB,Processor1.7GHz,HDD20GB(Free space)
OS:Windows 7

Could you give me some advice?

Regards,

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Post by Martyn »

Please post a copy of your psdata file here and we will take a look at how you have the scope set up.

Use File->SaveCurrentWaveformAs
Martyn
Technical Support Manager

masahiro
Newbie
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Post by masahiro »

Thank you for your quick reply,

Attached file is a sample of the captured data.

In my some tests, the number "1,187" has no relation with the measuring parameters (Scan rate, time, range...).

Regards,
Attachments
20120926-0002 (19).psdata
(12.96 KiB) Downloaded 502 times

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Post by Martyn »

Are you trying to capture multiple triggers of this waveform with 1000 sample points in each capture ?

or

Are you trying to capture one trigger of this waveform with 1000000 sample points ?
Martyn
Technical Support Manager

masahiro
Newbie
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Post by masahiro »

Sorry for late reply.

I try to capture 1,000,000 waveform and each waveform has 1,000 points.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Post by Martyn »

So it fails at 1,187 waveforms ?

Are all waveforms written individually to disk ? in what format ?
Martyn
Technical Support Manager

masahiro
Newbie
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Post by masahiro »

The format is ".psdata".

And the program (picoscope 6) absolutely downs at 1,187 waveforms without any error message.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Post by Martyn »

I have managed to run your psdata file, having modified the save file location and removed the trigger, and it falls over at the same point for me. I have passed the information onto our development team and will report back when I have an answer.
Martyn
Technical Support Manager

masahiro
Newbie
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Post by masahiro »

It have been long time from last reply.
Is there any progress?

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Post by Martyn »

Sorry for not replying. The developers have found a memory leak in the code related to the saving of multiple files and this has now been fixed although is not yet in a released version. This should be available soon once further testing has been completed.
Martyn
Technical Support Manager

MikeSparks
Newbie
Posts: 0
Joined: Tue Nov 20, 2012 1:14 pm

Re: Limit of data capturing number

Post by MikeSparks »

Hi
I'm using Picoscope 6.6.46.1 with the alarm/save on trigger feature. I get around 1190 files, then no more and Picoscope closes. So it sounds like the same problem. Is there a version with a fix for this problem?

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Post by Martyn »

These fixes will be released in the next beta which should be appearing soon.
Martyn
Technical Support Manager

MikeSparks
Newbie
Posts: 0
Joined: Tue Nov 20, 2012 1:14 pm

Re: Limit of data capturing number

Post by MikeSparks »

Hi, I downloaded the 6.7.2 picoscope beta version, it has been running for several hours, got well beyond 1200 files, no problems so far

MikeSparks
Newbie
Posts: 0
Joined: Tue Nov 20, 2012 1:14 pm

Re: Limit of data capturing number

Post by MikeSparks »

Hi, I forgot to ask, can you tell me what type of memory leak? Ideally I'd use Performance Monitor to check that there is no leak now, so need your guidance on what memory parameters to watch. In my application I want to leave Picoscope running unattended for many weeks, so any memory leak will be a problem.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Post by Martyn »

The leak was related to the drawing of traces, the memory wasn't being recovered if the data was automatically saved to file. It was being recovered if you just went on to drawing the next buffer without any save. You can clearly see the effect by looking at memory use with the Processes tab of Task Manager.
Martyn
Technical Support Manager

Post Reply