CipherLab 9400 Series User Manual page 28

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

9400 .NET Programming
SetActiveDevice
Purpose
To set the reader type ready for use.
Syntax
int SetActiveDevice (int target);
Parameters
target
[in] A value that defines the active device.
Example for C#
int b1 = 0;
b1 = Reader.ReaderEngineAPI.SetActiveDevice(7);
Example for VB
Reader.ReaderEngineAPI.SetActiveDevice(7)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
The triggering behavior of a trigger key only applies to the active device. No
event occurs with the inactive device.
An error does not occur if the specified reader type is not found!
See Also
GetReaderType, GetActiveDevice, InitReader
20
Guide
0
NO_ACTIVE_DEVICE
7
DC_READER_BC
32
DC_READER_RFID
255
ALL_DEVICE
Call GetErrorCode() to find the error condition encountered:
-101
E_READER_NOT_INIT
Disable all active devices.
Only
the
barcode
(= RFID reader is inactive!)
Only
the
RFID
(= Barcode reader is inactive!)
All the readers are active.
reader
is
active.
reader
is
active.

Advertisement

Table of Contents
loading

Table of Contents