#include "ltdic.h"
L_INT LDicomNet::SendData(nPresentationID, pCS, pDS)
L_UCHAR nPresentationID; |
presentation ID |
LDicomDS *pCS; |
command message |
LDicomDS *pDS; |
data set |
Sends a Data message to a connection. This function is available in the Medical Imaging Suite Toolkit.
Parameter |
Description |
nPresentationID |
Presentation ID. The presentation ID provides information about both the class type of the data and the transfer syntax to use when transferring the data. |
pCS |
A DICOM object that references the command set that contains the actual command message. |
pDS |
A DICOM object that contains the actual data. This may be NULL if no data set is included. |
0 |
SUCCESS |
>0 |
An error occurred. Refer to Return Codes. |
This is a low level means of sending DICOM messages and data. It allows you to send messages yourself, instead of using the high level message sending functions provided.
For more information about sending messages, refer to Sending Messages.
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 |
Win32, x64
Functions: |
|
Topics: |
|
|
L_INT LDicomNet_SendDataExample(LDicomNet* m_pDicomNet)
{
L_INT nRet;
LDicomDS DicomDS1, DicomDS2;
//send a command set, then a data set
DicomDS1.InitDS( CLASS_CR_IMAGE_STORAGE, 0);
DicomDS2.InitCS(COMMAND_C_STORE, TRUE);
//client is sending data
nRet = m_pDicomNet->SendData(1, &DicomDS2, &DicomDS1);
if(nRet != DICOM_SUCCESS)
return nRet;
return DICOM_SUCCESS;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.