L_DicomChannelGetStatus

#include "Ltdic.h"

L_LTDIC_API L_UINT16 L_DicomChannelGetStatus(hDICOMWaveFormChannel)

HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel;

/* a DICOM waveform channel handle */

Gets the channel status.

Parameter

Description

hDICOMWaveFormChannel

A DICOM waveform channel handle

Returns

If the function fails it returns 0. If the function succeeds it returns a combination of the following values:

Value

Meaning

DICOM_CHANNEL_STATUS_OK

[0x01] OK

DICOM_CHANNEL_STATUS_TEST_DATA

[0x02] Test Data

DICOM_CHANNEL_STATUS_DISCONNECTED

[0x04] Disconnected

DICOM_CHANNEL_STATUS_QUESTIONABLE

[0x08] Questionable

DICOM_CHANNEL_STATUS_INVALID

[0x10] Invalid

DICOM_CHANNEL_STATUS_UNCALIBRATED

[0x20] Uncalibrated

DICOM_CHANNEL_STATUS_UNZEROED

[0x40] Unzeroed

Comments

This function returns the channel status. For more information please refer to the "Channel Status"(003A, 0205) element in the DICOM standard.

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_DicomChannelSetStatus

Topics:

Working with DICOM Waveforms

Example

For an example, refer to L_DicomChannelSetSamples8.