Sets the channel source.
#include "Ltdic.h"
L_UINT16 LDicomWaveformChannel::SetChannelSource(pChannelSource)
Pointer to a structure that describes the new channel source.
Value | Meaning |
---|---|
0 | The function was successful. |
> 0 | An error occurred. Refer to Return Codes. |
Before calling this function, initialize pChannelSource->uStructSize to be sizeof(DICOMCODESEQUENCEITEM) and initialize all the members of the structure.
In DICOM it is mandatory to specify the source for a channel. Therefore, it is important to call this function to create a proper waveform channel. For more information about a waveform channel source, refer to "Channel Source Sequence" (003A, 0208) in the DICOM standard.
To fill the members of the pChannelSource structure you can use the functions offered by the LDicomContextGroup class. For more information about this class and the use of Coded Concepts in DICOM, refer to Working with Context Groups.
Win32, x64
For an example, refer to LDicomWaveformChannel::SetChannelSamples8.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document