Tag.ReadTo Method

TegoOS

TagReadTo Method
Read tag in an efficient manner providing progress reports starting with higher memory first.

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

Parameters

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.
initialProgress (Optional)
Type: Tego.Rfid.Gen2OneTagProgressArgs
Optional initial progress to set (if this read is one of many).

Return Value

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