Jump to content


Photo
- - - - -

GOOP 3 to GOOP 4 converter


  • Please log in to reply
6 replies to this topic

#1 Rammer

Rammer

    More Active

  • Members
  • PipPip
  • 26 posts

Posted 17 June 2011 - 05:42 PM

Does anyone know if Symbio plans to come up with a GOOP 3 to GOOP 4 class converter? I don't know if this is even possible with the new DVR archtecture. If not has anyone rolled their own or have any tips? We have about 75 classes we would like to convert. Without some automation this is not economically feesible for us.

John

#2 Marcus J

Marcus J

    3 more posts to go.

  • Members
  • 7 posts
  • Version:LabVIEW 2009
  • Since:1996

Posted 18 June 2011 - 10:35 PM

Hi,
The conversion utility is built in, at least in the latest version.
Use with care (keep backups)

Cheers
/MArcus

#3 Jeffrey Habets

Jeffrey Habets

    Very Active

  • Premium Member
  • 188 posts
  • Location:Netherlands
  • Version:LabVIEW 2011
  • Since:1997

Posted 18 June 2011 - 10:59 PM

GOOP3 -> GOOP4 conversion is available in version 4.1, which I think is about to be released...
---
Jeffrey
VIT

#4 MikaelH

MikaelH

    The 500 club

  • Premium Member
  • 576 posts
  • Location:Sydney
  • Version:LabVIEW 2012
  • Since:1996

Posted 20 June 2011 - 01:24 AM

Correct
You can download the beta version (that hopefully will be released in the end of this week)
http://goop.endevo.n...DS_Q5T_2009.zip
http://goop.endevo.n...DS_Q5T_2010.zip
http://goop.endevo.n...Q5T_2010-64.zip
http://goop.endevo.n...DS_Q5T_2011.zip
http://goop.endevo.n...Q5T_2011-64.zip

http://goop.endevo.n...Q5T_2009_32.ogp
http://goop.endevo.n...Q5T_2010_32.ogp
http://goop.endevo.n...Q5T_2011_32.ogp
http://goop.endevo.n...Q5T_2010_64.ogp
http://goop.endevo.n...Q5T_2011_64.ogp

I really like to get feedback on the convertion utility, it was a funny code to do :-)
It has some limitations, but overall I think it works great.

Cheers,
Mikael

Posted Image


#5 Rammer

Rammer

    More Active

  • Members
  • PipPip
  • 26 posts

Posted 25 June 2012 - 02:52 PM

Mikail,

I have used the converter. One question:

In true GOOP4 class structures I gain access to the parent class attributes by calling the get attributes of the parent within the child. I noticed that when I converted the objectattributes.ctl of the converted (GOOP4 class) has the attributes of the base still in it. Should I access the base through these or through the get attributes of the base class? Should I delete these controls from the object attributes control?

John

#6 MikaelH

MikaelH

    The 500 club

  • Premium Member
  • 576 posts
  • Location:Sydney
  • Version:LabVIEW 2012
  • Since:1996

Posted 26 June 2012 - 09:10 AM

Please delete them, and use the parent's GetAttribute method.

If you are looking for the latest GDS beta version, I'll upload it here soon:
This version has glyphs supports in the VI-icons (just like the Native LV icon editor has, but a little better in my opinion ;-)
It also has support for all normal Native by value classes, so you can do all class functions with these classes.
And now we support Actor Framework classes and functions, like creating Actors from different templates and the Message maker functions. Both AF version 3.0.7 and 4.0.0 is supported.
//Mike

Posted Image


#7 Rammer

Rammer

    More Active

  • Members
  • PipPip
  • 26 posts

Posted 26 June 2012 - 02:53 PM

Thanks Mikael,

Any chance a future converter will be able to do this automatically?