ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time and shared variables question

When createing shared variables to commmunicate between a host Vi and a Real-time target Vi, are those variables in some way addressed to work only on a specific target?  I have a four compact fieldpoint units that will all be running the same target VI on the same network.  On that same network each cFP target will have a laptop running a host Vi to allow the user to control the a fieldpoint unit.  Four compact field point units, four computers.  Each pair of computer/fieldpoint units will be running the same VI, just in different locations in the lab. I would start with four projects, one for each fieldpoint system but the bulk of the VI's would be the same including the shared variables names.  I then would deploy the target VI to the fieldpoint units.  Create executables and installer for each of the  host VI's and install them on the specificed computers.  Am I going to have issues with the shared variables being the same names for each unit as the send data across the network, or when you add the real-time target to the project, the variables get some sort of tag to be specific between that Target and Host VI?  

 

Thank you for the help

 

Danny

Danny
0 Kudos
Message 1 of 2
(2,403 Views)

http://zone.ni.com/devzone/cda/tut/p/id/4679

 

Have you seen the above article?  I think if you alias the cFP SV to the host SVE you'll be fine.  Dig deep enough into the NI-PSP and you can probably get by with just one project and a config file or FP element to select which Host/cFP pairs up.


--Using LV8.2, 8.6, 2009, 2012--
0 Kudos
Message 2 of 2
(2,399 Views)