Non-Buffered High-Speed Capture - National Instruments NI-Motion User Manual

Motion control
Table of Contents

Advertisement

Chapter 12
Synchronization

Non-Buffered High-Speed Capture

NI-Motion User Manual
CheckError;
return;// Exit the Application
///////////////////////////////////////////////////
//////////////
// Error Handling
//
nimcHandleError; //NIMCCATCHTHIS:
// Check to see if there were any Modal Errors
if (csr & NIMC_MODAL_ERROR_MSG){
do{
//Get the command ID, resource ID, and the
error code of the //modal error from the
error stack on the device
err = flex_read_error_msg_rtn(boardID,
&commandID, &resourceID, &errorCode);
nimcDisplayError(errorCode,commandID,res
ourceID);
//Read the communication status register
err = flex_read_csr_rtn(boardID,&csr);
}while(csr & NIMC_MODAL_ERROR_MSG);
}
else// Display regular error
nimcDisplayError(err,0,0);
return;// Exit the Application
}
Non-buffered high-speed capture allows you to configure a single
high-speed capture event. For multiple high-speed captures, you must
re-enable the high-speed capture each time it triggers.
12-32
ni.com

Advertisement

Table of Contents
loading

Table of Contents