11-12-2015 12:32 PM
Hello.
I can't get the web front panel interface on a startup app on a CSV-1458 to work. I have been struggling with this for some time now and may well have lost my mind, if so please forgive me
I have used the wizard to build the html file
I have followed this : http://digital.ni.com/public.nsf/allkb/AB6C6841486E84EA862576C8005A0C26
I have found after much fiddling that the location of the html file on the CVS should not be /var/local/natinst/labview/www are suggested by the above article but actually /var/local/natisnt/www.
A web browser (not chrome of course) will open the html file, but the container which should contain the front panel is blank (see attached screenshot)
This is the parameter settting from the html file for the vi "path"
<PARAM name="LVFPPVINAME" value="BIR Marker.lvproj/EDIT__NI-CVS-1458RT-01AA5678__{EE458929-F239-4C20-96F7-B0349EE096B3}/BIR Marker.lvlib:__BIR MK Start.vi">
Note the "ËDIT__" , is that correct for a realtime startup application?
It took some time for me to discover that the html file appears to be specific to a target serial number, so simply using a previously built one probably doesnt work, but have finally got that sorted.
Thanks,
Mike
11-13-2015 04:55 PM
Hi Mike,
It looks like you're using Microsoft Edge internet browser. Does the Remote Front Panel also show the same behavior when using Internet Explorer 11 or Mozilla Firefox?
11-14-2015 10:34 AM
Adding to Parrot's remark, the interface you're trying to use requires Silverlight. Google and Microsoft have dropped support for Silverlight in their most recent browsers. That's why you're being pointed towards IE or Firefox. They maintain the support.
11-15-2015 12:42 PM
Hi,
Thanks for your help it seems to me from this info and speaking to our local NI representatives that the Realtime vi web interface is becoming obsolete, so I've made the desicion to use a different method of communication for my requirements. It's a shame as it seemed quite an elegant solution for remote configuration (my customers process software engineer was quite impressed by this capability). There is a performance hit, but since it's not used during production this is not a major problem in my system.
Regards,
Mike
11-20-2015 10:23 AM
11-23-2015 03:37 PM
Hi Mike,
As far as the Remote Front Panel becoming obsolete, it's hard to say. It really depends on the internet browsers supporting silverlight, which we don't have much info on. I still think the Remote Front Panel is a great option keeping in mind it's limitations. I do have to admit though it can be pretty hard to troubleshoot if it's not working correctly.
And yes it is possible to replicate a selected front panel programmatically. You could do this using VI Scripting. Here's a list of possible VI scripting tasks that could be helpful http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/scripting_quick_reference/. I personally haven't used it too much though so I can't really say how long it would take someone to implement this being new to VI scripting.