◆ NetworkOutputSentValueGet()

virtual uint64_t NetworkOutputSentValueGet ( int32_t  index)
pure virtual

Gets the value sent out over EtherCAT.

ℹ This function is avaliable in RapidCode and RapidSequencer

indexThe index of the Network Output.
(uint64_t) The value which was actually sent. Either Output IntendedValue or OverrideValue.
NetworkOutputSentValueGet will report the value sent over the network. This might be the normal RMP cyclic value or the override value.
Sample Code:
// Get Input Values
int inputCount = controller.NetworkInputCountGet(); // Get number of Network Inputs (PDOs)
for (int i = 0; i < inputCount; i++)
int size = controller.NetworkInputBitSizeGet(i); // Read Input BitSize
int offset = controller.NetworkInputBitOffsetGet(i); // Read Input BitOffset
string name = controller.NetworkInputNameGet(i); // Read Input Name
UInt64 value = controller.NetworkInputValueGet(i); // Read Input Value
// Get Output Values
int outputCount = controller.NetworkOutputCountGet(); // Get number of Network Outputs (SDOs)
for (int i = 0; i < outputCount; i++)
int size = controller.NetworkOutputBitSizeGet(i); // Read Output BitSize
int offset = controller.NetworkOutputBitOffsetGet(i); // Read Output BitOffset
string name = controller.NetworkOutputNameGet(i); // Read Output Name
UInt64 value = controller.NetworkOutputSentValueGet(i); // Read Output Value
controller.NetworkOutputOverrideValueSet(i, value);
See also
NetworkOutputOverrideValueSet, NetworkOutputIntendedValueGet