LDicomWaveformChannel::SetChannelMinimumValue

#include "Ltdic.h"

L_BOOL LDicomWaveformChannel::SetChannelMinimumValue(bInclude, nMinValue)

L_BOOL bInclude;

/* dataset insertion/removal flag */

L_INT32 nMinValue;

/* new channel minimum value*/

Sets the channel minimum value.

Parameter

Description

bInclude

Boolean flag that specifies whether the function should insert the "Channel Minimum Value" (5400,0110) element or remove it from the dataset.  Possible values are:

 

Value

Meaning

 

TRUE

Insert the "Channel Minimum Value" (5400,0110) element (that corresponds to this channel) into the dataset and then set its value.

 

FALSE

Delete the "Channel Minimum Value" (5400,0110) element (that corresponds to this channel) from the dataset.

nMinValue

New channel minimum value.

Returns

TRUE

The channel minimum value was set successfully.

FALSE

An error occurred.

Comments

This function sets the value of the "Channel Minimum Value" (5400,0110) element that corresponds to this channel. Set bInclude to TRUE to force the function to insert the element if it doesn’t already exist in the dataset.

This function can also be used to delete the "Channel Minimum Value" (5400,0110) element that corresponds to this channel by setting bInclude to FALSE. In this case the nMinValue parameter is ignored.

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

Class Members, LDicomWaveformChannel::GetChannelMinimumValue

Topics:

Working with DICOM Waveforms

Example

For an Example, refer to LDicomWaveformChannel::SetChannelSamples8