10-14-2020 11:38 AM
The following error is popping up when trying to reverse engineer a VI. Any idea what could be wrong?
Error 1031 occurred at Open VI Reference in ReversedEngineering GetCaseStringConstants.vi:30001->ReversedEngineering GetDiagramStateMachineInfo.vi->StateDiagramGraph.lvclass:HandleRightClickMenuOption.vi->UMLEditor Main.vi
Possible reason(s):
LabVIEW: (Hex 0x407) VI Reference type does not match VI connector pane.
The type specifier and the target VI connector pane have at least one terminal that differs between being required or optional.
VI Path: C:\Program Files (x86)\National Instruments\LabVIEW 2018\resource\Framework\Providers\Open_GDS\UML\ReversedEngineering\ReversedEngineering GetCaseStringConstants.viOpen VI Reference in ReversedEngineering GetCaseStringConstants.vi:30001->ReversedEngineering GetDiagramStateMachineInfo.vi->StateDiagramGraph.lvclass:HandleRightClickMenuOption.vi->UMLEditor Main.vi<APPEND>
The type specifier and the target VI connector pane have at least one terminal that differs between being required or optional.
VI Path: <b>C:\Program Files (x86)\National Instruments\LabVIEW 2018\resource\Framework\Providers\Open_GDS\UML\ReversedEngineering\ReversedEngineering GetCaseStringConstants.vi</b>
11-02-2020 08:19 PM
I'll look into it.
Feel free to add the bug here:
https://github.com/opengds/OpenGDS/issues
01-08-2021 05:31 PM
I get same error. Any update?
01-11-2021 08:29 PM
Sorry, I've not had time to look at it yet...but I'll have a quick look now.
I'm currently just working on the LV2020 version, are you using previous version?
01-11-2021 08:47 PM
I just tested it in the LV2020 version on the Exmaple VI called: State Machine Fundamentals.vi and that worked fine.
Can you test that VI as well.
01-11-2021 08:52 PM
You can probably fix it by updating the VI ref connector pane.
In this VI:LabVIEW 20XX\resource\Framework\Providers\Open_GDS\UML\ReversedEngineering\ReversedEngineering GetCaseStringConstants.vi
As you can see this code was created before you could call your own SubVI recursively.