01-22-2019 11:21 AM
Hi all!
I am experiencing a problem with Global Variables. I have to read data from 2 different systems: NI fieldpoint, which I can use only with LV2012 or below, and cDAQ, which I can use only with LV2015 or above. However, I need to read data of both systems and combine them. I wanted to do so using global variables, which I have tried in different LV2012 instances. However, if I try to read in LV2015 the global variables from the VI LV2012, I always get a NULL value. However, the options " open front panel" of the global variable in LV 2015 shows me the correct VI. Why can't I read the values correctly?
Thanks in advance
Valeria
Solved! Go to Solution.
01-22-2019 12:50 PM
Global Variables only work in a single application instance. Your LabVIEW 2012 and LabVIEW 2015 are acting in different application instances. I would just create a TCP connection between the two applications and have then send the data back and forth through that. You will have a lot more control and more reliable than other methods I have seen.
01-22-2019 02:18 PM
Actually Fieldpoint is supported up to 2015 SP1 using v15.5:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019KdASAU&l=en-US
-AK2DM
01-22-2019 02:45 PM
@valuzza wrote:
I wanted to do so using global variables, which I have tried in different LV2012 instances.
It is not sufficient to tell us what you tried, you also need to tell us the result. So did it all work when everything was 2012?
How are things connected? Can you use network published shared variables instead?
01-22-2019 03:53 PM
this solution worked perfectly! thanks!