Test and Measurement Forum

Intermittent Hang on PS6403 during ps6000RunBlock

Post your C and C++ discussions here

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Postby Hamsteh » Thu Sep 16, 2010 10:38 pm

Hi Chris,

Thanks for that.

I have used both MinGW compiler (Through Code::Blocks) and the Visual C++ compiler from Visual Studio 2008.

One thing I have noticed is that if I hit 'B' to run 'Immediate Block' as soon as the application is accepting input I get what appears to be nonsense data in the data.txt file:
Code: Select all
0 , -6656, -40940 , -12800, -78740 , -12288, -75590 , -15616, -9606
0 , -6656, -40940 , -12544, -77160 , -12288, -75590 , -15616, -9606
0 , -6656, -40940 , -12800, -78740 , -12288, -75590 , -15616, -9606
0 , -6656, -40940 , -12800, -78740 , -12544, -77160 , -15616, -9606
0 , -6656, -40940 , -12544, -77160 , -12288, -75590 , -15360, -9448




Could this be related to the issue I am seeing? Because the hang does seem more common when i am attemping to read a block soon after opening the Picoscope unit...

Cheers,
Alex.
Hamsteh
Newbie
 
Posts: 0
Joined: Mon Aug 09, 2010 5:36 am

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Postby Chris » Tue Sep 21, 2010 1:02 pm

Hi Alex

Can you try the same tests using another PC.

If you are still having problems, please email support@picotech.com to arrange returning the unit for testing here.

Thanks

-Chris.
Chris
Site Admin
Site Admin
 
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Postby FranzJH » Tue Dec 04, 2012 9:19 am

Hi Chris,

can you please report what the problem caused and solved?

I have the same behaviour with my PS6403 and Software Development Kit R10.4.3.1.
(behaviour: PS6403 hangs because sometimes the CallBackBlock doesn't get called, many measurement values (>100000) seems to be more critical).

Thank you in advance!

Franz
FranzJH
Newbie
 
Posts: 0
Joined: Tue Dec 04, 2012 9:02 am

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Postby Martyn » Tue Dec 04, 2012 9:39 am

The post from Chris was over two years ago, and there have been a number of driver releases in this time, so it would be best to treat this as a new issue.

Are you using a 6403 or a newer 6403A/B ?
What development environment/language are you using ?
How is the scope set up ? channels, sample interval/timebase, memory segments, number of captures, data buffer allocation etc

It may be quicker if you can post your code either here, or to us at support@picotech.com , and then we can comment further.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2348
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Previous

Return to C and C++

Who is online

Users browsing this forum: No registered users and 1 guest