LDicomWaveformGroup::AddChannel

Summary

Adds a channel to the waveform group.

Syntax

#include "Ltdic.h"

LDicomWaveformChannel* LDicomWaveformGroup::AddChannel(uIndex= ELEMENT_INDEX_MAX)

Parameters

L_UINT32 uIndex

Zero-based index of the new channel. This parameter defaults to ELEMENT_INDEX_MAX, which will add the new channel at the end.

Returns

Value Meaning
!NULL SUCCESS
NULL An error occurred.

Comments

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.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8.

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++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.