The RMP Motion Controller APIs

◆ NetworkIndexSet()

void NetworkIndexSet ( RSINetworkIndexType indexType,
uint32_t newIndex )
Description:
NetworkIndexSet sets the index used by the axis for the associated enum/feature.
Parameters
indexTypeThe associated type of index you want.
newIndexThe new index of the associated Type.
Remarks
This function is also available in RapidSequencer.
Sample Code:
//Switch Primary Feedback to Secondary and then associate a new Index as the Primary Feedback.
uint32_t oldIndexOfPrimaryFeedback = Axis.NetworkIndexGet(NetworkIndexTypePOSITION_ACTUAL_INDEX);
uint32_t NetworkIndexGet(RSINetworkIndexType indexType)
Get the Network Index associated with a DS402 Axis Feature.
void NetworkIndexSet(RSINetworkIndexType indexType, uint32_t newIndex)
Set the Network Index associated with a DS402 Axis Feature.
Represents a single axis of motion control. This class provides an interface for commanding motion,...
Definition rsi.h:5664
See also
NetworkIndexGet, MotionController.NetworkOutputSentValueGet, MotionController.NetworkInputValueGet, RSINetworkIndexType