LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI webserver/client question

Solved!
Go to solution

I’m using internet explorer to monitor a VI (say primary.vi) running on NI’s webserver.  Things work out just fine.  However, the primary.vi sometime calls a secondary.vi, which has a pop-up window.  My client (internet explorer) only sees the primary.vi, but not the secondary vi.  How do I make my client too see the "active window" on the server?

Thanks.

 

I’m using LabVIEW 8.6.1

0 Kudos
Message 1 of 2
(2,638 Views)
Solution
Accepted by topic author shanx2

Hi Shanx2,

 

Please tell me a little bit more about your application.  Are you expecting for the second VI to pop up in the same internet explorer window, or a new one?  Each VI will actually have a seperate URL address that you set when you build the WebService from the project explorer.  You will need to go through here, make sure that the VI is always included in your build, and note the URL.  When you are running the program and see that the second VI has been called (I'd recommend a boolean if you aren't sure when it was/will be called) and then try to navigate to its own URL. 

 

If this works, then you have a few options depending on how much coding you'd like to do.  If you'd like to have the second VI automatically open up a new Internet Explorer window, then you could use ActiveX controls to have the VI launch a window for itself when called.  You could also just type in the URL once you know that it has been called. 

 

Here is a link that covers some basics of WebServices.

 

Cheers!

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 2 of 2
(2,600 Views)