LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open different URLs in same window

I'm developing a program that will be run remotely.

 

Next to  each control or indicator, I have a little help button that opens up a URL with some information explaining what the control does or indicator means. The problem is that I don't want each help button to open up in a new window. I'd like to have the help info open in a pop-up window. If the user then clicks on a different help icon, then the info in the pop-up window changes (sort of like Labview Context help) as opposed to having a bunch of windows open.

 

Is there anyway to control which window the URL opens in?

 

Brian 

0 Kudos
Message 1 of 9
(4,214 Views)

If there isn't.. why not create a separate VI with embedded webpage (see shipped examples). 

 

When a user presses a help button you main program passes the relevant URL to this separate VI which opens the webpage in the embedded explorer.

 

Out of interest.. your information about what your buttons is located each at a separate web page?

 

Cheers,

 

Battler.

0 Kudos
Message 2 of 9
(4,208 Views)

Why not use the conventional help mechanism?

 

Showing what the control does or indicator means is exactly what it is for.

 

When you add text to a control's DESCRIPTION field, that text is available when the user has help (control-H) turned on. 

 

It handles the window size for you. 

 

 

 

 

If you must use the web mechanism, try using the TARGET attribute in the link code:

 

TARGET attribute of ANCHOR tag 

 

 

 

If that doesn't get it done for you, post some code. 

 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 3 of 9
(4,184 Views)

Hi,

 

How can you include html code when you open a link?  Do you have an example of this?

 

I've just used the Open URL VI included with LV.  Is there some other way to do it such as you've described?

 

Cheers.

0 Kudos
Message 4 of 9
(4,174 Views)

this may help, you should look it up and see if it can be a solution.

 

 

Message Edited by Harold Timmis on 10-11-2009 05:04 AM
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Download All
Message 5 of 9
(4,157 Views)
Cheers
0 Kudos
Message 6 of 9
(4,154 Views)

How can you include html code when you open a link?  Do you have an example of this?

 

My bad - I was thinking out of the wrong side of my head.

 

You can't do that with the OPEN URL vi.

 

 

Still, what is it about the conventional help mechanism that doesn't work for you? 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 7 of 9
(4,124 Views)
Can you use context help with remote panels? I'm not sure how to do that, which is why I was going with the browser option.
0 Kudos
Message 8 of 9
(4,085 Views)

Hello,

 

Have you taken a look at this link? Context help would fall into the localized application feature category and would not show up on the remote computer.

 

-Zach

0 Kudos
Message 9 of 9
(4,063 Views)