I'm new to C#. Trying to learn and implement an RFID application.
I'm reading a RFID using serial port and the data is available in rtbDisplay.
11 01 B0 00 01 03 01 E0 04 01 00 0C E0 10 88 7B 61

How do I extract certain data (RFID serialno. E00401000CE01088) from the rtbDisplay.Text to attach to another command string
1101B02301E00401000CE010880303476D and read the RFID Data?

Recommended Answers

All 2 Replies

If the data will always come in the same format, a simple solution is to remove the spaces and extract the substring that contains the serial number.

If the data will always come in the same format, a simple solution is to remove the spaces and extract the substring that contains the serial number.

The substring function helped me derive the Serial number.
I used the same and obtained Data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.