Application crashes when using ADC212 device driver

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
spock
Guest





PostPosted: Fri May 09, 2003 2:44 pm    Post subject: Application crashes when using ADC212 device driver Reply with quote

Hi,

I wrote my own application in Visual C++ to control and acquire signals with an ADC212/100 module. Sometime, I get the following error which crashes my application:

I get a dialog that shows "Memmgr Unreleased Global File A200, spar.c line 856" when the appl. crashes.

I am trying to figure out what could possibly cause this problem. What conditions can generate this error message?

Any idea??

Thanks
Back to top
markspencer
Site Admin
Site Admin


Joined: 07 May 2003
Posts: 610

PostPosted: Mon May 12, 2003 8:26 am    Post subject: Reply with quote

Hi,

Check that you are using the latest sofware and driver release, downloads available from here.

Check that you are calling the functions in the correct order. You can find this information out in the help manual or by looking at the examples provided in c programs.

Under what circumstances does your application crash?

Best regards,
Back to top
spock
Guest





PostPosted: Mon May 12, 2003 1:42 pm    Post subject: Reply with quote

I will download the latest driver version and see what happens.

It is very difficult to tell in what circumstances the application crashes because it happens randomly and intermittently. The application is used extensively all day long. Sometimes it crashes 2 to 3 times during the day, and other days it doesn't crash at all. Given the file name and the line number where it crashes within the driver, I thought you could provice hints what the problem could be.

Thanks.
Back to top
markspencer
Site Admin
Site Admin


Joined: 07 May 2003
Posts: 610

PostPosted: Tue May 13, 2003 7:41 am    Post subject: Reply with quote

Hi,

If you keep Picolog or Picoscope running all day do either of these crash on your PC? These use the same drivers that are provided in the driver downloads.

Check that the functions are being called in the correct order against our example programs.

Best regards,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group