mpiSqNodeSegmentParamSet
Declaration
long mpiSqNodeSegmentParamSet(MPISqNode sqNode,
long segment, long paramStart, long paramCount, char *params);
Required Header: stdmpi.h
Change History: Added in the 03.03.00
Description
mpiSqNodeSegmentParamSet gets the current value of the specified slice parameters from the sqNode.
sqNode | a handle to a SqNode object. |
---|---|
segment | the index of the slice / module attached to this SynqNet node. |
paramStart | the first parameter to set. |
paramCount | the number of parameters to set. |
*params | a pointer to the array of parameters that be written to the segment by this function. |
Return Values | |
---|---|
MPIMessageOK |
Sample Code
For example to get the first two slice parameters on slice 1.
char parameters[2]; = { ‘\x00’, ‘\x0F’ };
mpiSqNodeSegmentParamSet(sqNode0, 1, 0, 2, parameters);