Download DAQ basics
Transcript
Chapter 9 Letting an Outside Source Control Your Acquisition Rate Remember that the which clock input of the AI Clock Config VI should be set to scan clock (1). Note You must divide the timebase by some number between 2 and 65,535 or you will get a bad input value error. Because LabVIEW determines the length of time before AI Read times out based on the interchannel delay and scan clock rate, you may need to force a time limit into AI Read. In the example Acquire N Scans-ExtScanClk VI, the time limit is 5 seconds. Externally Controlling the Scan and Channel Clocks You can control the scan and channel clocks simultaneously. However, make sure that you follow the proper timing. Figure 9-5 demonstrates how you can set up your application to control both clocks. Figure 9-5. Controlling the Scan and Channel Clock Simultaneously © National Instruments Corporation 9-7 LabVIEW Data Acquisition Basics Manual