Counter vis – Measurement Computing UL for NI LabVIEW User Manual
Page 10

Overview of the Universal Library VIs
Counter VIs
Counter VIs
The counter VIs load, read, and configure counters. There are four types of counter chips used in
Measurement Computing products - 8254s, 8536s, 7266s, and 9513s. Some of the counter commands only
apply to one type of counter. To gain full access to the power of these counter VIs, you should refer to the
data sheet for the type of counter you are using:
82C54 data sheet (available on our web site at
LS7266 data sheet (available on our web site at
9513A data sheet (available on our web site at
C7266Config.VI – Configures an LS7266 counter.
Selects all of the programmable options that are associated with the LS7266 counter.
C8254Cfg.VI - Configures an 8254 counter.
Selects the basic operating mode of an 8254 counter.
C8536Cfg.VI - Sets the operating mode of an 8536 counter.
Sets all of the programmable options associated with an 8536 counter chip.
C8536Ini.VI - Initializes an 8536 counter.
Initializes and selects all of the chip level features for an 8536 counter board. The options that are set by this
command are associated with each counter chip, and not the individual counters within it.
C9513Cfg.VI - Sets the operating mode of a 9513 counter.
Sets all of the programmable options associated with a 9513 counter chip. It is similar in purpose to
C8254Cfg.VI, except that it is used with a 9513 counter.
C9513Ini.VI - Initializes a 9513 counter.
Initializes and selects all of the chip level features for a 9513 counter board. The options that are set by this
command are associated with the specified counter chip, and not the individual counters within it.
CFreqIn.VI - Measures the frequency of a signal.
Measures the frequency of a signal by counting it for a specified period of time (
GatingInterval
) and then
converting the count to counts/sec (Hz). This VI only works with 9513 counters.
CIn.VI - Reads a counter.
Reads a counter’s current value and returns the value as a 16-bit integer.
CIn32.VI - Reads a counter.
Reads a counter’s current value and returns the value as a 32-bit integer.
CLoad.VI - Loads a counter.
Loads a counter with an initial 16-bit count value.
CLoad32.VI - Loads a counter.
Loads a counter with an initial 32-bit count value.
CStatus.VI – Gets a counter status.
Retrieves status information about a LS7266 based counter. This VI only works with LS7266 counters.
CStore.VI - Stores the counter value when an interrupt occurs.
Installs an interrupt handler that stores the current count whenever an interrupt occurs. This VI only works
with 9513 counters.
10