Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMO.lvclass:ListThisLevelDependencies.vi works differently (incorrectly?) after the latest updates #87

Open
luferau opened this issue May 16, 2022 · 1 comment

Comments

@luferau
Copy link

luferau commented May 16, 2022

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:

  1. Clone https://github.com/JKISoftware/HAL-Webinar
  2. Open project
  3. Open Microscope.TestLauncher.vi
  4. Run

Incorrect code situated in Microscope.lvclass:Microscope.GetDependencies.vi

@francois-normandin
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants