10-19-2012 05:51 PM
I was looking for direct support of 'LV Class Properties' and accidentically made a class with 'Class Property' as a design pattern (that feels like a Singleton).
However is it possible to change this Class to a standard by Ref class?
Regards,
Ton
10-29-2012 07:05 PM
There is currently no automatic way of converting a ByValue class to a ByRef class.
I normally create a new class (in a new project) with the same name in a new location and just copy it over the by value class.
//Mike
10-29-2012 07:10 PM
Or maybe I misunderstood your question, did you want to remove an added design pattern?
We have a feature of removing linked design pattern to classes, through the
GOOP->Get Class Information...
Unfortunately, in the design patterns I've created, I've not implemented the Remove Design Pattern function, but all Plug In Design patterns can implement the Remove function if they want.
BTW, if you're interested in creating your own design patterns let us know and we'll guide you through it.
//Mike
10-30-2012 04:07 AM
I saw the 'Remove design pattern'. However that doesn't update the allready created VIs. But in the 'Get Instance' I removed the Name input. This made the class behaving like I want.
Ton