LDicomDS::AddWaveformGroup

Summary

Adds a new waveform group to the dataset.

Syntax

#include "Ltdic.h"

L_UINT16 LDicomDS::AddWaveformGroup(pWaveformGroup, uFlags, uIndex = ELEMENT_INDEX_MAX)

Parameters

LDicomWaveformGroup* pWaveformGroup

Pointer to a structure that contains the new waveform group. This parameter cannot be NULL.

L_UINT16 uFlags

Reserved for future use. Pass 0.

L_UINT32 uIndex

Zero-based index of the new waveform group. This parameter defaults to ELEMENT_INDEX_MAX, which adds the new group at the end.

Returns

Value Meaning
0 The function was successful.
> 0 An error occurred. Refer to Return Codes.

Comments

In DICOM, a waveform consists of one or more multiplex groups, each encoded into an item in the "Waveform Sequence" (5400,0100). Use this function to add a new multiplex group to the dataset.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8.

Help Version 23.0.2024.2.29
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.