LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CVS 1458 (Linux) Realtime vi Web Interface not working

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

 

 

 

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

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? 

Daniel Parrott
Software Product Marketing - Data Management & LabVIEW
National Instruments
0 Kudos
Message 2 of 6
(3,253 Views)

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.

0 Kudos
Message 3 of 6
(3,232 Views)

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

0 Kudos
Message 4 of 6
(3,210 Views)
I would be interested to know of it is the case that the Web interface is becoming obsolete.

I'd also be interested to know if it would be theoretically possible write something to automatically build a vi that would replicate selected front panel objects on the realtime system in a windows executable and do the necessary data exchange using shared variables, for example.
I've spent a few days replicating the front necessary front panel controls and indicators in a Windows vi and I can't shake the feeling that those days were wasted.

Am I alone in this?
0 Kudos
Message 5 of 6
(3,160 Views)

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.  

Daniel Parrott
Software Product Marketing - Data Management & LabVIEW
National Instruments
0 Kudos
Message 6 of 6
(3,125 Views)