L_DicomWaveGrpSetTriggerSamplePosition

Summary

Sets the trigger sample position.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomWaveGrpSetTriggerSamplePosition(hDICOMWaveFormGroup, bInclude, uSamplePosition)

Parameters

HDICOMWAVEFORMGROUP hDICOMWaveFormGroup

A DICOM waveform group handle.

L_BOOL 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.

L_UINT32 uSamplePosition

New trigger sample position.

Returns

Value Meaning
TRUE The trigger sample position was set successfully.
FALSE An error occurred.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomChannelSetSamples8.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.