LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variables in PDA

I am using shared variables so that I can read inputs on a cFP-2120, wirelessly across a bridge to a nearby PDA. This works fine.
My question is in expanding this to have one PDA and VI reading several identical cFP-2120s, with different IP addresses but the same shared variable libraries. Now, I can use the 'shared variable to string,' some string editing and then the 'string to shared variable' to get the new shared variable location. The help file says to then use this with DataSocket reads and write VIs, however DataSocket does not work on the PDA module.
So, how can I select a specific shared variable programmatically (without dragging it over from the project)? Is there anything I can plug the SharedVariableIO purple wire into to retrieve that specific shared variable?
 
Attached is the VI where I create the shared variable.
 
Thanks!
 
 

Data Science Automation

CTA, CLA, CLED
SHAZAM!
0 Kudos
Message 1 of 2
(4,719 Views)

Hi,

For now you cannot programmatically specify and retrieve data from a shared variable on the PDA without manually dragging and dropping the shared variable node from the project explorer.

One option will be create a separate library for each fieldpoint target in the project explorer and manually specify which target the library points to in the aliases file.

For more information on how to specify different target in the aliases file, checkout "Moving the Shared Variable to a Different Host without Rebuilding the Application (PDA Module, Touch... in the LabVIEW PDA Help.

Tunde

Message 2 of 2
(4,699 Views)