Overload | Description |
---|---|
SetChannelSamples16(IntPtr,Int32) | Sets 16-bit data for a channel. |
SetChannelSamples16(Int16[],Int32) | Sets 16-bit data for a channel. |
For an example, refer to WaveformGroupCount.
This method sets the new samples for a channel. Before calling the SetChannelSamples16 method, be sure to call SetSampleInterpretation to set the waveform sample interpretation. The number of samples actually set will be less than or equal to the "Number of samples per channel" (003A, 0010) in the multiplex group that represents the parent of this channel. To get that number, call the GetNumberOfSamplesPerChannel method. This method is intended to be used for setting the data of 16-bit channels where the "Waveform Sample Interpretation" (5400,1006) is signed 16-bit linear DicomWaveformSampleInterpretationType.Signed16BitLinear or unsigned 16-bit linear DicomWaveformSampleInterpretationType.Unsigned8BitLinear. To get the waveform sample interpretation, use the GetSampleInterpretation method.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family