11-26-2008 07:36 AM
Is there a way that I could set up LabVIEW as a server so I could view data when I'm not at the computer? Basically I have a program running, and it's constantly spitting out data to a .txt file, and I was wondering if there was any way that I could view the contents of that .txt file from another computer
Much thanks,
M.
12-01-2008 03:51 PM
You have a couple options:
1: You could write a VI to act as a server using the built-in TCP VIs such that a VI on the client PC could send requests for parts of that text file and the "server" could respond with that data. The TCP VIs are located in your functions palette at Data Communications > Protocols. Also take a look at the shipping TCP examples at Help > Example Finder... > Networking > TCP & UDP
2: If you need a way to display the data, then remote front panels may be the better route. You can write a VI such that the front panel can be viewed and controlled from a web browser on another machine. This way you could update the front panel with the requested data. This is not included in Base Development of LabVIEW but can be purchased separately.
Developing Remote Front Panel LabVIEW Applications