JKI-State-Machine-Objects
JKI-State-Machine-Objects copied to clipboard
SMO.lvclass:ListThisLevelDependencies.vi works differently (incorrectly?) after the latest updates
Hello and thanks for great framework.
Describe the bug SMO.lvclass:ListThisLevelDependencies.vi does not return the expected list of dependencies. Output dependency array contains only one element: [ SMO.lvclass ]. This lead to receive error when trying to call SMO.lvclass:CastArrayDependenciesToClusterOrClass.vi:
Error 116 occurred at Flattened String To Variant in
SMO.lvclass:CastArrayDependenciesToClusterOrClass.vi->
Microscope.lvclass:Microscope.GetDependencies.vi->
Microscope.lvclass:Microscope.GetDependenciesPublicEvents.vi->
Microscope.TestLauncher.vi
Possible reason(s):
LabVIEW: Unflatten or byte stream read operation failed due to corrupt, unexpected, or truncated data.
This behavior was discovered after applying the latest updates.
To Reproduce Steps to reproduce the behavior:
- Clone https://github.com/JKISoftware/HAL-Webinar
- Open project
- Open Microscope.TestLauncher.vi
- Run
Incorrect code situated in Microscope.lvclass:Microscope.GetDependencies.vi
Thanks @luferau for the report. I confirm I have reproduced the error. It seems the list of "This Level" is not correct. I get a microscope class instead of a XYStage. I'll look into it.