beautypg.com

Programming and developing applications, Chapter 2 – Measurement Computing DAQFlex User Manual

Page 7

background image

7

Chapter 2

Programming and developing applications

The firmware architecture uses a String Message Based Interface (SMBI) to communicate with DAQFlex

series hardware. A minimal number of device transactions is required. Communication with the device is

accomplished through the USB driver (mccusb, libusb, or other custom driver).

Device hardware installed on a Mac OS X system is configured with the libusb driver.

Refer to the Windows driver (mccusb) or the Linux driver (libusb) for an example of how to

communicate with DAQFlex series hardware. You can also use the DAQFlex software API source code as
a guide for developing a driver to interface directly with the hardware.

Notes

Experience with CONTROL transfers for asynchronous communications, and BULK transfers for

synchronous communications is recommended.

Only experienced USB programmers should attempt to write a driver for use with the DAQFlex
firmware.

Not all of the messages supported by the software are supported when talking directly to the device

firmware.