Contents Previous Next Subchapters

Transfer Data to an O-Matrix COM Server Client
Syntax status = OMServer.GetData(arraySize,dataDst)
See Also comgetmatrix , comnrows , and comncols

Transfers data from the COM server to a calling client. The argument arraySize must be a positive integer that specifies the number of elements that were retrieved from O-Matrix in a previous call by GetMatrix. The argument dataDst is a pointer to a double-precision array that has been allocated with arraySize elements. The arraySize value should be the product of NRows and NCols after GetMatrix has been called to retrieve a matrix.

The returned value status is an integer OM Server Status code. This value will equal 1 if this function succeeded.

A complete example illustrating the use of GetMatrix and GetData is provided in the GetMatrix section.