Test and Measurement Forum

Limit of data capturing number

Forum for discussing PicoScope version 6 (non-automotive version)

Limit of data capturing number

Postby masahiro » Thu Sep 27, 2012 12:48 pm

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,
masahiro
Newbie
 
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Postby Martyn » Thu Sep 27, 2012 1:15 pm

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2291
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Postby masahiro » Fri Sep 28, 2012 7:22 am

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 189 times
masahiro
Newbie
 
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Postby Martyn » Fri Sep 28, 2012 8:07 am

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2291
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Postby masahiro » Wed Oct 10, 2012 1:36 am

Sorry for late reply.

I try to capture 1,000,000 waveform and each waveform has 1,000 points.
masahiro
Newbie
 
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Postby Martyn » Fri Oct 12, 2012 12:29 pm

So it fails at 1,187 waveforms ?

Are all waveforms written individually to disk ? in what format ?
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2291
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Postby masahiro » Tue Oct 16, 2012 4:19 am

The format is ".psdata".

And the program (picoscope 6) absolutely downs at 1,187 waveforms without any error message.
masahiro
Newbie
 
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Postby Martyn » Tue Oct 16, 2012 8:00 am

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2291
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Postby masahiro » Tue Nov 06, 2012 2:43 am

It have been long time from last reply.
Is there any progress?
masahiro
Newbie
 
Posts: 0
Joined: Tue Aug 07, 2012 6:01 am

Re: Limit of data capturing number

Postby Martyn » Tue Nov 06, 2012 7:04 am

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2291
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Postby MikeSparks » Tue Nov 20, 2012 1:18 pm

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?
MikeSparks
Newbie
 
Posts: 0
Joined: Tue Nov 20, 2012 1:14 pm

Re: Limit of data capturing number

Postby Martyn » Thu Nov 22, 2012 9:26 am

These fixes will be released in the next beta which should be appearing soon.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2291
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Limit of data capturing number

Postby MikeSparks » Thu Nov 29, 2012 9:35 pm

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

Postby MikeSparks » Thu Nov 29, 2012 10:05 pm

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.
MikeSparks
Newbie
 
Posts: 0
Joined: Tue Nov 20, 2012 1:14 pm

Re: Limit of data capturing number

Postby Martyn » Fri Nov 30, 2012 8:28 am

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2291
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Next

Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests