09-28-2020 08:40 AM - edited 09-28-2020 10:11 AM
Hello everyone:
When I create Queue_Support Class as farther,then I create UI_Class inherit from Queue_Support Class directly, UI_class works.but when I create Update Loop class,then I click change Inheritance,choose Queue_Support as Update Loop class'farther,Update Loop class doesn't works(create error).what's the matter?
I am very sorry for that my english is very poor.
Solved! Go to Solution.
09-28-2020 09:22 AM
09-28-2020 09:22 AM
09-28-2020 09:24 AM
09-28-2020 09:32 AM
it means that G# can't be used in lv2020?
09-28-2020 09:35 AM
09-28-2020 09:39 AM
If the COVID19 didn't impact the release schedule, the 2020 SP1 release should be happening anytime soon. Given the severity of this bug, my gut feeling is that it will be fixed within this release.
Cheers
Andrea
09-28-2020 09:54 AM
@thols wrote:
Are you on LabVIEW 2020? I found a bug that happens when you change inheritance in LV2020. What happens is that all Call By Parent nodes gets replaced by the actual VI, which results in infinite recursion and out of memory error. This only occurs in LV2020.
Strange. I wonder what has changed in LV to cause this. We're Calling the standard LVOOP change inheritance i assume?
09-30-2020 03:25 AM
It's not a LabVIEW bug. It's that Call Parent Method was renamed to Call Parent Class Method. This method is excluded from when replacing SubVIs when changing inheritance. So its an easy fix in G#. I have attached an update of the failing VI which shall be put in <LabVIEW 2020>\resource\Framework\Providers\AddQ\G#IDE\support\ScriptingLib.
I just updated to LV2020 f1, but since that did not help with this issue I opened up the G# code and it was pretty simple to find.
To anyone else who wants to contribute, the code is at https://github.com/weaddquality/gsharp
Perhaps there are other places in the G# code which relies on the name of a VI which had its name change with the introduction of interfaces in LabVIEW?
09-30-2020 03:42 AM
Does G# update in VIPM?