07-29-2024 01:38 AM - edited 07-29-2024 03:41 AM
Hi there,
I have stumbled over something, which I can't quite explain... maybe someone can give me directions...
Background: I am creating an API library which is based on a Singleton (used as a Factory) and a Cloneable.
I have started developing in 24Q1, now updated to 24Q3 with save version set to 2019 for compatibility.
I have created both modules right at the start of development (24Q1), just two blank modules, not even featuring "Do something" so I never tested them.
When I finally launched the tester, the first clone would start, the start of the second would error out (Error 403683) in the Initialize case of the MHL
Just to make sure, I closed my project, created a new one based on the DQMH template ... et voila: everything looks good.
So going back to my API project, I removed the cloneable module, saved the project, deleted all the files from disk.
Restarted LabVIEW to be sure and added a new cloneable to the API project via the Tools Menu.
This time, even the launch of the first clone errored out!
I found a workaround: create the cloneable in a dummy project and then manually integrate it in th API project.
Anyone any ideas? Any issues with the Save version config in the lvproj? It sounds quite strange to me all in all...
Cheers
Oli
07-29-2024 03:56 AM
Further Finding:
added a new event in my API project: first clone starts, second one doesn't.
Open the module again with the dummy project (lvproj Version is set to 2024 / Editor), all clones start.
Save the dummy project, go back to the API project, alle clones start again.
Added another event, this time set the lvproj of my API project to 2024. Once again, second clone errors out.
Realized, module lvlib was still showing [2019], switched to 2024, saved. Multiple clones can be launched without problems
Guess this points to a certain direction!
Cheers
Oli
07-29-2024 05:09 AM
We (HSE) have seen an issue with "Save Version", too (albeit in a different place).
Can you share your example project, Oli, so we can have a play with it?
DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )
07-29-2024 05:11 AM
Sure, will PM it later today
Thanks for your support!