Card Scanning Solutions; Isreadervalid; Wascardsweeped - CSSN ScanShell 2000 Description

Sdk library
Hide thumbs Also See for ScanShell 2000:
Table of Contents

Advertisement

10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
1.1.51.

IsReaderValid

Format
IsReaderValid () As Long
Return
MAG_ERR_NO_READER_FOUND: The reader is not connected to the PC.
MAG_ERR_NONE: The reader is connected to the PC and functioning correctly.
Remarks
Detect if the Magnetic Reader hardware is connected and functioning. The reader is searched in the
COM port found in InitLibrary function.
1.1.52.

WasCardSweeped

Format
WasCardSweeped () As Long
Return
MAG_ERR_NO_READER_FOUND: The reader is not connected to the PC.
SERIAL_NOT_INIT: Serial port is not initialized.
SERIAL_PORT_NOT_OPEN: Serial port could not be opened.
SERIAL_PORT_CONFIG_FAIL: COM Port configuration failed.
SERIAL_COM_TIMEOUT_FAIL: COM Port timeout failure.
MAG_ERR_CARD_NOT_DETECTED: No new card swipe was detected from the last call to this
function.
MAG_ERR_CARD_DETECTED : A recent card swipe was detected and the data is available for
process.
Remarks
Call this function periodically to find out if a new card swipe was performed. If no new swipe was
performed, the function returns MAG_ERR_CARD_NOT_DETECTED. If the reader detects a new
swipe it returns MAG_ERR_CARD_DETECTED . If the system is in error condition (due to bad
initialization or disconnection of the reader from the PS) the function return one of the other values.

Card Scanning Solutions

45

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ScanShell 2000 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for CSSN ScanShell 2000

Table of Contents