Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66839

shared variable for concurrent users

$
0
0

Hi, so I'm planning on creating a remote VI using shared variables. The scope of this project is kind of a network where a user (PC1) connects to a kiosk (PC2) which connects to devices (PC3). The VI would preferably run only on PC2. Now I was able to do this using shared variables but a question came up. What if multiple users (multiple PC1s) use the VI at the same time? Would the data stored in the variable grab data from whoever used it last?

For example: if I have a VI that multiplies A and B and outputs it to C, and I chose 3 for A and 5 for B but another user uses 10 for A and 20 for B (assume all A, B, and C are shared variables) what would C show to me and the other user?  


Viewing all articles
Browse latest Browse all 66839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>