L_DicomChannelSetFilterLowFrequency

#include "Ltdic.h"

L_BOOL EXT_FUNCTION L_DicomChannelSetFilterLowFrequency(hDICOMWaveFormChannel, bInclude, dLowFrequency)

HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel;

/* a DICOM waveform channel handle*/

L_BOOL bInclude;

/* dataset insertion/removal flag */

L_DOUBLE dLowFrequency;

/* new filter low frequency*/

Sets the filter low frequency.

Parameter

Description

hDICOMWaveFormChannel

A DICOM waveform channel handle

bInclude

Boolean value that specifies whether the function should insert the "Filter Low Frequency" (003A,0220) element or remove it from the dataset.

 

Value

Meaning

 

TRUE

Insert the "Filter Low Frequency" (003A,0220) element (that corresponds to this channel) into the dataset and then set its value.

 

FALSE

Delete the "Filter Low Frequency" (003A,0220) element (that corresponds to this channel) from the dataset.

dLowFrequency

New filter low frequency.

Returns

TRUE

The filter low frequency was updated successfully.

FALSE

An error occurred.

Comments

This function sets the value of the "Filter Low Frequency" (003A,0220) 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 "Filter Low Frequency" (003A,0220) element that corresponds to this channel by setting bInclude to FALSE. In this case the dLowFrequency 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:

L_DicomChannelGetFilterLowFrequency

Topics:

Working with DICOM Waveforms

 

 

Example

For an example, refer to L_DicomChannelSetSamples8.