The api – Digilent WaveForms User Manual

Page 3

Advertising
background image

WaveForms™ SDK Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 3 of 85

The static library is located in Windows through the install path:

Windows 32-bit: C:\Program Files\Digilent\WaveFormsSDK\lib\x86

Windows 64-bit: C:\Program Files (x86)\Digilent\WaveFormsSDK\lib\x64

The C header file is located in:

Windows: C:\Program Files\Digilent\WaveFormsSDK\inc

Windows 64-bit: C:\Program Files (x86)\Digilent\WaveFormsSDK\inc

Linux: /usr/include/digilent/waveforms

Working code examples are provided with the SDK to demonstrate basic use of each API function set. You can find
samples in the installation directory, which are located here:

Windows 32-bit: C:\Program Files\Digilent\WaveFormsSDK\samples

Windows 64-bit: C:\Program Files (x86)\Digilent\WaveFormsSDK\samples

Linux: /usr/share/digilent/waveforms/samples

The DWF Library uses the Adept Runtime, which provides basic communication with the targeted hardware
instruments (i.e., Analog Discovery and Electronics Explorer). Although the Adept Runtime is an integral part of the
WaveForms System, knowledge of its structure is not required to write custom applications.

The requirements for the Linux version are the libusb-1.0-0, Digilent Adept Runtime, and the included FTDI drivers:

$ sudo apt-get install linusb-1.0-0
digilent.adept.runtime_#/ftdi.drivers_# $ sudo bash install.sh
digilent.adept.runtime_# $ sudo bash install.sh

The Mac OS X application package contains the following components:

WaveFroms Application (GUI):

o Contents\MacOS\*.*

o Contents\Resources\*.*

o Contents\Resources\digilent\waveforms\doc\*

o Contents\PlugIns\*

o Contents\Frameworks\Qt*

WaveFroms Runtime (library)

o Contents\Frameworks\libdwf.dylib

o Contents\Resources\digilent\waveforms\firmware\*

Adept Runtime (library)

o Contents\Frameworks\lib*

o Contents\Resources\digilent\data\*

Advertising