Chapter 10 Electronic Gearing and Camming
NI-Motion User Manual 10-22 ni.com
flex_read_error_msg_rtn(boardID, &commandID,
&resourceID, &errorCode);
nimcDisplayError(errorCode, commandID, resourceID);
//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
}