PDA

View Full Version : DFK 23UV024 GPIO with C++ library



AlbertoLucas
January 31, 2017, 10:07:32
Hi there,

I have purchased a DKF23UV024 usb 3.0 camera and i am interested in having a programming example in C++ library of how to control the trigger and the digital I/Os (GPIO).

In the whitepapers of the camera downloaded from the imaging source site only mentions an example in visual basic.

Also, i found this thread in the forum that uses a C library example, will it also works in C++?

http://www.theimagingsourceforums.com/showthread.php?325466-Can-GPIO-be-controlled-with-the-IC-Imaging-Control-C-Library

Thanks and regards.

Stefan Geissler
January 31, 2017, 11:48:02
After you have installed our IC Imaging Control 3.4 SDK from
https://www.theimagingsource.com/support/downloads-for-windows/software-development-kits-sdks/icimagingcontrol/
, please have a look into the samples directory at

c:\Users\<user>\Documents\IC Imaging Control 3.4\samples\vc10\DigitalIO\

It shows, how to use the IOs.

The trigger is simple. Please look at
https://www.theimagingsource.com/support/documentation/ic-imaging-control-cpp/meth_descGrabber_setExternalTrigger.htm


It is the same text, I have sent to you by email.

If you use Visual Studio C++, then do not use the C-Library. It is not as sophisticated as the IC classlibrary.