C8536cfg.vi – Measurement Computing UL for NI LabVIEW User Manual
Page 54

Universal Library Virtual Instruments (VIs)
Counter VIs
C8536Cfg.VI
Configures an 8536 counter for desired operation. This VI can only be used with 8536 counters.
Summary:
Inputs:
BoardNum
[U32] - The board number assigned when installed with InstaCal. Can
be 0 to 100.
CounterNum
[U32] - Counter number to configure
OutputControl
[U32] - Specifies counter output signal used.
Recycle
[TF] - Execute once or reload and re-execute until stopped.
Retrigger
[TF] - Enable or disable retriggering.
Outputs:
ErrCode
[I32] - Error code. See ErrMsg.VI
BoardNum
[U32] - The board number assigned when installed with InstaCal. Can
be 0 to 100. Can be used to pass
BoardNum
parameter to another VI.
Arguments:
BoardNum
(input)
The board number associated with a board when it was installed with InstaCal. The
specified board must have an 8536 counter
CounterNum
Selects one of the counter channels. An 8536 has three counters. The value can be
1-n, where n is the number of 8536 counters on the board.
Refer to board-specific information contained in the Universal Library User's
Guide (available on our we
OutputControl
Specifies one of the following the actions of the output signal.
HIGHPULSEONTC
- Output will transition from low to high for one clock pulse on
terminal count.
TOGGLEONTC
- Output will change state on terminal count.
HIGHUNTILTC
- Output will transition to high at the start of counting then go low on
terminal count.
RecycleMode
If set to
RECYCLE
(False, as opposed to
ONETIME
), the counter will automatically
reload to the starting count every time it reaches 0, then continue counting.
Retrigger
If set to
ENABLED
(True), every trigger on the counter's trigger input will initiate
loading of the initial count. Counting will proceed from initial count.
BoardNum
(output)
The board number used when installed with InstaCal. This parameter can be used
to serialize VIs such that this VI precedes the next VI whose
BoardNum
is attached
to this output.
ErrCode
Error code returned from the Universal Library. Zero if no error occurred. Use the
ErrMsg VI to convert
ErrCode
into a readable string.
54