LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control RFID reader by TCP

Solved!
Go to solution

    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!

   

0 Kudos
Message 1 of 10
(6,670 Views)
Solution
Accepted by ppcas

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.

 

Get Gain - Snippet.png



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 10
(6,656 Views)

Thanks for you reply, but I could not open the attached VI, could you help me to convert it to labview 8.2

0 Kudos
Message 3 of 10
(6,650 Views)

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.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 10
(6,643 Views)

Thanks again! It's very useful for me, a new to labview

0 Kudos
Message 5 of 10
(6,639 Views)

Hi Mark, do you have the VI of getting the tag ID or other related VIs, Thanks!

0 Kudos
Message 6 of 10
(6,624 Views)

 


@ppcas wrote:

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.

 



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 7 of 10
(6,584 Views)

Hi Mark, can you suggest me some useful link for the startup of TCP/IP communication. I'll be thankful.

Naqqash
0 Kudos
Message 8 of 10
(6,363 Views)

Look at the examples that shipp with LabVIEW. They are a good starting point. Simply search for TCP.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 9 of 10
(6,351 Views)

Hi Iam trying to interface a RFID module to labview, communication between RFID device & labview its happening .

i need suggestions which mode i need to use in labview for Reading the data from the Tags.

i have attached the image of RFID working in the Vendors app.

 

 

Need help!!!RFID.PNG

0 Kudos
Message 10 of 10
(3,572 Views)