Programming instructions
Chapter 9 Letting an Outside Source Control Your Acquisition Rate
©
National Instruments Corporation 9-7 LabVIEW Data Acquisition Basics Manual
Figure 9-6.
Externally Controlling Your Scan Clock with the Getting Started
Analog Input Example VI
The NB-MIO-16X cannot support external scan clocks as the other devices
can. The device layout does not allow you to directly provide an external
scan clock. Instead, you can offer a timebase to the internal counter,
counter 5, that generates the scan clock. Do this by sending a timebase into
the source 5 pin and calling the Advanced VIs used by the AI Clock Config
VI. In addition, you need to wire the
alternate clock rate
specifications as
shown below into the AI Clock Config VI. 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 Figure 9-6, the time limit is 5 seconds.










