Dataman 770 Series User Manual

Page 3

Advertising
background image


Development kit for DATAMAN 770 series

Programmer’s Guide

Contents


1. Basic information.......................................................................................................6

1.1. Development kit contents ...................................................................................6
1.2. DK usage.............................................................................................................6
1.3. Application deployment......................................................................................6

2. Controlling the device................................................................................................7

2.1. Device initialization ............................................................................................7
2.2. Error handling .....................................................................................................7
2.3. Data acquisition loop ..........................................................................................7
2.4. Acquired data allocation .....................................................................................8
2.5. Measurement in the sampling mode ...................................................................8

2.5.1. Random sampling method ...........................................................................8
2.5.2. Measurement in sampling mode ................................................................10

2.6. Using more 770 devices....................................................................................10

3. Reference .................................................................................................................11

3.1. Functions, that returns information about device .............................................12

3.1.1. GetDKError................................................................................................12
3.1.2. ResetDKError ............................................................................................12
3.1.3. GetDeviceID ..............................................................................................12
3.1.4. GetDeviceSerialNumber ............................................................................13
3.1.5. GetDKVersion ...........................................................................................13
3.1.6. GetTimeBaseList .......................................................................................13
3.1.7. GetRangeList .............................................................................................14

3.2. Initialization functions ......................................................................................14

3.2.1. LoadDriver .................................................................................................14
3.2.2. InitHardware ..............................................................................................15
3.2.3. GetDeviceList ............................................................................................15
3.2.4. InitHardwareFromList ...............................................................................15
3.2.5. UseDevice ..................................................................................................16

3.3. Functions, that set the data acquisition parameters...........................................16

3.3.1. SetTimeBase ..............................................................................................16
3.3.2. SetRange ....................................................................................................16
3.3.3. SetCoupling................................................................................................17
3.3.4. SetVert .......................................................................................................17
3.3.5. SetTriggerLevel .........................................................................................17
3.3.6. SetTriggerCount.........................................................................................18
3.3.7. SetTriggerLength .......................................................................................18
3.3.8. SetTriggerMode .........................................................................................18
3.3.9. SetAfterTriggerLength...............................................................................19
3.3.10. SetHoldOff ...............................................................................................19
3.3.11. SetTriggerSource .....................................................................................19
3.3.12. SetTriggerEdge ........................................................................................19
3.3.13. SetProbe ...................................................................................................20
3.3.14. SetMemorySize........................................................................................20
3.3.15. SetCompensationGenerator .....................................................................20
3.3.16. SetGround ................................................................................................21
3.3.17. SetDigitalShielding ..................................................................................21

3.4. Data acqusition functions..................................................................................22

- 3 -

Advertising