L_DicomAddWaveformGroup
#include "Ltdic.h"
L_UINT16 EXT_FUNCTION L_DicomAddWaveformGroup(hDS, hDICOMWaveFormGroup, uFlags, uIndex)
HDICOMDS hDS; |
/* a DICOM handle */ |
HDICOMWAVEFORMGROUP hDICOMWaveFormGroup; |
/* a DICOM waveform group handle*/ |
L_UINT16 uFlags; |
/* reserved for future use */ |
L_UINT32 uIndex; |
/* index*/ |
Adds a new waveform group to the dataset.
Parameter |
Description |
hDS |
A DICOM handle. |
hDICOMWaveFormGroup |
A DICOM waveform group handle |
uFlags |
Reserved for future use. Pass 0. |
uIndex |
Zero-based index of the new waveform group. Pass ELEMENT_INDEX_MAX to add 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: |
L_DicomGetWaveformGroupCount, L_DicomGetWaveformGroup, L_DicomDeleteWaveformGroup |
Topics: |
|
|
|
Example
For an example, refer to L_DicomChannelSetSamples8.