RFID Card Reader Event Handling Issue in Windows Forms Application
Hello, I am developing a petrol station Windows Forms application. I am using a USB RFID card reader and have acquired 125 kHz cards for sales transactions. I have received example code from ChatGPT and implemented it. However, even though I write and copy-paste the code correctly, the events are not triggered when an RFID card is read. I am not receiving any error messages, but the reading operation does not occur. Is there a sample project or someone who can help with this issue?
16 Replies
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
hey @Buddy, Citizen of Pluto 🔱 i left the details of the code
or someone who can help with this issue?Please don't ask to ask. Just ask your question directly and include the code used. We can't help blindly if no code was given.
Yes, you are right. I pasted the code into the link and saved it. This is the first time I am seeking help, so please excuse me if I don't know much.
The RFID card reader I used is this one. I bought 125kHz cards as well, but I couldn't use them with C#.
Well .. You didn't send the link given here.
I don't know how to send
copy the url and then paste the link into discord chat.
BlazeBin - kmcxgpnqdzes
A tool for sharing your source code with the world!
okey?
Are you connected to the correct thing?
Make sure you read the docs
https://learn.microsoft.com/en-us/dotnet/api/system.io.ports.serialport
And not just blindly copy pasting if that's what you did.
Yes, I connect to the com1 port from the task manager, but I do not get any response when I scan the card.
Try to use this if you see anything
https://freeserialanalyzer.com/
If you don't see anything there, you may not get any responses from the reader itself
What exactly is the working logic of this?
What do you mean?
Did it work or what?
Unfortunately the program is closed source so we can't know (legally speaking)
How do I use it actually determine