Test and Measurement Forum

ADC212/3 and VEE example

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

ADC212/3 and VEE example

Postby Michel JOSEPH » Wed Jun 09, 2004 7:10 am

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
Michel JOSEPH
User
User
 
Posts: 3
Joined: Tue Jun 08, 2004 8:54 am

Postby markspencer » Wed Jun 09, 2004 7:28 am

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
User avatar
markspencer
Site Admin
Site Admin
 
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Postby Michel JOSEPH » Wed Jun 09, 2004 8:45 am

Hi, Mark
Thanks you for your reply.
For others users, the best string is "__stdcall" with 2 _ , and not "_stdcall".
Bests regards
Michel JOSEPH
Michel JOSEPH
User
User
 
Posts: 3
Joined: Tue Jun 08, 2004 8:54 am

Postby markspencer » Thu Jun 10, 2004 9:33 am

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
User avatar
markspencer
Site Admin
Site Admin
 
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Postby Guest » Tue Aug 31, 2004 11:52 pm

Thanks, this solved the problem for me under VEE7.

Niel, New Zealand.
Guest
 


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests