Skip to content
GBG Documents & Biometrics Documentation

MagLib and MagLibEx libraries

Releases the USB port and uninitializes the magnetic library

Syntax

ReleasePort()

Parameters

None

Return Values

None

Processes the given raw data. The raw data is scanned for format detection. If a specific format is detected, the data is parsed further and loads the library properties.

Syntax

ProcessEx (strData As String)

Parameters

Parameter Description
strData String buffer that contains the raw data

Return Values

Value Description
LONG_AAMVA Standard AAMVA format (includes channel1, channel2 and channel3)
SHORT_AAMVA Short AAMVA format (includes channel1 and channel3)
OLD_CA_DMV Old DMV format (California)
OLD_LA_DMV Old DMV format (Louisiana)
UNKNOWN_FORMAT Unknown format; no further processing done

Sets the USB port number

Syntax

SetSwipePortEX (portNum As Integer)

Parameters

Parameter Description
[in] portNumber The USB port number to use

Return Values

None

Returns the Suffix name in string format (read-only)