LDicomWaveformGroup::SetSamplingFrequency

#include "Ltdic.h"

L_VOID LDicomWaveformGroup::SetSamplingFrequency(dFrequency)

L_DOUBLE dFrequency;

/* frequency in Hz */

Sets the sampling frequency.

Parameter

Description

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:

Class Members, LDicomWaveformGroup::GetSamplingFrequency

Topics:

Working with DICOM Waveforms

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8