Application Entity

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
MuhammadHemdan
Posts: 46
Joined: Sun, 2012-02-26, 15:12
Location: Egypt

Application Entity

#1 Post by MuhammadHemdan »

hi all,

I need to set the application entity to my application how to do that?

Roadrunner
Posts: 56
Joined: Mon, 2010-06-14, 16:41

#2 Post by Roadrunner »

You should give use more details which application do you use and what do you want to do. :-)

Most DCMTK command line prorams are using -aec and -aet for setting the own and remote AE title.

If you try to run a program without a parameter you often get a help text or if not ... program name -h or --help will show you one.

Hope this will help you. ;-)

Frank

MuhammadHemdan
Posts: 46
Joined: Sun, 2012-02-26, 15:12
Location: Egypt

#3 Post by MuhammadHemdan »

Roadrunner wrote:You should give use more details which application do you use and what do you want to do. :-)

Most DCMTK command line prorams are using -aec and -aet for setting the own and remote AE title.

If you try to run a program without a parameter you often get a help text or if not ... program name -h or --help will show you one.

Hope this will help you. ;-)

Frank
I'm making a module in our ultrasoud machine to transmit dicom image to pacs. now i'm testing this module.
i'm using storescu to send dicom image to remote pc that use storescp.
i 'm using ip and port number with storescu and the port number with storescp and i can transmit the dicom image correctly.
My question is, is it important to set "aet" in my dicom image tags? like this:

dataset->putAndInsertString(DCM_SourceApplicationEntityTitle, ???, true);

what is the value to put in ??? ?

nark
Posts: 8
Joined: Fri, 2009-09-04, 14:15

#4 Post by nark »

Check the doc at:
http://support.dcmtk.org/docs/classDcmI ... dba8919ddc

The expected second parameter for the putAndInsertString method is a const char *

And yes, it is important to set the Source Application Entity Title to DICOM files your program handles on the network, even if only to follow the DICOM standard.

EDIT: Source Application Entity Title must match the AET (Application Entity Title) used by your program in order to communicate using DICOM network protocol.

MuhammadHemdan
Posts: 46
Joined: Sun, 2012-02-26, 15:12
Location: Egypt

#5 Post by MuhammadHemdan »

nark wrote:Check the doc at:
http://support.dcmtk.org/docs/classDcmI ... dba8919ddc

The expected second parameter for the putAndInsertString method is a const char *

And yes, it is important to set the Source Application Entity Title to DICOM files your program handles on the network, even if only to follow the DICOM standard.

EDIT: Source Application Entity Title must match the AET (Application Entity Title) used by your program in order to communicate using DICOM network protocol.
Thank you.

J. Riesmeier
DCMTK Developer
Posts: 2509
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#6 Post by J. Riesmeier »

Source Application Entity Title (0002,0016) is an optional field in the DICOM File Meta Information (see Table 7.1-1 in Part 10). Are you sure that you really want to use this attribute?
DICOM PS 3.10 wrote:The DICOM Application Entity (AE) Title of the AE that
wrote this file's content (or last updated it). If used, it allows
the tracing of the source of errors in the event of media
interchange problems. The policies associated with AE
Titles are the same as those defined in PS 3.8 of the
DICOM Standard.

MuhammadHemdan
Posts: 46
Joined: Sun, 2012-02-26, 15:12
Location: Egypt

#7 Post by MuhammadHemdan »

J. Riesmeier wrote:Source Application Entity Title (0002,0016) is an optional field in the DICOM File Meta Information (see Table 7.1-1 in Part 10). Are you sure that you really want to use this attribute?
DICOM PS 3.10 wrote:The DICOM Application Entity (AE) Title of the AE that
wrote this file's content (or last updated it). If used, it allows
the tracing of the source of errors in the event of media
interchange problems. The policies associated with AE
Titles are the same as those defined in PS 3.8 of the
DICOM Standard.
Thank you for this clarification.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest