MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ NetworkIndexSet()

void NetworkIndexSet ( RSINetworkIndexType  indexType,
uint32  newIndex 
)
pure virtual

Set the Network Index associated with a DS402 Axis Feature.

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.
Sample Code:
//Switch Primary Feedback to Secondary and then associate a new Index as the Primary Feedback.
uint32 oldIndexOfPrimaryFeedback = Axis.NetworkIndexGet(NetworkIndexTypePOSITION_ACTUAL_INDEX);
See also
NetworkIndexGet, MotionController.NetworkOutputSentValueGet, MotionController.NetworkInputValueGet, RSINetworkIndexType