LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data transfer between NXG Web and classic Labview

Hello everyone,

 

what is the best way to continuously exchange data between a compiled NXG Web Vi and a classic LabVIEW Vi?

 

To be more exact I want to read and control my classic LV software (from a different device) using the NXG Web Module running on a web server.

Are the SystemLink Tags and e.g. shared variables the only way this is possible at the moment and is it a satisfactory solution?

(I was playing with the SL Tags a bit, but so far could not get it to work the way I wanted to.)

 

 

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

Hi Cur,

 

what is the best way to continuously exchange data between a compiled NXG Web Vi and a classic LabVIEW Vi?

For "best" you need to specify requirements and evaluation topics!

In general you can use any kind fo network communication to share data between two executables. SharedVariables being one of them (but most often not the best one)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,253 Views)

In addition to SL Tags, you can also use SL Messages if you are wanting to stream data or trigger actions. 

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

Hi GerdW,

 

thanks for your response.

with "data" I mainly meant the visible controls and indicators of a software, ideally in a way that I do not have to arrange or package them myself.

I basically want to portray a LV software as website and use it the same way I would use the LV software but from an external device.

The main problem here is the limited ability of the Web Module to exchange data and I am not sure what the most elegant and flexible solution for this would be.   

Hope that makes it clearer.

 

€: what are the differences between the tags and the messages and can LV work with any of themdirectly?

 

0 Kudos
Message 4 of 6
(3,234 Views)

Hi Joshua,

 

I saw those before, but for some reason could not get it work. After rebuilding my test example and restarting my web server it is working now at least between LV NXG and the Web Module.

 

Is there a way to get it to work between LV 2014 and the Web Module?

There are several packages for tags and systemlink, but what exactly do I need?  

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