Core Optical, Inc.
SourceData GetDataArray Method Industrial Strength, Scientific Grade
Retrieves a copy of the data in the specified channel as a two-dimensional array.

Namespace: PrecisionImage
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public float[] GetDataArray(
	int channel
)

Parameters

channel
Type: OnlineSystem Int32
An OnlineInt32 type indicating the data channel whose values are to be retrieved.

Return Value

A one-dimensional OnlineArray of type OnlineSingle.
Exceptions

ExceptionCondition
OnlineSystem ArgumentOutOfRangeException Thrown when channel refers to a data channel that does not exist in the current SourceData object.
Remarks

Use this method to retrieve a copy of the current values contained in the specified data channel. The data is returned as a one-dimensional array of type OnlineSingle.
See Also