Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66654

Does an object already exist

$
0
0

Is there a straightforward way to determine if an object of a specific class has already been instantiated?  I'm looking for some kind of LV primitive or function that would take the name of a class (or a constant class reference) and output a true/false whether an object of that class exists.  Alternatively, I suppose it could even return a reference to that object, or maybe an array of references if more than one object of that class exists.

 

I imagine something equivalent code could be written.  I'm just hoping to avoid reinventing the wheel.


Viewing all articles
Browse latest Browse all 66654

Trending Articles