L_DicomWaveGrpSetTriggerSamplePosition

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomWaveGrpSetTriggerSamplePosition(hDICOMWaveFormGroup, bInclude, uSamplePosition)

HDICOMWAVEFORMGROUP hDICOMWaveFormGroup;

a DICOM waveform group handle

L_BOOL bInclude;

/* dataset insertion/removal flag */ 

L_UINT32 uSamplePosition;

/* trigger sample position */ 

Sets the trigger sample position.

Parameter

Description

hDICOMWaveFormGroup A DICOM waveform group handle
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, Linux.

See Also

Functions:

L_DicomWaveGrpGetTriggerSamplePosition

Topics:

Working with DICOM Waveforms

Example

For an example, refer to L_DicomChannelSetSamples8.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help