LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

global references and shared variable stop working

All,

 

I have been using Shared Variable and References in an RT application (both on the RT and XP side)

 

Now I created some shared variables and I can not get the data passed from different vi's. I tried making global references, No Go.

 

LabView 2011.

 

Anyone have any idea what might be going on.

 

thanks,

 

Carmine

 

0 Kudos
Message 1 of 3
(2,360 Views)

You don't give enough information to troubleshoot the problem. Can you show us some simplified code? Thanks!

0 Kudos
Message 2 of 3
(2,357 Views)

Basically:

 

I have a program that runs on its own and stores data in an array. I created a global reference and init it with the reference of the array. 

 

Then I have a second program that runs on its own. This one happens to start and stop. When it starts, it uses the global reference to get the data.

 

I am also haviong problems with shared variables. My app has shared vars that I created before and run fine. But when I create new ones, the value is not shared between different vi's.

 

Right now I am seeing this problem on the Hypervisor side. The RT is running fine.

 

Make more sense?

 

thanks

 

0 Kudos
Message 3 of 3
(2,350 Views)