I have currently bought an RFID reader that can capture active RFID tags. However, i have the RFID Reader's IP address (192.168.1.129) and the port number (6700) that is assigned by the readers software application "TRAVIS".
I would like to extract data from the ethernet port (LAN cable), with my LabVIEW software.
There are both TCP vi's and examples. The tcp vi's can be found (in 8.5 at least) under "Data Communications/Protocols". For the examples look in the "Help", "Find Examples", search on "tcp". There are a number of examples to get you started.
Putnam Certified LabVIEW Developer
Senior Test Engineer Currently using LV 6.1-LabVIEW 2012, RT8.5
I will have a look at the examples when i return to my university.
Anyway, do you know if LabVIEW has any "polling" function; as in similar to an "interrupt" but happens periodically? I find that when my case statement is initiated, the background doesn't do its probing. I would like to periodically let the background task run for a brief moment periodically, while my case statement is not completed. (there is a nested sequential block embedded in that case statement making it runs for approx 10sec). I would still like to let my VI background acquire data from some hardware's periodically like at every 300ms?
Also, do you know if i can use LabVIEW to call a Visual Basic program (my VB program is to take out some data from a hardware. Reason being that i am using VB and not LabVIEW, is because the supplier has given me a VB code with the hardware).
Thanks a lot. Really appreciate if you can help.
Message Edited by Justin Lim on 04-06-2009 01:04 PM
"polling" function: you can use a timed loop, or a loop with an event structure with a timeout. Or a regular loop with one of the time functions. If you show us your code a more definitive suggestion can be provided.
VB code: Are we talking old VB or VB.NET? If it's old VB then you need to create an ActiveX DLL from VB, and use the ActiveX functions in LabVIEW. If it's VB.NET then you need to create a .NET assembly and use the .NET functions. Examples for these ship with LabVIEW.