09-05-2013 01:13 PM
Hello. I have a Nexia touchscreen monitor that is being driven by the UPDD driver (http://www.touch-base.com/).
The company provides a SDK and API (http://www.touch-base.com/documentation/SDK.htm).
I am trying to impliment these by calling the DLL in labview (2012). A list of API functions can be found here: http://touch-base.com/documentation/API-Functions.htm
So far I can call simple ones such as TBApiInit() and TBApiOpen() as well as enable and disable the pointer interface with TBApiMousePortInterfaceEnable.
My issues begin when I try to use TBApiGetRelativeDevice (http://touch-base.com/documentation/apifunctions/tbapiGetRelativeDevice.htm).
I cannot figure out the structure or data types I need as keep crashing labview or getting errors.
From that site an example is given...
Visual C++ Declaration/example
HTBDEVICE TBAPI TBApiGetRelativeDevice(int o);
// Gets the first device on the system, you can use
HTBDEVICE device = TBApiGetRelativeDevice(0);
I have tried to make the HTBDEVICE a U32, string, as well as every other datatype and thus far none work.
Any help or suggestions would be appriciated.
JEFF
09-06-2013 04:15 PM