06-23-2015 10:52 AM
vi not loadable with shared variable (even when SV in subVI).
06-23-2015 11:25 AM
So? If you have a question or problem with your code, we need to see the code in order to make (what we hope are) helpful suggestions.
Bob Schor
06-23-2015 11:27 AM
Hello kdCMC,
I'm afraid you might have to give more context about your issue to get help with it.
1) What do you mean by "not loadable"? Can you not open the VI? Are you unable to see its block diagram?
2) What kind of shared variable is this? Is this a network shared variable?
3) Would you be willing to post the VI so that we can see if it opens on other systems?
4) What version of LabVIEW are you working with? Is it the same as the one used to create the shared variable?
Regards,
Collin Draughon
Applications Engineer
National Instruments
866-275-6964
support@ni.com
06-24-2015 04:38 AM
Hello Collin,
1. not loadable -> VI call by reference
2. single process SV
3.
4. LV2014, yes
regards,
Koen.
In attachements: capture.png <- call by reference (if i remove the SV in the VI which is called, it loads)
I will post the VI with the SV later this day. I'm not near that PC right now.
06-24-2015 06:26 AM
in attachement VI with SV
06-24-2015 09:42 AM
when i'm using a global variable, it loads. Could save my neck here ( i hope).
06-24-2015 09:51 AM
Hello.
Yes,
Global variables are always a good option.