Adds a channel to the waveform group.
LDicomWaveformChannel* LDicomWaveformGroup::AddChannel(uIndex= ELEMENT_INDEX_MAX)
Zero-based index of the new channel. This parameter defaults to ELEMENT_INDEX_MAX, which will add the new channel at the end.
|NULL||An error occurred.|
A waveform in DICOM consists of one or more multiplex groups, each encoded into an item in the "Waveform Sequence" (5400,0100). All channels within a multiplex group are synchronously digitized at a common sampling frequency. Use this function to add a new channel to the waveform group.
This function returns a pointer to an internal object that is managed by the class. Therefore, you should not free it when you are done with it.
For an example, refer to LDicomWaveformChannel::SetChannelSamples8.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries