From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Web UI Builder and Data Dashboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Publishing variables in tables without of using LabView NXT

I need to simulate two variables and publish them on a web page for monitoring data, then draw a graph and save them into tables that I will be able to search later. At the moment, I'm interested in simulating variables (I managed to simulate one but not two and really need help working simultaneously). Also, as I said, the goal is to save my data to the table. Of course this all works through the web server and html (.esp). The first image shows the status of my project right now and I can run the page on which the graph works and show  the data but not save the data in the table. Are there any simpler ways of doing this? and how to save these data? do i need php?project.jpgThis is how my project looks like when running. As you can see i have 2 tables and when variable get new value it is created new table. Can this be only one table with many rows for any new variable value?

website.png

if you know any solution or solution of a problem or a different way to ease the project, I would be very grateful.

0 Kudos
Message 1 of 5
(5,197 Views)

Hi mdomrab, I think the links below might yield helpful.

 

Tutorial: Creating and Accessing a LabVIEW Web Service (Real-Time, Windows)

https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/build_web_service/

 

Getting Started Series | Simple JavaScript and HTML with LabVIEW Web Services

https://forums.ni.com/t5/LabVIEW-Web-Development/Getting-Started-Series-Simple-JavaScript-and-HTML-w...

 

LabVIEW Web Services FAQ

http://www.ni.com/product-documentation/7747/en/

 

 

 

0 Kudos
Message 2 of 5
(5,161 Views)

Thank you very much for helping me with links to these examples. I manage to simulate variables to table. now the goal is to save my data to some database like Mysql or something...

 

Of course this all works through the web server and .html (.esp) and data is refreshed every second.

 

  Any idea how to save incoming data that refresh every 1 second so i can look at history variables...these data from table on webpage to...don't know...maybe Mysql database or excel?

 

Regards, Mario

0 Kudos
Message 3 of 5
(5,136 Views)
Mario, Here are a couple links about using SQL and Excel. Using MySQL with LabVIEW https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9TISA0&l=en-US Moving Data From LabVIEW Into Excel http://www.ni.com/newsletter/51339/en/
0 Kudos
Message 4 of 5
(5,128 Views)

Hello,

 

found solutions for some problems there, still lot to go...

http://www.halvorsen.blog/documents/technology/database/database_labview.php

some guy using Labview  and connecting with databases in sql.

0 Kudos
Message 5 of 5
(5,115 Views)