LabVIEW-DCAF / ExecutionInterface

A set of interfaces for code which can configure and operate on the tag bus module interfaces
https://decibel.ni.com/content/projects/reference-designs-for-distributed-control-systems
Apache License 2.0
2 stars 3 forks source link

Analyze/refactor/enhance error handling #1

Closed smithed closed 9 years ago

smithed commented 10 years ago

We currently don't have an error file for the engine interface. This is OK right now since the code is essentially useless without TBDcore and the error codes exist there (or in module interface) but it would be nice to move the error codes here.

In addition (this is the bug half of it): we use the simple error code to error cluster function which doesn't meet our needs. It overwrites the error information with rather than using as it should. Replace all instances with: https://github.com/TBDFramework/ModuleInterface/blob/master/source/root%20configuration/error%20generator.vi

smithed commented 10 years ago

Also, there are many places where config doesn't throw the right errors

smithed commented 9 years ago

I think this was corrected, everything has a valid error code and everything uses the CEF error gen function.