Chapter 4: PowerDAQ Software (SDK)
80
•
Enable and start analog output waveform generation
#
_PdAOutEnableConv(…) use 1 as dwEnable
#
_PdAOutSwStartTrig(…)
Note
Use _PdAOutSwStartTrig() to start waveform
generation by software. If you wish to synchronize
analog output signal with external trigger, set
appropriate flags in _PdAOutSetCfg() (flags
AOB_STARTTRIG0, AOB_STARTTRIG1,
AOB_STOPTRIG0, AOB_STOPTRIG1 has the same
functionality as for the analog input subsystem).
Wait for events and process them (using
WaitForSingleObject(…) Win32 API call).
Event handler
•
Check when event object was set
#
_PdGetUserEvents(…)
Look at three events: eFrameDone means that half of the
D/A FIFO is output, eBuff eBufferError means
that the entire buffer has been output and there is no
more data available.
•
Re-Enable Event
#
_
PdSetUserEvents(…)
•
Write the Data
#
_PdAOutPutBlock(…)
•
Continue waveform generation
#
_PdAOutEnableConv(…) use 1 as dwEnable
#
_PdAOutSwStartTrig(…)
Содержание PD2-MF
Страница 5: ...Table of Contents iii Index 137 ...
Страница 11: ...1 1 Introduction ...
Страница 18: ......
Страница 19: ...9 2 Installation and Configuration ...
Страница 34: ......
Страница 35: ...25 3 Architecture ...
Страница 63: ...53 4 PowerDAQ Software Development Kit PD SDK ...
Страница 106: ......
Страница 107: ...97 5 Calibration ...
Страница 109: ...99 A Appendix A Specifications ...
Страница 110: ...Appendix A Specifications 100 ...
Страница 112: ......
Страница 113: ...103 B Appendix B Accessories ...
Страница 118: ......
Страница 119: ...109 C Appendix C Application Notes ...
Страница 125: ...115 D Appendix D Warranty ...
Страница 128: ......
Страница 129: ...119 E Appendix E Glossary ...
Страница 152: ......