adc200_open_unit() problems

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

adc200_open_unit() problems

Post by cerel » Fri Jun 20, 2003 6:46 am

Two years ago I wrote a Visual Basic program (VB6) that operates the adc200. It worked well.
Obviously, the first thing the program does is use the adc200_open_unit() function and test for true/false before continuing on.
Now I installed the program on another computer and get a "false" on this function. However, if I use PicoScope, the unit seems to operate well. So the questions are:
1. Does the PicoScope program use a different method than this function to open the unit (i.e. a built in function insteadd of calling the DLL function).
2. Is there a way to get deeper into the reason why I get this response?

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

Post by markspencer » Fri Jun 20, 2003 1:18 pm

Hi,

Picoscope uses the same .dll that is provided for your own software. You could check that you are using the same .dll for Picoscope and your own application.

You could use the function adc200_get_status to see what error is being returned. The error messages along with the related numbers are listed in the help manual.

Best regards,
Regards,

Mark Spencer

Post Reply