Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Fri, 2018-08-17, 08:14

All times are UTC + 1 hour

Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue, 2012-12-18, 16:11 

Joined: Wed, 2011-06-01, 10:20
Posts: 10
We have a problem when calling DcmSCU::sendSTORERequest without dicomFile but with DcmDataset.
Our application is built on DCMTK 3.6.0 and it tries to send a DICOM image to STORESCP.EXE (also DCMTK 3.6.0) acting a server.
We have followed the sample code available on Offis site.

Call number 1 below works OK. It contains a dataSet and a DICOM file (containing this dataSet)
Call number 2 below fails. It only contains the dataSet. This is what we would like to get working

Is this perhaps a known problem in DCMTK, or are we doing something wrong?

1) scu.sendSTORERequest(presID, oFileName, dset, empty, empty, statusCode); // OK if valid DICOM file in oFileName
2) scu.sendSTORERequest(presID, 0, dset, empty, empty, statusCode); // Produces the error below

Log on client side shows:
I: Association Accepted (Max Send PDV: 16372)
WARNING: OFString constructed from NULL, this is deprecated.
E: Cannot send DICOM file, missing information:
E: SOP Class UID: 1.2.840.10008.
E: SOP Instance UID: 1.2.840.113854.1267331176.6748.1355839736.624
E: Transfersyntax: Unknown Transfer Syntax
I: Aborting Association
Unable to negotiate association: Illegal parameter
Press any key to continue . . .

PostPosted: Tue, 2012-12-18, 21:45 
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1963
Location: Oldenburg, Germany
I guess this issue has been fixed with this commit: http://git.dcmtk.org/web?p=dcmtk.git;a= ... d7917c0793

You could/should also test the current DCMTK snapshot ...

PostPosted: Wed, 2012-12-19, 15:01 

Joined: Wed, 2011-06-01, 10:20
Posts: 10
Thank you, this fixed the problem.
I downloaded scu.h and scu.cc via the git link and rebuilt dcmtk-3.6.0 with them.
Then both 1) and 2) calls of sendSTORERequest works.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: Raji and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group