08-04-2011 03:50 PM
I have a set of web interfaces for a cFP-2120 which are front-ends to embedded VIs. The VIs, on their own, have been working perfectly collecting and saving data. The primary embedded VI starts and stops up to three other embedded VIs on the Fieldpoint. Each of the VIs has its own web interface.
The primary interface works perfectly and all the indicators update properly. On one of the other VIs only 1 of the two indicators works properly. It has a text indicator to display the latest line of data before it's written and a file counter. The counter works perfectly but the text indicator displays nothing despite there being data on storage. None of the indicators work on the other secondary VI despite it being derived off the same code the other secondary VI is based off of. The web UI is actually the exact same.
What could be going wrong with the web interfaces?
Jeremy
08-05-2011 08:00 PM
Hello,
What version of LV are you using? What are you using to create the Web UI (i.e Remote Front Panels, Web UI Builder)? Also, just to make sure I am clear, you have a main/primary VI with subVIs that have UIs just the same as the main VI? What type of data and how much is being passed to the indicators that are not being updated?
Regards,
Patricia
08-08-2011 12:53 PM
We're using Labview 8.2 and publishing the VIs to the web using the built in publishing tool. The master VI only indicates something once every half hour. The other two VIs display a line of data once every 5 seconds and iterate another indicator once every two days or so.
Here are the interfaces.
The "String Output" on the second two should be a line of about 15 comma separated values. On "Mesocosm 1" the "Master Interator" indicator is working and is incrementing as it should. "Mesocosm 2" has no working indicators.
08-19-2011
08:52 PM
- last edited on
08-05-2025
01:09 PM
by
Content Cleaner
Hello,
Below is an article that discusses funtionality not supported in the Web Publishing tool. Are you using any of these?
Functionality Not Supported in Viewing and Controlling Remote Front Panels
Regards,
Patricia B.
08-22-2011 11:18 AM
The only two that could effect anything are "Only a controller can remotely..." and "Block diagrams that achieve...".
The first covers dynamically opened VIs using the VI server. As far as I can tell I don't use this method. The following two images are segments of code that show how I dynamically execute compiled VIs. I have one Master compiled VI that is run as the startup executable which then allows the other VIs to be started/stopped. These code snippets come from that VI.
The second one mentions the polling of components on the front panel. I do have a few of these and these actually are successfull. While the VI web interfaces' indicators don't show display anything the controls do what they were programmed to do. The "Invoke Node" function is used to start and stop the VI.
The VIs collect data once every 5 seconds so that the while loop isn't very taxing.
Does any of this look like a possible cause to you?