Hello,
I was curious if it's possible to send variables from LabVIEW to a webpage. How might one go about doing so?
You can use the appropriate REST API calls in the Data Communications->Protocols->HTTP Client palette. You would need to know what API is supported for your web pages.
Hi Mark,
Thanks for your response. This is currently the project that I have, I'm just stuck on how I would proceed.
Thank you.
We know nothing about this website and it is not reachable for us. Is this your site?
Hi Alten,
Yes this is my own website. You're not able to access it?
Thanks for your responses.
@matsuajavier19 wrote:
You're not able to access it?
No:
Error 56 occurred at LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001
Possible reason(s):
LabVIEW: (Hex 0x38) The network operation exceeded the user-specified or system time limit.
Complete call chain:
LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001
NBApost.vi
Even using a browser, it times out. Is there a public URL that I can try?
Hi Alten,
I apologize for the delayed response, I thought I had sent it through, but I did not.
I unfortunately don't have a public URL.
I have a new VI (attached below) using http REST which works fine, it communicates with my website. But I am still struggling to send my data to the website.
I appreciate your help
Without knowing your API, we can't really give you any advice. This is your web site so you should have the specifics for your REST API. Does it want the data in JSON form? Or does it expect XML? Or something completely different?
Hi Mark,
It wants the dat in JSON form.
Thanks for your response.