Jump to content

ChristianG

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

LabVIEW Information

  • Version
    LabVIEW 2009
  • Since
    2004

ChristianG's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Jeffrey thanks for your reply. So it seems I'm not on the wrong path...The idea with an Enum sounds interessing. Not for the particular class in mind, as this one has already a lot of connections to the VI, but for a simpler one... cheers, \c
  2. I guess you guys were all at the NI-Week the last couple of days, so that's why there was now answer. I thought about the overloading method and I didn't see why I shouldn't do it...So I just did it.... I have now for that particular class two constructors. One Class_Create.vi with some recommendet and some required inputs (so basically I use an overloaded method already) and one Class_CreateEmpty.vi with no connectors at all.
  3. Hi you GOOP enthusiasts I redesigned the last two weeks my current application using GOOP (loving it, by the way). Now I came across one point where I need to use an overloaded constructor. I was wondering if it is good practice to use polymorphic VIs to do it or just forget about using overloaded methods. Why I want to do this: my current constructor has several inputs which were marked as "required" and now I need in one calling class just the generated object without any functionality (because of design reasons). I'm really curious about your positions about that cheers, Christian
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.