LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to Store attributes of an object temporarily till my vi is running?

hi,
 
im having a class wherein i have two vi's with some functionality. Now if i create an instance (object) of this class,
 i want to set some attributes to it and i would like to call these set attributes from a same and/or a different vi but my
ultimte aim is that i should store it in some container from where i can use it if necessary. i don want this to be stored in a file.
Cos once the vi stops running i don want this data to be available anymore. I hope u got my ques clearly now.
 
 
Regards
Jayaraman
0 Kudos
Message 1 of 4
(2,650 Views)
You could use shared variables. Or if the VI's are in the same project you could store the info in a queue.
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 2 of 4
(2,630 Views)
Do a search on "Action Engine" within this forum.  A sub-section of Action Engines is something called a "Functional Global Variable".
 
You can also do a search on that.  Functional Global Variables are VERY different from Globals or Shared Variables.  They are often used as a container to store values and allow to share among VI's.  It only retains the last value written to it (unless you modify the structure but I won't get into that). 
 
RayR
0 Kudos
Message 3 of 4
(2,624 Views)
Duplicated post, see here
_____________________________
- Cheers, Ed
0 Kudos
Message 4 of 4
(2,622 Views)