Download DT9800 Series User`s Manual
Transcript
Programming Flowcharts Frequency Measurement Operations Note that this flowchart assumes that you are using the system timer to generate the period over which the frequency is measured. If you need more accuracy than the system timer provides, refer to page 54 in this manual and to the DataAcq SDK User’s Manual for more information. Initialize the device driver and get the device handle with olDaInitialize. Get a handle to the C/T subsystem with olDaGetDASS.1 Set the cascade mode using olDaSetCascadeMode. 4 4 4 4 4 Set up the clocks (see page 97). Specify the mode as OL_CTMODE_COUNT using olDaSetCTMode. Configure the subsystem using olDaConfig. Go to the next page. 1 Specify the appropriate C/T subsystem/element. The Windows device driver supports two elements (0 and 1). 4 4 4 4 85