Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

CLA ATM Example SI3

I'm a bit bamboozled by the sample solution with respect to: 

 

SI3. The Simulation Interface simulates a single session and terminates when the user completes all activity and requests return of the bank card.

 

It appears that the ATM controller is meant to interprete a a command and terminate the session but the only way I can spot for the ATM controller to enter the terminate state is if there is an error.  This is not SI3.

 

Next there is a state, 'return card' for the SI.  This requires user comtrol interface.vi to send the command from the ATM Controller.vi module but that doesn't seem to be covered in the terminate section. 

 

If the Simulated Interface queue receives  'return card', it sets the card slot value false which kills the event loop.  Another interesting thing,  if the card slot value goes true, the event loop is also terminated.

 

There seems to be a lot of errors in the sample.  Is it acceptable to code in such a manner in the CLA exam?

 

Can anyone explain how SI3 is covered?

 

thanks,

Sean

0 Kudos
Message 1 of 1
(5,329 Views)