![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Fuctions for outputing messages of system information. More...
![]() |
Functions | |
RTN_ERR FNTYPE | NMC_MessagePopFirst (_opt_null_ NmcMsg_T *PRetMsg) |
Read system message queue. More... | |
void FNTYPE | NMC_MessageOutputEnable (BOOL_T Enable) |
Transfer a copy of message to MS Windows system message. More... | |
Fuctions for outputing messages of system information.
Transfer a copy of message to MS Windows system message.
Enable | False (0): not to transfer, True (1): transfer |
Usage:
After NMC_MessageOutputEnable(True) is called, the system message will be transferred to MS Windows system message.
Examples:
Reference:
NMC_MessagePopFirst()
RTN_ERR FNTYPE NMC_MessagePopFirst | ( | _opt_null_ NmcMsg_T * | PRetMsg | ) |
Read system message queue.
[out] | PRetMsg | Data structure of system information which can be set to NULL to remove the message from the message queue. Note that if the parameter is not NULL, the "sizeOfStruct" member variable in the structure must be initialized before calling NMC_MessagePopFirst(). See the sample program below. |
Usage:
NMC_MessagePopFirst() will read and remove the first (oldest) message from the message queue in order.
Examples:
Reference:
NMC_MessageOutputEnable()