findscu.exe/storescu: limit on aec?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
tliao
Posts: 2
Joined: Tue, 2017-09-19, 06:38

findscu.exe/storescu: limit on aec?

#1 Post by tliao »

Hello,

I noticed that when using findscu.exe and storescu, if the aec title is too long, it seems to get truncated at 16 characters. Is there a reason for this?

For example, the call to findscu.exe is

Code: Select all

findscu.exe -ll debug -to 15 -S -k (0010,0020)="010001" -aet "AE" -aec "MWL_SCP_MI_REPORT_7887" "10.168.21.10" "5678" cfindpatient.wl
But the called application name in the output is truncated:

Code: Select all

D: $dcmtk: findscu v3.6.0 2011-01-06 $
D: 
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID:      1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name:   OFFIS_DCMTK_360
D: Their Implementation Class UID:    
D: Their Implementation Version Name: 
D: Application Context Name:    1.2.840.10008.3.1.1.1
D: Calling Application Name:    AE
D: Called Application Name:     MWL_SCP_MI_REPOR
D: Responding Application Name: resp. AP Title
D: Our Max PDU Receive Size:    16384
D: Their Max PDU Receive Size:  0
D: Presentation Contexts:
D:   Context ID:        1 (Proposed)
D:     Abstract Syntax: =FINDStudyRootQueryRetrieveInformationModel
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax(es):
D:       =LittleEndianExplicit
D:       =BigEndianExplicit
D:       =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation:  none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response:  none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: Constructing Associate RQ PDU
E: Association Rejected:
E: Result: Rejected Permanent, Source: Service User
E: Reason: Called AE Title Not Recognized
E: 0006:0301 DUL Association Rejected

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

Re: findscu.exe/storescu: limit on aec?

#2 Post by J. Riesmeier »

The reason is that DICOM PS3.5 defines a maximum length of 16 bytes for the value representation AE (Application Entity).

tliao
Posts: 2
Joined: Tue, 2017-09-19, 06:38

Re: findscu.exe/storescu: limit on aec?

#3 Post by tliao »

Thank you!

Post Reply

Who is online

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