LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

global variables different labview versions

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(2,691 Views)
Solution
Accepted by topic author valuzza

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 5
(2,662 Views)

Actually Fieldpoint is supported up to 2015 SP1 using v15.5:

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019KdASAU&l=en-US

 

-AK2DM

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 5
(2,651 Views)

@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?

0 Kudos
Message 4 of 5
(2,646 Views)

this solution worked perfectly! thanks!

0 Kudos
Message 5 of 5
(2,632 Views)