07-09-2010 04:25 AM
Hello.
I have written a VI that utilizes Wintab32.dll for communicating with the tablet. Tablet is Wacom Intous 3 and the dll is version 1.0.4.4.. I will attach the part that is bugging me. I'm calling wintab dll with call library function node. I use WTInfo(0,0,NULL) to check if tablet is physically connected to the computer(as it is indicated in the documentation of Wintab32,which can be found on Wacom website). It should return 0 if there is no connection or buffer size(non zero number) if there is a connection. But it does not. I'm always getting a value 4439, if tablet is connected or disconnected. I will post my code along with the dll. I'm running Labview 8.5 on Windows XP SP3.
p.s. Ok just found out that I cannot upload wintab32.dll. You can find it in an installation on Wacom web page: http://www.wacom.com/downloads/driver-detail.php?id=214 . It should be in System32 after you have run the install.
07-15-2010 01:57 AM
Dear HudTunder,
First of all sorry for the late response. It is quite hard to tell what could be the problem but I could give some advises what to check. On the following link you can find some useful information on using dlls, please first check this tutorial:
http://zone.ni.com/devzone/cda/tut/p/id/4877
Here you'll see that the data type and the way of passing the data is very inportant, please double check that the dll you want to use is using the data type you expect. Secondly, do you receive any errors or just a value you do not expect? Does the tablet work with it's own driver?
Lastly, could you call that dll from a different development environment so we can verify that the problem lies at LabVIEW and not the device itself!
Thanks!
Best regards,
David Varga
Applications Engineer
NIH