mpiSqNodeSegmentMemorySet
Declaration
int32_t mpiSqNodeSegmentMemorySet(MPISqNode sqNode,
int32_t segment, int32_t memoryStart, int32_t memoryCount, char *data);
Required Header: stdmpi.h
Change History: Added in the 03.03.00
Description
mpiSqNodeSegm
sqNode | a handle to a SqNode object. |
---|---|
segment | the index of the slice / module attached to this SynqNet node. |
memoryStart | the first memory register to set. |
memoryCount | the number of memory registers to set. |
*data | a pointer to the array of memory registers that be written to the segment by this function. |
entMemorySet changes the current value of the specified slice memory registers on the sqNode.
Return Values | |
---|---|
MPIMessageOK |
Sample Code
Here is the code read the first 2 memory parameters on slice 1.
char memory[10];
mpiSqNodeSegementMemoryGet( sqNode, 1, 0, 10, memory );