CTR_Read Previous topicNext topicFirst topicLast topic

CTR_Read

@ Description

Reads the current contents of the selected counter without disturbing the counting process.

@ Cards Support

9111, 9112, 9113, 9114, 9118, 7248, 7249, 7296

@ Syntax

I16 CTR_Read (U16 CardNumber, U16 Ctr, U32 *Value)

@ Parameter

CardNumber : The card id of the card that want to perform this operation.
Ctr     : The counter number.
Range: 0 for PCI-9111, PCI-9112, PCI-9113, PCI-9114, PCI-9118.
Range: 0, 1, 2 for PCI-7248, PCI-7249, PCI-7296.
Value : Returns the current count of the specified counter.
Range: 0 through 65536 for binary mode (default).
           0 through 9999 for BCD counting mode.

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport, InvalidCounter