RsiError Class Reference

RsiError is a structure which contains an error/exception and information about it. More...

List of all members.


Public Attributes

RSIErrorMessage number
 Error number.
char text [RSI_ERROR_TEXT_SIZE]
 Error message text.

Detailed Description

RsiError contains the name, location, and description of errors/warnings generated in RapidCode. Most commonly RsiError will be used for try/catch statements in your code.

Here is the typical format:

/// try
/// {
///   // Your Code.
/// }
/// catch (Rsi Error *err)
/// {
///   printf("%s\n", err->text);
/// } 

For more detailed Error handling, please contact RSI at tech@roboticsys.com for assistance.

Examples:

absoluteMotion.cpp, AxisSwitchID.cs, Capture.cpp, configAmpFault.cpp, controllerInterrupts.cpp, custom97.cpp, customHome.cpp, driveMonitor.cpp, errorLog.cpp, gear.cpp, hardwareLimits.cpp, home.cpp, loadFirmware.cpp, memory.cpp, motorfeedback.cpp, multiaxisMotion.cpp, multipleControllers.cpp, pathMotion.cpp, pvtMotion.cpp, recorder.cpp, relativeMotion.cpp, sequencerDigitalOutput.cpp, settleCriteria.cpp, stoprate.cpp, syncInterrupt.cpp, SynqNetOk.cpp, template.cpp, userLimit.cpp, userLimitDigitalInputAction.cpp, userLimitGainChangeBasedOnPosition.cpp, userLimitStateAction.cpp, verifyApp.cpp, and watchdog.cpp.


The documentation for this class was generated from the following files: