documentation of routines in usbadc11.dll

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


Joined: 17 Sep 2007
Posts: 3

PostPosted: Mon Sep 17, 2007 12:53 pm    Post subject: documentation of routines in usbadc11.dll Reply with quote

Hello,
eventhough we can somehow guess what is the function and meaning of the routines and their parameters by looking at the 'console' program (usbadc11cons.c) it would be nice to have some short writeup on them. Does this exist ? I did not find on the web or on the installation dvd.
I particular, in the dll every routine appears twice e.g. UsbAdc11OpenUnit and UsbAdc11OpenUnit-2 . What is the difference ?
Also, what is the use of UsbAdc11ApplyFix ?
Thanks for any help on this.
Jan Buytaert
Back to top
picojohn
Site Admin
Site Admin


Joined: 11 Jun 2007
Posts: 391

PostPosted: Mon Sep 17, 2007 2:31 pm    Post subject: Reply with quote

Hello jbuytaert,

The ADC-11 User Guide contains an explanation of the C calls, and may be viewed or downloaded from our website (http://www.picotech.com/document/pdf/adc11.pdf) free of charge.

Regards
John
Back to top
jbuytaert
User
User


Joined: 17 Sep 2007
Posts: 3

PostPosted: Tue Sep 18, 2007 7:54 am    Post subject: Reply with quote

Thank you for your reply. That document provides indeed a better description of these routines, but is not upto date for the usb adc11 ...
It does not provide an answer to my question regarding the two versions of routines and the applyfix routine. Thank you for any further information.
Best regards, Jan
Back to top
picojohn
Site Admin
Site Admin


Joined: 11 Jun 2007
Posts: 391

PostPosted: Tue Sep 18, 2007 3:54 pm    Post subject: Reply with quote

Hello jbuytaert,

You are correct about the absence of information specific to the usbadc11, however, you may gain an understanding of the usb routines through comparison with those for the parallel device.

We know of no reference to UsbAdc11OpenUnit-2 in the current software, and wonder where exactly you found that, and in which version?

The UsbAdc11ApplyFix routine is for factory use only.

Regards
John
Back to top
jbuytaert
User
User


Joined: 17 Sep 2007
Posts: 3

PostPosted: Wed Sep 19, 2007 6:59 am    Post subject: Reply with quote

Hi,
I used the dll import wizard provided in Labview 8.2.
The report from that wizard stated there are these xxx-2 routines in the usbadc11.dll.
Thanks for your help. I got it working nicely under labview 8.2.
Cheers, Jan
Back to top
Guest






PostPosted: Fri Jul 04, 2008 8:14 am    Post subject: how to select a unit Reply with quote

I have two adc-11 units on USB. How do I choose unit A or B in usbadc11? adc1132.dll distinguishes the units by parallel port number and contains adc11_set_unit() function. usbadc11.dll supports no such thing - at least I can't find any way to do it.

Any hints?
Back to top
markB
Site Admin
Site Admin


Joined: 27 Mar 2007
Posts: 80
Location: Cambridgeshire,UK

PostPosted: Tue Jul 08, 2008 9:02 am    Post subject: Reply with quote

When you open the device you can pass USBADC11_BATCH_AND_SERIAL to UsbAdc11GetUnitInfo to query the device serial number. The serial numbers are also printed on the USB ADC11 so you can tell which is which.
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