Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C DLL Help

L_DicomWaveGrpAddChannel

Show in webframe

#include "Ltdic.h"

L_LTDIC_API HDICOMWAVEFORMCHANNEL L_DicomWaveGrpAddChannel(hDICOMWaveFormGroup, uIndex)

HDICOMWAVEFORMGROUP hDICOMWaveFormGroup;

/* a DICOM waveform group handle */

L_UINT32 uIndex;

/* index */

Adds a channel to the waveform group.

Parameter

Description

hDICOMWaveFormGroup

A DICOM waveform group handle

uIndex

Zero-based index of the new channel. Pass ELEMENT_INDEX_MAX to add the new channel at the end.

Returns

!NULL

A pointer to a handle to a DICOM Waveform Channel.

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 toolkit. Therefore, you should not free it when you are done with 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

Platforms

Win32, x64, Linux.

See Also

Functions:

L_DicomWaveGrpGetNumberOfChannels, L_DicomWaveGrpGetChannel, L_DicomWaveGrpDeleteChannel, L_DicomChannelGetWaveformGroup, L_DicomChannelGetIndex

Topics:

Working with DICOM Waveforms

Example

For an example, refer to L_DicomChannelSetSamples8.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.