From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-09-2019 01:19 AM
Sorry for the long title :D.
If I create a Request and wait for reply Event, in the Public API the Error Cluster from the release notifier VI doesn't get wired to the other error clusters. Please see picture and VI in the attachments.
If an error comes in the Request and wait for reply VI, the notifier does not get created, the release notifier tries to release an empty reference and throws an error. So LabVIEW starts to throw some pop-up windows, cause the error is not wired/handled. Is this a Bug in my DQMH software or is this a feature I did not see?
I am running the newest 4.2.1 Version of DQMH.
Max
Solved! Go to Solution.
07-09-2019 01:38 AM
Hi Max,
if you disable automatic error handling dialogs in LabVIEW options, this dialog will disappear:
This my default settings since ages. If i need a dialog to show a user something happened, i do this explicitly on my own.
best regards
Thomas
07-09-2019 02:34 AM
If I understand correctly the OP's question, there is a discussion of this problem here. Personally, I like to have automatic error handling turned on, but that's just me.
07-09-2019 09:36 AM - edited 07-09-2019 09:43 AM
@carlod80 wrote:
If I understand correctly the OP's question, there is a discussion of this problem here. Personally, I like to have automatic error handling turned on, but that's just me.
The next release of DQMH will have the error out wired for that notifier and we will ensure that anything that is scripted has Automatic Error Handling off.
More on Automatic Error Handling:
Brainless LabVIEW is a good source, the slides are at http://bit.ly/brainlesslabview
07-11-2019 02:48 AM - edited 07-11-2019 02:50 AM
Thanks for your replies,
I didn´t know, that the AEH plays such an important role while working with LabVIEW. Thanks for the resources about the topic, now the unwired error makes sense to me.
For every one, who has to "repair" their code and turn the AEH off here is a quicksolution for this:
https://www.labviewforum.de/Thread-VI-Analyzer-Test-Disable-Automated-Error-Handling
Download the file, put it in the following folder ./<user>/Documents/LabVIEW Data/VI Analyzer Tests, restart LV, create a LV Analyzer Test, select the desired VIs and only check the user defined test, run test, done.
Edit: Here is another source from Darren
https://forums.ni.com/t5/VI-Analyzer-Enthusiasts/Test-Auto-Error-Handling-Detect-or-Correct/ta-p/350...