DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1059

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. 

0 Kudos
Message 1 of 10
(461 Views)

Can you run the Validate DQMH Module tool on the problematic module and see if it returns any failures?

0 Kudos
Message 2 of 10
(460 Views)

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? 

0 Kudos
Message 3 of 10
(446 Views)

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?

0 Kudos
Message 4 of 10
(442 Views)

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. 

 

0 Kudos
Message 5 of 10
(428 Views)

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).

0 Kudos
Message 6 of 10
(426 Views)

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.

0 Kudos
Message 7 of 10
(425 Views)

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.

0 Kudos
Message 8 of 10
(384 Views)

Thank you so much. 

 

I didn't fuss with any of those files directly. Any indication of how they got corrupted? 

 

 

0 Kudos
Message 9 of 10
(374 Views)

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.

0 Kudos
Message 10 of 10
(370 Views)