Home > Back-end >  C builder how to read the employees sign in the serial number of the card?
C builder how to read the employees sign in the serial number of the card?

Time:09-29

Smart card reader is connected well now, how to relief of c + + builder read write to collect the information of data, what function should be invoked, for your big help

CodePudding user response:

Generally buy a card reader will give you a matching software,,,
If not, then you have two ways to read data (as far as I know) :

1. The card reader can be received on a computer, usually a USB interface, see can find inside the database file, then read, of course, these database file must be known type (similar to ACCESS, such as SQLITE), if it is a manufacturer of custom database, so please refer to the following method
2. The card reader manufacturer for the SDK, otherwise will be connected to computer and card reader (serial port, so, USB), and according to the SDK to read by himself

CodePudding user response:

To the card reader manufacturer for the SDK, otherwise will be connected to computer and card reader (serial port, so, USB), and according to the SDK to read

This is a must, groped their development is not enough

CodePudding user response:

Manufacturers, such as documentation

CodePudding user response:

Card reader manufacturers will provide the SDK development kit, containing the DLL, ocx even lib and header files, and most of the vendors will also provide BCB, VB, Java, Delphi, VC, examples of c # even PB

I have done a set of entrance guard and restaurant look at its example is the development of the system and then use the provided interfaces file to read the information

CodePudding user response:

Regular channel replenish onr's stock will provide the development of the API

CodePudding user response:

Is the requirement of using MSComm read

CodePudding user response:

refer to 6th floor tiqstlus response:
is the requirement of using MSComm read

It is a serial port to read the content,,, but you can be sure that the data transfer protocol,,,
Is the data format communication between you and the reader, you send it, what it reply you what, the agreement also want to the factory for you

CodePudding user response:

refer to 6th floor tiqstlus response:
is the requirement of using MSComm read


If the hardware vendor does not provide any documentation or examples code, only mentioned MSComm words is also very easy, there is a c + + Builder predecessors maintains a special release site, write their own serial port access control example of serial port, there is a c + + Builder, speaking, reading and writing and source code, is about to go where customers can't help you find it now, there are other warrior know help provide a

Take how to parse the data to the data analysis again after

CodePudding user response:

The book needed?
"C + + Builder and the RS - 232 serial communication control" fan tat of tsinghua university press
https://2.taobao.com/item.htm? Id=521946220490 & amp; SPM=686.1000925.0.0 tWaCyI

CodePudding user response:

Card reader vendors provide the SDK, and these SDK encapsulates a serial port or USB access, do not need to directly using the serial port operation function or other components,

CodePudding user response:

I have done two types, one is a manufacturer to provide the SDK, another is to use the modbus protocol, code belongs to the company, is not provided

CodePudding user response:

Last month, just do the function of micro tillage entrance card read and write, it is using udp manner

CodePudding user response:

No matter use a serial port to read, or read card, be sure to database encryption, don't get a common database, the province directly to the person to add data record and lose the effect of the clock, so I got two sets of punching system, database too good analysis, clock in directly, and overtime records, of course, occasionally one has to be late attendance personnel a few times to see if...
  • Related