12-21-2016 06:39 AM
Hello All,
I have doubt on the ATM Sample exam in errror handler. Can you please correct me if my understanding is wrong.
As the way error handling is being implemented in the ATM (QMH) even if the error comes and display the error to the user and suppose the error handler is being waiting for user input like clear or cont. with error..
Application is being waiting for user interaction to clear error or cont. Even in this waiting time also controller is running contiously..Idlely controller stop(halt) and wait for user to clear or cont..
Is this understanding is correct or i have understood something wrong.
Can you please help me regarding the above.
Hemant
12-21-2016 07:41 AM
For the CLD I think it is fine to have an error halt the application until it is acknowledged by the user. The CLD is meant to show a level of technical expertise and understanding of LabVIEW, not make a bullet proof appliation that has no flaws.
The CLA on the other hand should have some kind of central error handler (module/Actor) and all errors in other modules should be sent there so they can be logged, monitored, and an asynchronous dialog can be seen allowing the rest of the application to handle the error and continue if possible. Not all of this needs to be flushed out during the CLA, but a central error handler should be made so these changes could be made by another developer.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-22-2016 11:39 AM
Thanks Hooovahh for your reply,
Also I have seen ATM and Elevator, in both sample paper in the terminate state we are stopping the application why is it so?? as stopping a application in terminate state is not stated in requirements..
thanks in advance
Hemant
12-22-2016 12:39 PM
I think this one might just be a developer preference. I looked over an example exam and I didn't see anything specifying what to do on exit so you might be right.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord