
ii • Table of Contents
Chapter 5 Operation Theory.....................................................................34
5.1 A/D Conversion.................................................................................34
5.1.1 A/D Conversion Procedure..................................................34
5.1.2 Software conversion with polling data transfer acquisition
mode (Software Polling) ......................................................35
5.1.3 Programmable scan acquisition mode.................................36
5.1.4 A/D Data Transfer Modes....................................................47
5.2 Digital Input and Output ....................................................................48
5.3 General Purpose Timer/Counter Operation ......................................49
Chapter 6 C/C++ Library...........................................................................51
6.1 Libraries Installation..........................................................................51
6.2 Programming Guide..........................................................................52
6.2.1 Naming Convention.............................................................52
6.2.2 Data Types..........................................................................52
6.2.3 Sample Programs List (DOS)..............................................53
6.3 Initial functions ..................................................................................54
6.3.1 _9116_Initial........................................................................54
6.3.2 _9116_AD_Clr_DFIFO ........................................................55
6.4 DIO functions ....................................................................................56
6.4.1 _9116_DI.............................................................................56
6.4.2 _9116_DO...........................................................................56
6.5 AD Channel Gain Queue configuration functions..............................57
6.5.1 _9116_AD_Clr_CFIFO ........................................................57
6.5.2 _9116_AD_Set_CFIFO .......................................................58
6.5.3 _9116_AD_CFIFO_SetDone...............................................60
6.6 AD Software-Polling functions...........................................................61
6.6.1 _9116_AD_Acquire .............................................................61
6.7 AD Trigger control functions .............................................................62
6.7.1 _9116_AD_Trig_Ctrl............................................................62
_9116_AD_Set_TrigMode...................................................62
_9116_AD_Set_TrigPol.......................................................62
_9116_AD_Set_Timebase ..................................................62
_9116_AD_Set_Delay_SRC ...............................................62
_9116_AD_Set_M_enable ..................................................62
6.8 AD Counter setting functions ............................................................64
6.8.1 _9116_AD_Set_SC .............................................................64
6.8.2 _9116_AD_Set_SI...............................................................65
6.8.3 _9116_AD_Set_SI2.............................................................65
6.8.4 _9116_AD_Set_DIV ............................................................66
6.8.5 _9116_AD_Set_DLY1 .........................................................66
6.8.6 _9116_AD_Set_M ...............................................................67
6.8.7 _9116_AD_Set_Retrig.........................................................68
Komentáře k této Příručce