ADC212/3 and VEE example

Post general discussions on using our drivers to write your own software here
Post Reply
Michel JOSEPH
User
User
Posts: 3
Joined: Tue Jun 08, 2004 8:54 am

ADC212/3 and VEE example

Post by Michel JOSEPH »

Hi,
Yesterday, i had send a post about my problems for starting my ADC212/3 with your VEE example, and this morning, I look at the forum, but my post is not present, so I repeat my post.
My ADC212 work with picoscop and VB6and excel not with VEE.
With VEE example, The compiled librairy is correctly loaded, but after download librairy, an error message appears, " stack pointer is corrupted after return from ADC_200_open_unit.
I've downloaded latest version of released drivers
When I explore my WinXP "system information" I can see than adc200 is started.
Where is the error ?
Best regards,
Michel JOSEPH

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

Post by markspencer »

Hi,

I am sorry to hear that you are experiencing this problem. If you are using HPVee 6. You will need to ensure that there is:

__stdcall between the return type and routines name in the .vh file.

Check that your driver path is correct as well.

The examples have been written onn HPVee 4, and tested with HP Vee 5 and 6.

Best regards,
Regards,

Mark Spencer

Michel JOSEPH
User
User
Posts: 3
Joined: Tue Jun 08, 2004 8:54 am

Post by Michel JOSEPH »

Hi, Mark
Thanks you for your reply.
For others users, the best string is "__stdcall" with 2 _ , and not "_stdcall".
Bests regards
Michel JOSEPH

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

Post by markspencer »

Hi,

Thank you for post if you look at my post you will see that there are 2 _'s. I hope all is working now.

Best regards,[/quote]
Regards,

Mark Spencer

Guest

Post by Guest »

Thanks, this solved the problem for me under VEE7.

Niel, New Zealand.

Post Reply