SetChannelSamples method (IDicomWaveformChannel Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long SetChannelSamples(VARIANT Samples);

Overview

Refer to Working with DICOM Waveforms.

Remarks

The SetChannelSamples method sets the new samples for a channel. The ChannelSamples property contains the array of samples.

Before calling the SetChannelSamples method, storage must be allocated for the array by calling the SetNumberOfSamplesPerChannel method (lDicomWaveformGroup) for the waveform group object to which the channel belongs. In addition, the SampleInterpretation property must be set to the required Waveform Sample Interpretation before setting the samples.

The number of samples set will be the minimum of the size of the specified safearray and the number specified by the NumberOfSamples property.

See Also

Elements:

Annotations property, ChannelMaximumValue property, ChannelSensitivityCF property, WaveformChannelNumber property, NotchFilterBandwidth property, ChannelMaximumValue property, ChannelLabel property, ChannelTimeSkew property, ValueDefined property, ChannelSensitivityUnits property, ChannelSensitivity property, NumberOfSamples property, ChannelBaseline property, ChannelStatus property, FilterLowFrequency property, ChannelOffset property, Index property, WaveformGroup property, NotchFilterFrequency property, FilterHighFrequency property, ChannelSamples property, ChannelSource property, ChannelSampleSkew property

Topics:

DICOM Waveform Channels: Setting/Getting Channel Samples