LDicomWaveformGroup::SetTriggerSamplePosition

#include "Ltdic.h"

L_BOOL LDicomWaveformGroup::SetTriggerSamplePosition(bInclude, uSamplePosition)

L_BOOL bInclude;

/* dataset insertion/removal flag*/

L_UINT32 uSamplePosition;

/* trigger sample position*/

Sets the trigger sample position.

Parameter

Description

bInclude

Specifies whether the function should insert the "Trigger Sample Position" (0018,106E) element or remove it from the DICOM dataset.

 

Value

Meaning

 

TRUE

Insert the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) into the dataset and then set its value.

 

FALSE

Delete the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) from the dataset.

uSamplePosition

New trigger sample position.

Returns

TRUE

The trigger sample position was set successfully.

FALSE

An error occurred.

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

See Also

Functions:

Class Members, LDicomWaveformGroup::GetTriggerSamplePosition

Topics:

Working with DICOM Waveforms

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8