Digilent WaveForms User Manual

Digilent Hardware

Advertising
background image

1300 Henley Court

Pullman, WA 99163

509.334.6306

www.digilentinc.com

WaveForms™ SDK Reference Manual

Revised January 26, 2015

DOC#: 506-028

Copyright Digilent, Inc. All rights reserved.

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

Page 1 of 85

Table of Contents

Table of Contents .................................................................................................................. 1

Overview ............................................................................................................................... 2

1

The System .................................................................................................................... 2

1.1

The API.............................................................................................................................. 4

1.2

Calling API Functions ........................................................................................................ 6

2

System ........................................................................................................................... 7

3

Device Enumeration ....................................................................................................... 8

4

Device Control ............................................................................................................. 10

5

Analog In (Oscilloscope) ............................................................................................... 14

5.1

Control ............................................................................................................................ 14

5.2

Configuration .................................................................................................................. 18

5.3

Channels ......................................................................................................................... 21

5.4

Trigger ............................................................................................................................ 24

5.5

Trigger Detector ............................................................................................................. 27

6

Analog Out (Arbitrary Waveform Generator) ................................................................ 34

6.1

Control ............................................................................................................................ 36

6.2

Configuration .................................................................................................................. 37

6.3

States .............................................................................................................................. 47

7

Analog I/O ................................................................................................................... 51

8

Digital I/O .................................................................................................................... 55

9

Digital In (Logic Analyzer) ............................................................................................. 58

9.1

Control ............................................................................................................................ 59

9.2

Configuration .................................................................................................................. 61

9.3

Trigger ............................................................................................................................ 65

9.4

Trigger Detector ............................................................................................................. 67

10

Digital Out (Pattern Generator) .................................................................................... 68

10.1

Control ........................................................................................................................ 70

10.2

Configuration .............................................................................................................. 71

11

Deprecated functions ................................................................................................... 80


Advertising