07-15-2015
10:57 AM
- last edited on
07-18-2024
03:21 PM
by
Content Cleaner
Hello everybody,
To get my VI application in a web browser, I followed a tutorial:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3SaCAI&l=en-US
Indeed, I would like to make a remote controlled experiment by using a web browser.
However, even if I took care to follow exactly what was said in the tutorial, I got a white screen instead of the VI view.
I put the plugin needed and tried on several browsers (Internet explorer, Chrome and Firefox but still the same problem)
Do you have a solution?
Tell me if there is any other possibility to make a remote controlled experiment.
Thanks in advance.
Adrien
07-16-2015 05:00 AM
I also had this page.
I built my application and tried to do the same thing but still the same problem.
Am I the only one to have this?
Do you think it is due to the browser?
Thanks in advance.
07-16-2015 05:07 AM - edited 07-16-2015 05:09 AM
If it is showing the loading screen then that probably means that your browser and the NI plugin are working fine.
If it isn't downloading the panel - some things it might be are:
- Wrong IP address/port of cRIO in the html code
- A network configuration issue (e.g. firewall blocking communication, no route to the IP address)
- Incorrect VI Server settings (blocking access - make sure the Project/Target allows VI Server connections
- Might be that you need to install some additional NI components on the cRIO to allow remtoe front panel connections
To simplify things, I would perhaps create a simple VI on your computer (rather than the cRIO) and try the remote publishing tool on that - that will help to rule out IP/network configuration issues.
And if you are looking for another solution for accessing/contrlling a LabVIEW application through a web-browser - you might want to look at my WebSockets library (and links in my signature) - https://decibel.ni.com/content/docs/DOC-41778
07-17-2015 04:50 AM
Thank you for your reply.
You are right, the problem come from the network because when I tried with another computer it worked.
I saw your solution with Websocket library. It's very interesting but too much complicated for me...
Thanks again!