__   Xe}3mNnuBmUFZX ConvertMaincard AD128_Initconfig$BaseAddrAD128_ShutdownRangeForm1xLabel15text[X]Text1Label2Caption form1_Label2conv_Startboxfoo GetWinFlagsO DriverErrork ErrorCodeMB_OKMB_ICONEXCLAMATION ErrorString1Varient AD128_AddPointsAD128_SetPointConfigCURVETDEGREESCCURVE_tNO_CURVEAD128_SetSettleTimeymanual BIPOLAR_5AD128_PollScan?AD128_PostProcessBuffer[0]y[16]OutStrthecounters error_codeAD128_RateGeneratorperform: conversionsscan ofpointsc AD128_IRQScanAD128_DisableCounterCDisableWaitprocessLcompletecountAAD128_IRQStatusscansconvseCouldotherw instructionsghererequired functionsuwaitingabetterwaythan(thisuseWindowsmessage supportedbyRdriverNSee  referencepart7detailsloTIMEOUT0ShutoffTTIMER AD128_SuccessZendoenddoAD816_ShutdownS AD816_Init SINGLE_ENDEDAD816_SetPointConfigAD816_AddPointsAD816_SetSettleTimeAD816_RateGenerator& AD816_Success AD816_IRQScanAD816_DisableCounter9AD816_IRQStatus_AD816_PostProcesssjunctionwithgaincodeAD816_TerminateIRQAD816_IRQTerminate;v Global variables x v@Conversion flag, 1 = conversion in process, 0 = no conversions mv$card number returned by the driver  DriverError4X3B" n, Error code: B J####2 n n0n AD8-16 Driver&c B79 Main4Xe  B0 @ 1P :` x5 N  u B BE B$3vV Setup the channels in the driver, channel 0 thru 15 are sclaed to read +/- 5 volts. @@ B BEt B$3v& Add the 16 points to the point list B BE B$3v& Set the sample-and-hold settle time, B BE2 B$3 ex(1T INv Set the counters,@@ Bv0 Perform the conversions, 1 scan of 16 points. B E 7 B BIh$ B$3$ $ Bv1Disable counters$U8v Wait for process to completer  1 : 1 : }1 $  $ 1 :& B$vF Could put other instructions here to perform any required functions$vG while waiting. A better way than this is to use the Windows message$vH function supported by this driver function. See the reference part of$v the manual for details. */ J }I:$ B$  B8v Shut off counter B$v Post process resultse59 B BE B$3v display conversions >H$ 5 ###0.0000 N$ N $ N 8JX9 I