Programming examples – Measurement Computing SWITCH User Manual
Page 29
![background image](https://www.manualsdir.com/files/797896/content/doc029.png)
Switch & Sense 8 User's Guide Template
Software Library Reference (ICalUSB.dll)
29
Programming examples
The installation-CD includes both Microsoft Visual Basic and Microsoft Visual C/C++ example applications.
The examples demonstrate how to use the interface library to programmatically control one or more Switch &
Sense 8 modules.
Before running any of the sample applications or attempting to develop a new application, configure the Switch
& Sense 8 board(s) using the IcalUsb.exe application. Refer "Running the Switch & Sense 8 software
(ICalUSB.exe)" on pg. 15 for complete details.
The VB example (Vbex1.vbp) is in Microsoft Visual Base 6.0. This example demonstrates all of the library
functions. The dialog allows you to read and write all of the onboard peripherals. Status information is provided
for each operation using the cbUSBGetErrMsg()function.
The VC/C++ example is in Microsoft Visual C/C++ 6.0. This example demonstrates all of the library functions.
The dialog allows the user to read and write all of the onboard peripherals. Status information is provided for
each operation using the
cbUSBGetErrMsg()
function.