04-01-2025 05:02 PM
Hello everyone,
I use Visa Read to read card data.
I would like to search for a keyword in the data read via Visa Read. Is this possible?
04-01-2025 07:36 PM
Visa Read just reads from the buffer, first-in, first-out. No searching. And reading it removes it from the buffer, you can't do a trick like reading it all, then putting it all back.
You'll need to read everything (or at least... quite a lot), then use something like "Search and Replace String" or "Match Pattern" to search the text.
If you gave a better reason WHY you feel the need to do this, more options might present themselves.
04-01-2025 08:57 PM
Assuming ASCII text with a Carriage Return and/or Line Feed, what I do is read a single line (bytes to read set to be way longer than I ever expect a line to be) and then I can search that line of data for whatever key word or pattern.