Chapter 11 VirtualBench-Counter
Getting Started with VirtualBench 11-6 www.ni.com
of the Encoder to the UP_DOWN/AUX_LINE input of the 
counter that you specified in Step 1. If you use an NI-TIO counter 
and an encoder with a Z Index, connect it to the GATE of counter 
you specified in Step 1. Refer to the user manual of your DAQ 
device for details or select Windows»Connections on the front 
panel for the correct pin numbers.
b. Select Settings from the Edit menu on the front panel.
c. Select the Encoder tab, as shown in Figure 11-3.
 
Figure 11-3.  Encoder Tab of VirtualBench-Counter Settings Dialog Box
d. Select the Encoder Type.
e. If using a rotary encoder, select the Rotary Encoder Type and the 
number of Pulses per Revolution. If using a linear encoder, select 
the number of pulses per centimeter or inch.
f. Choose whether to use Z Indexing, the Z Index Reload Value, and 
when to reload the counter.
g. Click OK.
h. Click the Position or Speed button in the Measurement Mode 
selector. VirtualBench-Counter continuously acquires and 
displays the measurement in the display window.
i. Click Run to stop the measurement.
7. Setting the value of the Custom selection of Measurement Time and 
Number of Samples.
a. Select Edit»Settings on the front panel.