03-18-2013 03:55 AM
Hi,
I use Labview in my final project study. I need to save the contents of local variables in a SubVI obtained for use in another VI. I assembled these data in a cluster and I thought to use a global variable that Continet these data to be updates every time the VI is executed.
How can I make it through the global variable?
thank you for yor help:)
03-18-2013 05:06 AM
Hi,
I think you can use functional global variables for that purpose. Functional global variables are VIs that use loops with uninitialized shift registers to hold global data.
Check whether it meets your requirement.
03-18-2013 06:10 AM
where can i find these Functional global variables? i don't find it in my labview
03-18-2013 06:22 AM
Try these examples: https://decibel.ni.com/content/docs/DOC-20897
https://decibel.ni.com/content/docs/DOC-21226
Also search on ni.com for more results.
03-18-2013 06:33 AM
Hi,
FGV is a VI which you need to implement and call it when ever required. You will not find it in functional palette.
03-18-2013 08:26 AM
@am-i_a90 wrote:
Hi,
I use Labview in my final project study. I need to save the contents of local variables in a SubVI obtained for use in another VI. I assembled these data in a cluster and I thought to use a global variable that Continet these data to be updates every time the VI is executed.
How can I make it through the global variable?thank you for yor help:)
Why not connect the cluster to an output and wire it through?
/Y
03-21-2013 08:04 AM
Itried to connect a cluster in the input of my global variable but it doesn't work.
But i found a solution with the FGV and it seems to be a good one 🙂
thanks