Additional Error Information
This feature is available in DQMH 6.0 and later. |
The errors generated by loops in the DQMH Main VI contain additional information that can be useful in diagnosing the cause of those errors.
For example, when the Simulate MHL Error
message generates an error in the DQMH project template, here is the error information that is returned:
As you can see in bold… the error cluster returned the name of the MHL frame that generated the error. |
Similarly, if the EHL returns an error via the Simulate EHL Error
message, here is the error information that is returned:
The DQMH Palette includes Error Handler VIs for the EHL, MHL, and Helper Loops:
There is also a DQMH Validate Tool test that will return a failure if you are not calling the appropriate error handler VI within a particular loop (for example, if you call the MHL error handler VI inside a helper loop).
If you want to specify a custom debug message to override the default EHL/MHL behavior, you can call a Property Node with the Error Debug
property before calling the Error Handler VI:
For convenience, the Error Debug string is provided as an input to the Helper Loop error handler VI: