|
|
- Description:
- CreateFromBoard takes a PCI board number reference and returns a pointer to the MotionController object it represents.
- Parameters:
-
| boardNumber | The reference number for the motion controller. Generally 0 unless you have multiple controllers in your system. |
- Returns:
- (MotionController*) A static pointer to the controller specified.
- Sample Code:
- Initialize the first PCI SynqNet controller.
- Notes:
- The Board is initialized when this function is called. During the initialization process, the SynqNet Network is also initialized. PCI Motion Controller boards are numbered (starting with zero) based on their PCI slot location. The Motion Controller closest to the CPU will be 0, the next will be 1, etc. Subsequent calls to CreateFromBoard will re-initialize the SynqNet network.
- Examples:
-
absoluteMotion.cpp, 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, S200DriveIO.cs, sequencerDigitalOutput.cpp, settleCriteria.cpp, SliceIO.cs, stoprate.cpp, syncInterrupt.cpp, SynqNetOk.cpp, template.cpp, userLimit.cpp, userLimitDigitalInputAction.cpp, userLimitGainChangeBasedOnPosition.cpp, userLimitStateAction.cpp, verifyApp.cpp, and watchdog.cpp.
|