08-21-2025 12:11 PM
I have built a suite of tests that run beautifully under the Sequence Editor. They are part of a workspace, and it appears that this is crucial to resolving some of the internal paths to models and sub-sequences.
However, when I run them under the LabVIEW exe gui (custom modified version), they appear to act as if I have opened the SEQ files directly, and not through the workspace.
I have tried to use Engine.OpenWorkspaceFile, but this does not modify the search directories, and does not resolve the issue.
Is there a way to load my workspace and then specific sequence files in the GUI? If I can't figure this out, it appears I have a lot of work ahead of me to re-tool these to not use the workspace.
08-21-2025 01:40 PM
I think I figured it out...
I had been calling OpenWorkspaceFile, but this only opens the workspace, does not set it. You then have to set the CurrentWorkspace with a property...
Note: Now I am dealing with releasing the objects in the Workspace; closing the file reference doesn't work. Maybe I need to set the current workspace to null first?
08-21-2025 11:52 PM
@Jed_Davidow wrote:
Note: Now I am dealing with releasing the objects in the Workspace; closing the file reference doesn't work. Maybe I need to set the current workspace to null first?
Don't know for sure, but I guess it's worth a try !