problems using your app.note: "ADC1132" for visual

Having problems ? let us know the details here
Post Reply
Gulakur Matras
User
User
Posts: 3
Joined: Wed Jun 20, 2007 11:51 am

problems using your app.note: "ADC1132" for visual

Post by Gulakur Matras »

We have just bought a PICO adc11/12. Our plan is to use is in some of our test equipment.
Normally we make our programming in VisualBasic, so I have tried your App.note “ADC1132â€

davidj
Site Admin
Site Admin
Posts: 43
Joined: Wed Oct 11, 2006 8:50 am
Location: St. Neots, Cambs, UK

Post by davidj »

Hi
Sorry to hear you are having problems.
There are three HW versions of the parallel port ADC11. V1 is the original 10 bit device. V2 and V3 are the new 10 and 12 bit devices respectively and we have been selling these for a long time now.

One of the problems with the V1 device is that you cannot tell if the device is connected to the port. The other two versions can be detected therefore if no device is connected to the port we have to assume that there is a V1 device there. This is the reason why HW verison 1 is reported in device info.

You should be seeing V3 in the device information to indicate that the adc11/12 is being found correctly. The kernel driver seems to be loaded properly so it could just be a problem with the parallel port. You can try the usual things, new parallel cable, use ouput only.

Please let me know how you get on.
Regards,
David

Gulakur Matras
User
User
Posts: 3
Joined: Wed Jun 20, 2007 11:51 am

Post by Gulakur Matras »

Hello David.
First, tank you for your answer. There is information I have forgotten to give you. This ADC11/12 data logger is an USB-device and not a parallel port device.
Therefore, the problem is not the cable from the device to computer (USB-cable).
I have tried to make a breakpoint I the VisualBasic source code after: “ADC-11 openedâ€

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

Hi , you are using the ADC11 parallel ported example, there are two sets of programming examples, ones for the Parallel ADC11 and ones for the USB ADC11.

However you can still use the parallel ported ones by putting the following

adc11_open_unit (101,111)

Kind regards
Ziko

Technical Specialist

Gulakur Matras
User
User
Posts: 3
Joined: Wed Jun 20, 2007 11:51 am

Post by Gulakur Matras »

Hello Ziko.
I have found out it. I have to use the usbadc11.dll.
But do you know if it is possible to get a description of all calls for the usbadc11.dll?

Best regards.

Gulakur

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

Hi there is no documentation for the USB function calls however they are very similar to the ones of the Parallel ADC11.


Kind regards
Ziko

Technical Specialist

Post Reply