LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server dialog box does not show

I have an application that has a number of pop-up windows. Some of these are the built-in "File Dialog" VIs & some of them are my own modal windows (open when called, close when done). I have about 5 of my own and several built-in ones (like Yes/No Dialog boxes).

 

I want to run a Web Server or VI Server to this application and am not sure how to best handle these pop-up windows. I would guess I would need a separate Web Publishing .htm file for each window, but of course the File Dialog does not have one. And I'm not sure what is the best approach using the VI Server.

 

Any suggestions? I do not want to make an executable in my case as the program needs to run locally but be accessed remotely.

0 Kudos
Message 1 of 2
(2,369 Views)

The popups you're talking about called from the File Dialog VIs are windows system dialog boxes. These will need to be opened by a program on the remote machine somehow. This can be done either by remotely executing the code or modifying the code to use a different type of popup box native to whatever environment your client is running (for instance, google chrome has a prompt box). If you're running the whole thing in HTML you might look at http://www.javascripter.net/faq/confirm.htm for info on how to write a simple javascript dialog. I'm not sure I completely grasp your application, but regardless you're going to have to manage those popups from the remote execution environment. Just make sure you understand that the File Dialog ones are coming from windows system calls.

0 Kudos
Message 2 of 2
(2,349 Views)