Hello!
I am developping a java application, making query/retrieve. To take images from the pacs, my application needs to have an AETitle. Unfortunately, I don't know how to apply an aetitle to my application. Is there a function in DICOM Toolkit which enables to do that ?
Thanks...
Apply AETitle
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
In most of the network tools in DCMTK, you have command line options such as --aetitle (to set the application's calling application entity title) and --call (to set the called application entity title) in the A-ASSOCIATE-RQ message that initiates the DICOM network association. The corresponding functions in the network module can be found in dcmtk/dcmnet/assoc.hThe functions operate on a T_ASC_Parameters structure, which essentially is the package in which all data that is needed to assemble an A-ASSOCIATE-RQ PDU is collected before the connection as such is opened.
Code: Select all
OFCondition
ASC_setAPTitles(
T_ASC_Parameters * params,
const char* callingAPTitle,
const char* calledAPTitle,
const char* respondingAPTitle);
OFCondition
ASC_getAPTitles(
T_ASC_Parameters * params,
char* callingAPTitle,
char* calledAPTitle,
char* respondingAPTitle);
I am sorry, but I didn't understand very well when and how I set the AETitle?
Is there a command line I have to do before my findscu and movescu in order to initiate the network?? Which one ? How to send the A-ASSOCIATE-RQ message?
Because if I only add "--aetitle MY_AETITLE" to the command movescu, of course it still doesn't work, even if I configured the PACS, which knows the IP adress and the port corresponding to this AETitle...
Thank you...
Is there a command line I have to do before my findscu and movescu in order to initiate the network?? Which one ? How to send the A-ASSOCIATE-RQ message?
Because if I only add "--aetitle MY_AETITLE" to the command movescu, of course it still doesn't work, even if I configured the PACS, which knows the IP adress and the port corresponding to this AETitle...
Thank you...
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
If you are using movescu as a command line tool, then there are three command line options to set the various AEtitles, as documented in the manual page:
Code: Select all
-aet --aetitle aetitle: string
set my calling AE title (default: MOVESCU)
-aec --call aetitle: string
set called AE title of peer (default: ANY-SCP)
-aem --move aetitle: string
set move destinat. AE title (default: MOVESCU)
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
First of all, read the documentation.Can you tell me what corresponds to the parameter dcmfile_in of the function movescu? is it the file I want to take?
The images that are received by the movescu are stored in the current working directory, if this was your question.Can I specify the directory where I want the image to be sent?
Who is online
Users browsing this forum: Google [Bot] and 1 guest