05-04-2015 04:59 PM
I want to connect LabView to a distant server . Please can any one help me how to do that ?
Solved! Go to Solution.
05-04-2015 06:31 PM
05-05-2015 06:18 AM
I have my Raspberry pi configurated as a web server, now I need to connect my LabView application with that server to get data to and from my database in my raspberry pi. any idea please ?
05-05-2015 06:40 AM
05-09-2015 07:54 AM
I'm really blocked for communication labview and database in distant server. Please help !
05-09-2015 09:03 AM
05-12-2015 01:50 AM
Well I finally succeeded to make this connection : Labview --> php --> database, now I need to get data from database. Actualy, I have a boolean control (LED) which must chage color when it received "1" from database. I think that there is no big difference but I didn't understant how to connect wires.
Please anyone can help me ?
05-12-2015 03:39 AM
The HTTP Client VIs will return a string with the 'response' from the PHP script (e.g. if the script echoes 'hello' then that will be contained in the body string). Your PHP script will need to print/echo the data you want in some sensible format (suggestion: use JSON). You can then use the string to JSON function in LabVIEW to convert the string data into a LabVIEW cluster which you can then unbundle and wire to your boolean.
I suggest you take a look at some of the LabVIEW tutorials - your VI has some serious problems to do with having no execution timing (which means you will poll the raspberry PI as quickly as your computer can), your event structure will never fire (the value change event happens when you click on the 'Boolean' but it's not a button so you can't click on it) and because of that you won't be able to press the stop button.