10-24-2024 07:12 AM - edited 10-24-2024 07:12 AM
Hi Michele,
@michele.santucci wrote:
What's the differences? It make sense to use a shared variable within a project?
10-24-2024 07:23 AM
> To ask for a "project" isn't precise as a project can contain code for different targets (PC, RIO, FPGA), running in parallel. That's why I wrote about "execution"/"target" in the first two items…
Ok I got it... I will revert my shared variables to global since I use it only between Vis that belongs to the same target/exe.
10-25-2024 03:31 AM
You have a point though, the naming can be a little tricky. Global could very well be the one that all .exe can reach while Shared being shared between VIs in the same .exe ... I guess it leads back to C and the like where you have Local (within a function) reach and Global (within the .exe, reachable to all functions). At that time they probably didn't think too much about other programs having access to it. 🙂