National Instruments NI-Motion User Manual
Page 96

Chapter 6
Arc Moves
6-18
ni.com
flex_read_error_msg_rtn
(boardID,&commandI
D,&resourceID, &errorCode);
nimcDisplayError(errorCode,commandID,res
ourceID);
//Read the communication status register
flex_read_csr_rtn
(boardID,&csr);
}while(csr & NIMC_MODAL_ERROR_MSG);
}
else
// Display regular error
nimcDisplayError(err,0,0);
return
;// Exit the Application
}