Core Optical, Inc.
SourceData AssignChannelData Method ( Double , Int32)Industrial Strength, Scientific Grade
Copies the entire contents of an array into the specified channel.

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

public void AssignChannelData(
	double[] data,
	int channel
)

Parameters

data
Type:  OnlineSystem Double 
An OnlineArray of type OnlineDouble containing the data to copy.
channel
Type: OnlineSystem Int32
An OnlineInt32 indicating the data channel to populate.
Exceptions

Remarks

Use this method to quickly populate a data channel in a SourceData object with values. The number of elements in data must be equal to the number of elements (rows x columns) in the SourceData object or an exception will result.
See Also