LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

View website in LabVIEW

Hi~~

Is it any solution for using LabVIEW to write a program to display the webpage, I mean I need to have a URL Address bar and a screen use for display the website. the screen size can adjust in the program. is it possible to do so? please help~~

thanks a lot

Kuroro
0 Kudos
Message 1 of 10
(7,292 Views)
Hi kuroro,

under windows you can use the

"Microsoft Webbrowser" ActiveX control. Place an "ActiveX Container" on your FP and then select the control. For passing a url use the method "Navigate".

best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 10
(7,280 Views)
There's an example of how to this using ActiveX and the Internet Explorer. Of course this only works on Windows.

Web Browser in LabVIEW Example

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 3 of 10
(7,268 Views)
thank you for helping. this program is difficult for me to understand. because i need to explain the program to my teacher, so if i can't explain it, i failed. i try to simplify the program(i don't need the refresh,back... those button) but it doesn't working anymore. I just want the url bar and display screen(how do i connect the activeX with Navigate function?). i need to add this program into my other program. i try to add the example been given into my program, but it doesn't work, it said can not find menu.
0 Kudos
Message 4 of 10
(7,242 Views)
Hi chris

Could you explain more for me. I add ActiveX container and Navigate function. but how do i connect activex with navigate, just stright connect? or need to add something. and add url bar parts I also no idea. can help me more?
thank you.

Kuroro
0 Kudos
Message 5 of 10
(7,235 Views)
Hi Kuroro,

It sounds like you need a very simple version of a Web Browser that can just browse from URL to URL without any added functionality. In that case you can do with only one Invoke Node to invoke the "Navigate" method. "Navigate" will do as it says - navigate you to the choosen URL.

In the attached example SimpleBrowser.vi, I am using the Event Structure to only run the "Navigate" method when the value of the URL control has changed.

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 6 of 10
(7,227 Views)
Hi Kuroro,
All you have to do is to wire the URL and then close the refrence.
Take a look at the attached vi.LV7.1
Is this what you want???

ohiofudu.
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 7 of 10
(7,223 Views)
this type is just what i wanted. but my work station computer LabVIEW is 7.0, got problem to open it. and another problem is when i click the running button, it doesn't work. if i am not click running button it works.
0 Kudos
Message 8 of 10
(7,222 Views)
Thanks Phlip, your program is working. the only problem is i can not open in LabVIEW 7.0, version 7.1 is ok. so can tell me how to solve this problem.
Thank you very much.

Kuroro
0 Kudos
Message 9 of 10
(7,216 Views)
If you have both 7.1 and 7.0, you can open the VI in 7.1, then open the 'File' menu and select "Save with Options". One the left side of the dialog, you'll see a selection titled "Save for Previous". Select this and hit the Save button and you'll be prompted to select a directory to save it to.

Any version of LabVIEW can save a VI back to the previous version. So you could open this new VI in 7.0 and following the same procedure, save it back to 6.1. The thing you have to watch out for is if the VI has features that were added in the newer version. You'll end up with a broken VI in the earlier version since that feature wasn't there.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 10 of 10
(7,205 Views)