Test and Measurement Forum

Application crashes when using ADC212 device driver

Post general discussions on using our drivers to write your own software here

Application crashes when using ADC212 device driver

Postby spock » Fri May 09, 2003 2:44 pm

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
spock
 

Postby markspencer » Mon May 12, 2003 8:26 am

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,
Regards,

Mark Spencer
User avatar
markspencer
Site Admin
Site Admin
 
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Postby spock » Mon May 12, 2003 1:42 pm

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.
spock
 

Postby markspencer » Tue May 13, 2003 7:41 am

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,
Regards,

Mark Spencer
User avatar
markspencer
Site Admin
Site Admin
 
Posts: 598
Joined: Wed May 07, 2003 9:45 am


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests