L_DicomChannelSetSource

Summary

Sets the channel source.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_UINT16 L_DicomChannelSetSource(hDICOMWaveFormChannel, pChannelSource)

Parameters

HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel

A DICOM waveform channel handle.

pDICOMCODESEQUENCEITEM pChannelSource

Pointer to a structure that describes the new channel source.

Returns

Value Meaning
DICOM_SUCCESS 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, 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 context groups functions (L_DicomxxxContextGroup and L_DicomxxxCodedConcept). For more information about these functions and the use of Coded Concepts in DICOM, refer to Working with Context Groups.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomChannelSetSamples8.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.