IOPoint * CreateDigitalInput ( MotionController controller,
long  bitNumber 
) [static]

Description:
Parameters:
controller The MotionController
bitNumber The bit number for the input, range is (0-6)
Returns:
(IOPoint*) A pointer to the newly created IOPoint.
Sample Code:
Create a new IOPOint...
  // -- C++ -- //
  IOPoint *myInput = IOPoint:CreateDigitalInput(controller, 3);
Notes:
Examples:
userLimit.cpp, and userLimitDigitalInputAction.cpp.