Download GPH-3300
Transcript
GPH-3300 Help for Linux 5.1.15 DaSyncSampling ............................................................................................................................... 61 5.1.16 DaStopSampling ................................................................................................................................ 63 5.1.17 DaGetStatus ...................................................................................................................................... 64 5.1.18 DaSetOutputMode ............................................................................................................................. 66 5.1.19 DaGetOutputMode............................................................................................................................. 67 5.1.20 DaOutputDA....................................................................................................................................... 68 5.1.21 DaInputDI........................................................................................................................................... 70 5.1.22 DaOutputDO ...................................................................................................................................... 71 5.1.23 DaSetFifoConfig................................................................................................................................. 72 5.1.24 DaGetFifoConfig ................................................................................................................................ 74 5.1.25 DaSetInterval ..................................................................................................................................... 75 5.1.26 DaGetInterval..................................................................................................................................... 77 5.1.27 DaSetFunction ................................................................................................................................... 78 5.1.28 DaGetFunction................................................................................................................................... 80 5.1.29 DaDataConv ...................................................................................................................................... 82 5.1.30 DaWriteFile ........................................................................................................................................ 85 5.1.31 fnConv................................................................................................................................................ 87 5.1.32 CallbackProc...................................................................................................................................... 88 5.2 Structures ........................................................................................................................................................... 89 5.2.1 DASMPLREQ Structure ....................................................................................................................... 89 5.2.2 DASMPLCHREQ Structure.................................................................................................................. 92 5.2.3 DABOARDSPEC Structure .................................................................................................................. 93 5.2.4 DAMODEREQ Structure ...................................................................................................................... 95 5.2.5 DAMODECHREQ Structure................................................................................................................. 98 5.2.6 DAFIFOREQ Structure ........................................................................................................................ 99 5.3 Return Values ................................................................................................................................................... 103 5.4 Kylix .................................................................................................................................................................. 105 5.4.1 Function Definitions ........................................................................................................................... 105 5.4.2 Structure ............................................................................................................................................ 106 5.4.3 Example ............................................................................................................................................. 107 5.5 Test Driver ........................................................................................................................................................ 109 Chapter 6 Sample Programs......................................................................................... 110 6.1 sampledata.c .................................................................................................................................................... 110 6.2 async.c.............................................................................................................................................................. 110 6.3 outputda.c ......................................................................................................................................................... 111 6.4 file.c .................................................................................................................................................................. 111 6.5 fifosampling.c.................................................................................................................................................... 112 6.6 adasync.c.......................................................................................................................................................... 112 6.7 Sample Programs for Kylix ............................................................................................................................... 113 Chapter 7 Utility Program .............................................................................................. 114 7.1 DA Calibration Program .................................................................................................................................... 114 7.1.1 Required Items for the Calibration Program....................................................................................... 114 7.1.2 Starting the Calibration Program........................................................................................................ 114 7.1.3 Selecting the Board............................................................................................................................ 114 7.1.4 Selecting the Calibration Parameters................................................................................................. 115 7.1.5 Calibrating the On-Board Potentiometer ............................................................................................ 118 Chapter 8 Important Information ................................................................................... 119 8.1 Limited Warranty............................................................................................................................................... 119 8.2 Copyrights and Intellectual Property Rights ...................................................................................................... 119 8.3 Warning Regarding Medical and Clinical Use of Interface Products................................................................. 119 8.4 Limitation of Liability.......................................................................................................................................... 119 8.5 Trademark ........................................................................................................................................................ 119 Copyright 2002, 2003 Interface Corporation. All rights reserved. 3