LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
manu.NET

Be able to use LabVIEW Object for collection types (dictionary, hash, etc)

Hello,

 

It should be nice to be abble to use the LabVIEWObject  class in order to create Generic Collections. (List, Heap, Stack, Dictionnary, Hash Tables ... )

 

In all Object programming langages it is possible to access the "Base Class" (Object...), this feature should also be available in LabVIEW Oject.

 

Thanks a lot.

 

Manu.net.

 

[admin edit - clarified idea title]

Manu.net
3 Comments
M_Peeker
Member

As the entire class gets loaded into memory this will affect existing code heavily, at least  when it comes to memory footprint and load time. It would be better then to create your own generic base class and let your stuff inherit from that. It will be more work though as you'll need to make sure yourself that the inheritance is there. If you use the GDS tool I'm sure that you can create a pattern that does this for you, if there isn't one already there to use.



CLA
www.dvel.se
AristosQueue (NI)
NI Employee (retired)

M_Peeker: That is incorrect. Were we to create such container classes, they would not burden LabVIEW Object at all.

 

manu.NET: It would be nice to have these.

 

The idea already exists in the idea exchange: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/C-like-Class-templates-for-Labview-classes/idi-p/17140...

Darren
Proven Zealot