.


mpiPlatformControllerCheck

Declaration

 
MPI_DECL1 long MPI_DECL2
       mpiPlatformControllerCheck(MEIPlatform platform,
                                  long        *unexpectedIntCode);
 

Required Header: stdmei.h
Change History: Added in 03.04.08.b1.03 and 03.04.12.b1.03

Description

mpiPlatformControllerCheck checks condition of the controller internally when a timeout function is used and a timeout is detected. This function can also be called by the user at any time to verify that the controller’s processor is still running. If the controller has halted for some reason, the function will return MPIPlatformMessageCONTROLLER_HALTED and unexpectedIntCode will contain the interrupt vector that caused the controller to halt.

 
*unexpectedIntCode Contains the controller processor’s interrupt vector if an unexpected interrupt occurs in the processor. It is zero if the controller is Ok.
   
 
Returns
Returns controller halted error code MPIPlatformMessageCONTROLLER_HALTED and unexpected interrupt code.

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering