06-25-2025 03:16 PM
I am building my first DQMH project and have come across a problem. When I try to create a new event in one of my DQMH modules, I get an error 1059
Error 1059 occurred at Invoke Node in dqmh_lib_DQMH Scripting Support.lvlib:Find Tester by Library Path.vi->dqmh_lib_DQMH Scripting Support.lvlib:Find Tester on Disk.vi->DQMH New Event.lvlib:Script Tester VI.vi->DQMH New Event.lvlib:Script Main and Tester Changes.vi->DQMH New Event.lvlib:Script New Event.vi->DQMH New Event.lvlib:Create New DQMH Event.vi
Method Name: TagVI:Get VI Tag
The event is created in the Main VI, but nothing appear in the Tester for that event.
This only occurs for one of my modules. Creating events in other modules work as expected.
Any help would be appreciated.
06-25-2025 03:22 PM
Can you run the Validate DQMH Module tool on the problematic module and see if it returns any failures?
06-25-2025 03:49 PM - edited 06-25-2025 03:53 PM
Plenty of errors.
Error occurred while testing issue "" (3X)
Multiple Main VI's found
Multiple RT Tester VI's found
Multiple Tester VI's found
Main VI broken (Because I haven't completed some code for one of the events)
Tester VI not found
Validating and letting DQMH fix errors did not fix the errors.
LV 2025 on Windows 11 with the latest DQMH.
How did I manage to break things so badly?
06-25-2025 03:54 PM
On the 'Multiple found' failures, you can click the 'Fix Issue' button to point to the actual Main VI/Tester VI/RT Tester VI, which will untag all the erroneously tagged ones. Can you try that?
06-25-2025 04:13 PM
Main.vi got fixed. When I point to Libraries\BadModule\Test badModule API.vi, DQMH says:
You did not select one of the VIs that is already tagged as a tester VI. Make sure you select a VI that is already tagged as a DQMH tester VI.
I'm not very far into building the module. Perhaps I should just start over.
06-25-2025 04:17 PM
If you don't mind sharing the module I can try to untangle it (and try to figure out what got it tangled in the first place).
06-25-2025 04:23 PM
Here it is. The beginnings of my version of the Stock module for the Vending Machine.
I did at one point delete an event I had created.
06-26-2025 10:49 AM
Somehow, the following 5 VIs in your library folder became corrupted:
Do Something Argument--cluster.ctl
Do Something Else and Wait for Reply Argument--cluster.ctl
Do Something Else and Wait for Reply.vi
Do Something Else.vi
Do Something.vi
These VIs aren't part of your library, so they should be fine to remove. After removing these corrupted VIs from disk, all the DQMH scripting tools appear to work properly.
06-26-2025 12:16 PM
Thank you so much.
I didn't fuss with any of those files directly. Any indication of how they got corrupted?
06-26-2025 12:53 PM
I see that all of them are 0 KB on disk, so yeah, something pretty crazy must have happened. 😛 But I have no idea what it could be.