SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

How to host a webVI as dashboard in SystemLink server?

Solved!
Go to solution

Hi,

 

How can I host a webVI as dashboard in SystemLink server?

 

I can't seem to find any examples. I did manage to host them in SystemLink cloud using the examples.

 

A trick where I tried to load the SystemLink cloud hosted webVI in a SystemLink server dashboard's iFrame seems to fail.

 

Thanks.

Regards,
André (CLA, CLED)
0 Kudos
Message 1 of 10
(5,414 Views)
Solution
Accepted by topic author andre.buurman@carya

Hey André,

 

We have this example which should work to host a Web VI on your SystemLink Server. Let me know if you have any problems following the example.

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

Message 2 of 10
(5,401 Views)

Thanks Brandon,

 

Seeing the example I remember seeing this before, but couldn't find it. 

 

I'll try first tomorrow.

Regards,
André (CLA, CLED)
0 Kudos
Message 3 of 10
(5,396 Views)

I followed the instructions as described, but ran into the following issues after restarting the server:

Error loading privilege definition file for webvi_plugin. The 'name' attribute is invalid - The value 'Almond Dashboard' is invalid according to its datatype 'urn:com:ni:web:privilege:fileNameType' - The Pattern constraint failed. There is an error in XML document (2, 14). Privilege descriptions and defaults will be unavailable.	C:\Program Files\National Instruments\Shared\Web Server\conf\htpriv.d\webvi_plugin.xml

WebVI plugin start error.PNG

Regards,
André (CLA, CLED)
0 Kudos
Message 4 of 10
(5,383 Views)

Hoorah

The webVI shows up in SystemLink and also runs, despite the webserver error posted above.

It has issues, but I'll save that for a different post if I can't solve it myself.

 

Thanks, although I would still like to resolve the error mentioned in my previous reply.

Regards,
André (CLA, CLED)
0 Kudos
Message 5 of 10
(5,381 Views)

Somehow these errors vanished along the way, I don't know why.

Regards,
André (CLA, CLED)
0 Kudos
Message 6 of 10
(5,380 Views)

This link is broken.

 

@JoshuaP can you update the link?

Chase Fearing
Test Engineer, Certified LabVIEW Architect
0 Kudos
Message 7 of 10
(5,264 Views)

We moved the template to the official NI GitHub repository.

 

https://github.com/ni/systemlink-web-interface-template

0 Kudos
Message 8 of 10
(5,247 Views)

Awesome, thanks Josh. 

 

You may want to update the hyperlink on the getting started page: http://www.ni.com/tutorial/54037/en/

Chase Fearing
Test Engineer, Certified LabVIEW Architect
0 Kudos
Message 9 of 10
(5,244 Views)

Will do, thanks for the heads up!

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 10 of 10
(5,237 Views)