1

We are developing a custom fixed assets solution for a customer using RFID tags and Motorola 919Z handheld reader. So far it has been going well, as we based on the Motorola examples for its EMDK. We are using VB.NET.

The problem is, we have a set of Confidex Steelwave tags that cannot be tagged in a printer as they are hard tags, and so they were tagged using an example software, saving the relevant data into the USER memorybank, while another different set of printable Confidex tags was tagged using a Zebra RZ400 printer, and the relevant data was written to the EPC Tag ID field.

Now, we are asked to read both fields (EPC Tag ID in one case, USER memorybank in the other), at the same time. That is, if the relevant data was tagged in the USER memorybank, the Tag ID contains irrelevant hex numbers, and if the EPC Tag ID was used, the USER memorybank is blank or zero-filled.

Now, we cannot find the way to read both banks at the same time without the user stopping reading and switching banks (in software), so we are wondering if it is even possible in the first place.

I'm not sure if I should post code, as it is kinda long... maybe the relevant part is that:

If we use Inventory.Perform ...it doesn't read the USER memorybank, and it doesn't seem to take access filters

If we use OperationSequence.PerformSequence ...it forces you to specify the memorybank.

Thanks for your time.

4

2 に答える 2

0

私は同じ問題を抱えており、解決策を見つけました。

を使用しますOperationSequence.PerformSequenceが、最初に複数の操作を追加するのがコツです。したがって、次のように、USER バンクを読み取る操作を追加してから、EPC バンクを読み取る別の操作を追加します。

RFIDReader reader = new RFIDReader();
reader.Connect();

MEMORY_BANK[] banks = new MEMORY_BANK[] {
    MEMORY_BANK.MEMORY_BANK_EPC, 
    MEMORY_BANK.MEMORY_BANK_USER, 
    MEMORY_BANK.MEMORY_BANK_RESERVED, 
    MEMORY_BANK.MEMORY_BANK_TID
};
foreach(MEMORY_BANK bank in banks) {
    TagAccess.Sequence.Operation op = new TagAccess.Sequence.Operation();
    op.AccessOperationCode = ACCESS_OPERATION_CODE.ACCESS_OPERATION_READ;
    op.ReadAccessParams.MemoryBank = bank;
    reader.Actions.TagAccess.OperationSequence.Add( op );
}

次に を呼び出すだけで、タグがスキャナから読み取り可能な距離内にある限り、各バンク、各タグのイベントreader.Actions.TagAccess.OperationSequence.PerformSequenceが取得されます。Read

于 2014-04-19T11:16:56.797 に答える
0

メモリ バンクを設定する必要があるタグのインベントリの前に操作シーケンスを実行する必要があります。その後、インベントリを開始するたびに、tagID プロパティで EPC を取得し、MemoryBankData プロパティでメモリ バンク データを取得します。

于 2014-08-02T12:01:55.453 に答える