LDicomDS::AddWaveformGroup

#include "Ltdic.h"

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

LDicomWaveformGroup* pWaveformGroup;

/* pointer to new waveform group */

L_UINT16 uFlags;

/* reserved for future use */

L_UINT32 uIndex;

/* index */

Adds a new waveform group to the dataset.

Parameter

Description

pWaveformGroup

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

uFlags

Reserved for future use. Pass 0.

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

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

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

See Also

Functions:

LDicomDS::GetWaveformGroupCount, LDicomDS::GetWaveformGroup, LDicomDS::DeleteWaveformGroup, LDicomWaveformGroup class members, LDicomWaveformChannel class members

Topics:

Working with DICOM Waveforms

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8