L_DicomWaveGrpSetSamplingFrequency

#include "Ltdic.h"

L_LTDIC_API L_VOID L_DicomWaveGrpSetSamplingFrequency(hDICOMWaveFormGroup, dFrequency)

HDICOMWAVEFORMGROUP hDICOMWaveFormGroup;

/* a DICOM waveform group handle */

L_DOUBLE dFrequency;

/* frequency in Hz */

Sets the sampling frequency.

Parameter

Description

hDICOMWaveFormGroup

A DICOM waveform group handle

dFrequency

New sampling frequency in Hz.

Returns

None.

Comments

In DICOM all channels within a multiplex group are synchronously digitized at a common sampling frequency. Use this function to set the sampling frequency in Hz.

The initial value for the sampling frequency is zero.

In DICOM it is mandatory to specify the sampling frequency for a waveform group. Therefore it is important to call this function to create a proper waveform group.

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:

L_DicomWaveGrpGetSamplingFrequency

Topics:

Working with DICOM Waveforms

Example

For an example, refer to L_DicomChannelSetSamples8.