Dataman 570 Series User Manual

Page 3

Advertising
background image


Development kit for DATAMAN 570 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

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.3. Functions, that set the data acquisition parameters...........................................15

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

3.4. Data acqusition functions..................................................................................21

3.4.1. StartMeasurement ......................................................................................21
3.4.2. IsDataReady ...............................................................................................21
3.4.3. GetReconstructionPercentage ....................................................................21
3.4.4. GetData ......................................................................................................22

- 3 -

Advertising