Hello,
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.5.1.4.1.1.2
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 . . .
DcmSCU::sendSTORERequest fails
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2504
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: DcmSCU::sendSTORERequest fails
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 ...
You could/should also test the current DCMTK snapshot ...
Re: DcmSCU::sendSTORERequest fails
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.
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.
Who is online
Users browsing this forum: Google [Bot] and 1 guest