Reader.OneTagRead Method

TegoOS

ReaderOneTagRead Method
Read one tag in an efficient manner providing progress reports.

Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public ushort[] OneTagRead(
	ISelection selection,
	ReadOperation readOperation,
	Func<int, string> messageGetter = null,
	int maxWordCount = 0
)
Public Function OneTagRead ( 
	selection As ISelection,
	readOperation As ReadOperation,
	Optional messageGetter As Func(Of Integer, String) = Nothing,
	Optional maxWordCount As Integer = 0
) As UShort()
public:
array<unsigned short>^ OneTagRead(
	ISelection^ selection, 
	ReadOperation^ readOperation, 
	Func<int, String^>^ messageGetter = nullptr, 
	int maxWordCount = 0
)
member OneTagRead : 
        selection : ISelection * 
        readOperation : ReadOperation * 
        ?messageGetter : Func<int, string> * 
        ?maxWordCount : int 
(* Defaults:
        let _messageGetter = defaultArg messageGetter null
        let _maxWordCount = defaultArg maxWordCount 0
*)
-> uint16[] 

Parameters

selection
Type: Tego.Rfid.Gen2ISelection
Selection criteria for tag.
readOperation
Type: Tego.Rfid.Gen2ReadOperation
Tag read operation. Use C1G2.AUTO_CHUNK to allow system to choose number of words to read.
messageGetter (Optional)
Type: SystemFuncInt32, String
Optional delegate to get progress message from address.
maxWordCount (Optional)
Type: SystemInt32
Maximum number of words to read. Only needed when system is choosing nunber of words to read.

Return Value

Type: UInt16
Words that were read.
Remarks
Will run continuously until either complete or RequestCancel is called.
See Also