
Universal Library Virtual Instruments (VIs) Counter VIs
C8536Init.VI
Initializes the counter linking features of an 8536 counter chip. Refer to the "Counter/Timer Link Controls"
section on the 8536 data sheet, for a complete description of the hardware affected by this mode. Counters 1
and 2 must be linked before enabling the counters.
Summary:
Inputs: BoardNum [U32]: Board number when installed with InstaCal. Can be 0 to 100.
ChipNum [U32] - Chip number to configure
CtrlOutput [U32] - Specifies counter output signal used.
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.
ChipNum Selects one of the 8536 chips on the board, 1 to n.
Refer to board-specific information contained in the Universal Library User's
Guide (available on our web site at www.mccdaq.com/PDFmanuals/sm-ul-user-
guide.pdf).
CtrlOutput Specifies how counter 1 is to be linked to counter 2, based on the following
options.
NOTLINKED -Counter 1 is not connected to any other counters inputs.
GATECTR2 - Output of counter 1 is connected to the GATE of counter #2.
TRIGCTR2 - Output of counter 1 is connected to the trigger of counter #2.
INCTR2 - Output of counter 1 is connected to counter #2 clock input.
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.
Komentarze do niniejszej Instrukcji