This looks very interesting. I am able to run this from the index.html file but am having trouble serving it using web services. I start the web service running but don't know how to get the URL as there are no web resource methods to right-click on. What am I missing?
Forgive me if I'm wrong, but it sounds like you are not serving the html files. In Labview under your web server, add a public content folder that is pointing to the html files, then right-click the web server and click start. Now right click the index.html file and there'll be an option there to tell you the URL of that file.
Hi Jon, I have seen this before where when copying a project, it seems to forget what is previously defined as the "public" folder. Try removing the auto-populating "Web Client" folder, then re-adding a "Public Content Folder" pointing to the same "Web Client" directory. Then start the webservice and make sure to point the browser at the debug port i.e. http://localhost:8001/Chat/index.html or check the URL as Simon says above.
That is precisely what happened, thank you both for pointing me in the correct direction.
I have to say, this is a beautiful example of how simple and powerful websockets are.
Yeah I have to agree, it's a very nice API. I've been able to do quite a lot with it and am using it to drive graphs, show the error log, change system settings, etc. Very cool. Thanks Sam.