Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomWaveformChannel::SetChannelSource

Show in webframe

#include "Ltdic.h"

L_UINT16 LDicomWaveformChannel::SetChannelSource(pChannelSource)

pDICOMCODESEQUENCEITEM pChannelSource;

/* pointer to a structure*/

Sets the channel source.

Parameter

Description

pChannelSource

Pointer to a structure that describes the new channel source.

Returns

0

The function was successful.

> 0

An error occurred. Refer to Return Codes.

Comments

This function sets the channel source. 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, please 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, please refer to Working with Context Groups.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

Class Members, LDicomWaveformChannel::GetChannelSource

Topics:

Working with DICOM Waveforms

Example

For an Example, refer to LDicomWaveformChannel::SetChannelSamples8

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.