I need get data from RFID reader, I realized the connection to the reader by "TCP listen.VI" and got the data package. Now I want to control the reader, so I should send commander to the reader first, the question is that I do not know how to send a command to control the reader, and what the command should be. I am a novice, I hope you can help me, thanks!
Attached is the VI and instructions from the RFID company!
Solved! Go to Solution.
Here is a very basic example of how you could get the gain back from the RFID reader. Using a similar approach you could implement the rest of teh protocol as defined in the spec.
Here it is.
This is a very basic example. It is just a simple illustration how you can implement the protocol for the RFI Reader. You should remember to used a typedef for the cluster definition. I would also create separate VIs for each operation defined in the spec. This will get you started though. For reading back the tag data you will need to look at the length value in the packet data to determine how much additional data will need to be read. You can define a different cluster for that data.
Hi Mark, do you have the VI of getting the tag ID or other related VIs, Thanks!
No, I do not have this vi. I worte the above as a quick example of how it can be done. I am more than happy to answer specific questions but I am not willing to act as a free programmer. Besides, adding the code for the additional messages would be a good learning experience. If I simply write the code it will not help you to learn LabVIEW.
Look at the examples that shipp with LabVIEW. They are a good starting point. Simply search for TCP.