L_DicomGetWaveformGroupCount

#include "Ltdic.h"

L_UINT32 EXT_FUNCTION L_DicomGetWaveformGroupCount(hDS)

HDICOMDS hDS;

/* a DICOM handle */

Gets the number of waveform multiplex groups that are included in the dataset.

Parameter

Description

hDS

A DICOM handle.

Returns

Number of waveform multiplex groups included in the dataset.

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 retrieve the number of items under that sequence.

Once you know the total number of multiplex groups you can call L_DicomGetWaveformGroup to extract a specific group or L_DicomDeleteWaveformGroup to delete it.

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:

L_DicomGetWaveformGroup, L_DicomDeleteWaveformGroup, L_DicomAddWaveformGroup

Topics:

Working with DICOM Waveforms

 

 

Example

For an example, refer to L_DicomChannelSetSamples8.