CTR_8554_ClkSrc_Config Previous topicNext topicFirst topicLast topic

CTR_8554_ClkSrc_Config

@ Description

Selects PCI-8554 counter #1 ~ #10 clock source. (Clock source of counter #11 is 8MHz and clock source of counter #12 is from COUT11, both are fixed.)

@ Cards Support

8554

@ Syntax

I16 CTR_8554_ClkSrc_Config (U16 CardNumber, U16 Ctr, U16 ClockSource)

@ Parameter

CardNumber : The card id of the card that want to perform this operation.
Ctr : The counter number.
        Range: 1~10
ClockSource : The clock source of the specified counter.
                      ECKN : external clock source
                      COUTN_1: the cascaded counter output (COUT n-1)
                      CK1 : internal clock source CK1
                      COUT10 : output of the counter 10

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport, InvalidCounter