Hi, I search for a while for a sample in c++ using Digital Input (I only can find analog input) using a 1018 - PhidgetInterfaceKit 8/8/8. Just a very simple push button attached to ground and an input 0. I write a simple working program with Qt4 and calling the functions inside a button, for example, but I can't make the system work with events inside Qt. When I put some event function with __stdcall and if I use CPhidget_delete((CPhidgetHandle)ifKit); I have a exit error or I can´t read anything.
Somebody knows about and example with Qt (c++) for digital inputs and events?
I put a VERY simple functional sample, written in Qt4. May be somebody can need it. Just wire your card like http://www.phidgets.com/documentation/Phidgets/1018.pdf says, and Install the things like the programming section show.