09-30-2013 02:51 AM
Hi,
i have a RFID Reader FEIG LRU 3000 and i want to control it via Labview. How can I build this communication?
09-30-2013 11:49 AM
You will need to register with the vendor web site, and download the device documentation or programmer's guide (not the brochure).
LabVIEW has TCP/IP and UDP functions to get you talking, but you need to understand the communication protocol used by the reader.
10-01-2013 06:11 AM
I am registered and all documents and programmer*s guide are downloaded.
I know TCP / IP and UDP functions.I could not build up connection with the sample Codes of NI.
What I need to understand exactly abaut the communication protocol used by the Reader?
The device/Dreiver is installed on my PC. A connection is possible with the company software via USB and TCP / IP over Network.
But with Labview I can not build a connection with TCP/IP functions.
10-01-2013 06:53 AM
Hi!
I guess you have to open a connection with the reader and then exchange commands and answers with it.
Of course you need to know the communicaton protocol.
Is there no info on the manuals?
What's in the programmer's manual?
Marco
10-01-2013 01:15 PM
Exactly, I would like to exchange data between the reader and the PC. There is also a small demo program on the web page for reading and writing of transponders.
It is a DLL file.
Also there is a very detailed manual for the communication protocol and host commands. There are protocols such as [0x1] to [0x95]. But I do not understand the content. There are protocols for Reader Conrol and Configuration, protocols for Host commands. The manual is in the notes.
Can I integrate and expand the DLL file?
Thank you very much
10-02-2013 06:03 AM
Here is the structure. All DLL`s are downloaded.
10-02-2013 08:45 AM
Hi ChE61,
there is a way to call DLL's
I Hope the following links can help you
http://zone.ni.com/devzone/cda/epd/p/id/1513
10-02-2013 01:45 PM
The DLL is not the way to go. You will not find it any easier to use that, then to implement the communication protocol yourself.
Start on pages 18 and 19 of the document. The protocol frame is described there.
Length = n This should be the total number of byte in your message
COM-ADDR This is the address of the reader you want to talk to
CONTROL-BYTE This is the command you want to send
DATA This is the data that goes along with the command
LSB CRC16 This is the least significant byte ofthe checksum
MSB CRC16 This is the most significant byte of the checksum
The pages following page 19 explain all of this, including how to calculate the CRC16
What you need to do is develop a vi that builds your command message from a set of inputs. Obviously, length will be the last value, since you don;t know the message length until you have your data ready.
You will make heavy use of the Numeric/Conversion and Numeric/Data Manipulation palettes to do all of this. You will also need to cast string data as U8 arrays in many cases where plain text must be sent.
10-06-2013 09:55 AM
Thank you all. I'm working on a vi.
You've helped me. I'm trying to replicate the protocol Frame as vi and passed via NI-VISA on device.
I will report back, if there are many problems.
10-15-2013 04:29 AM
Hi,
Ni VISA did not work. I have produced the connection with TCP / IP functions. Just TCP / IP client.