From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

G Web Development Software

cancel
Showing results for 
Search instead for 
Did you mean: 

browse to a local file to upload

Solved!
Go to solution

I have been making webservices with Labview for years now. When I needed some HTML, I just had an VI generate it. I want to get started with the G web software. But I get stuck really quickly. I am creating a simple web application that is to replace an HTML form to upload a local file to the server for analysis. But I cannot find any control that will open a file dialog! It seems like such a basic function. How would I make a file prompt?

0 Kudos
Message 1 of 3
(603 Views)
Solution
Accepted by topic author aartjan

G Web Development Software does not include file handling VIs but there are community examples using the JavaScript Library Interface such as File for WebVI that demonstrate handling files in WebVIs.

 

Also if you are are just getting started with G Web Is recommend checking out How to Build a Web UI for Your LabVIEW-Based Test System which covers a lot of the services and concepts of G Web as well as Awesome WebVIs which is a collection of useful resources for WebVI development.


Milan
0 Kudos
Message 2 of 3
(583 Views)

That library for File is awesome! It makes me wonder where to put it, such that these functions become accessible in every project through the palette.

0 Kudos
Message 3 of 3
(506 Views)