Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myrio realtime webpublishing tool

Hello

I have recently bought the myRIO (target) and i have developed on it a project which consists of a main VI and several subvis. Using Labview from Windows on a host computer i can deploy the main VI on the target, I start the VI and everything runs fine.


However, now i would like to run this code directly from the target without the need to have it connected on the host. In addition i would like to be able to monitor and control the main vi running on the target through a remote panel. I was thinking that the web publishing tool should work with what i need. I tried to use the web publishing tool but when i open the html page the page stacks at the downloading vi at 0%.

Some years ago, i had a similar project but that one was on a small windows computer which had Labview installed on it. On that one, i just copied the shortcut of the main project VI in the windows startup and the particular VI was configured as an a html file using the webpublishing tool. I was then using a remote computer in the same local network and through a browser i had access to the front panel of the VI. I had the request control option enabled and i was clicking on the run button. Everything was running fine, i could control the VI, i could monitor the parameters of the VI and the data was saved on the target hard-drive.

I would like to do the same with my RIO and i thought that it would have been straight forward. Can someone help please?




Thank you and best regards,

Christos

0 Kudos
Message 1 of 3
(6,325 Views)

Hello,

 

I had some progress on the above issue. Some things have been resolved. I followed the directions from this link:

http://digital.ni.com/public.nsf/allkb/AB6C6841486E84EA862576C8005A0C26 and i was able to create the html from the web publishing tool. Then i could build the application and  also set it as startup.

 

However, after myrio reboots i try the link
192.168.0.101:8080/myrio1.html and i get the following:

Access Error: 404 -- Not Found

Cannot open document for: /myrio1.html

 

I was expecting to see the html downloading and loading the front panel of my startup vi but it is not working. I have also noticed that in the properties of the build specifications of the created real time application i see the message "No Web Services Found"

 

Any clue what is causing this?

 

Thank you

 

 

0 Kudos
Message 2 of 3
(6,314 Views)

try using this url instead:

 

192.168.0.101:8000/myrio1.html

 

When you build the application, the http port usually changes. In this case, when you are testing the VI in the project, it uses port 8080. However when you run it as an application, by default the port for remote panel server on RT targets is 8000

Daniel C.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(6,264 Views)