Search found 56 matches

by Roadrunner
Tue, 2011-11-29, 12:33
Forum: DCMTK - General
Topic: DcmSCP listen() and a time out from about 15 minutes.
Replies: 5
Views: 7854

I've tested today again and the latest snapshot.
Don't now what has been yesterday. Today everything is working inclusive the the blocking mode and the same snapshot (the latest).

Thanks for your help. :)
by Roadrunner
Mon, 2011-11-28, 20:46
Forum: DCMTK - General
Topic: PACS connection
Replies: 64
Views: 6866278

Your storescp here!

For all who don't know c++ and don't understand a bit of the dcmtk and posts above and where unable to read the linked posts: This is the code for receiving C-StoreRequests, saving files and sending the C-StoreResponse: // DICOMEMPFANGEN.H #ifndef DICOMEMPFANGEN_H #define DICOMEMPFANGEN_H #include <...
by Roadrunner
Mon, 2011-11-28, 19:07
Forum: DCMTK - General
Topic: DcmSCP listen() and a time out from about 15 minutes.
Replies: 5
Views: 7854

You're right - 1000 seconds but i am wondering where to find the variable to change it in the version from 07.07.2011. I treyed the last snapshot (20110922) and it's the same there but I've found the "Uint32 m_connectionTimeout;" in the scp.h. I've checked in both snapshots if they are set...
by Roadrunner
Mon, 2011-11-28, 18:54
Forum: DCMTK - General
Topic: PACS connection
Replies: 64
Views: 6866278

how to change the file names with if (receiveDIMSEDataset(&presID, &dataObject,NULL,NULL).good()) {.. // receive and responding code here .... if (dataObject->findAndGetOFString(DCM_SOPInstanceUID, dateiname,0, true).good()) qDebug() << "SOP IUID: "<< filename.c_str(); else {// so...
by Roadrunner
Mon, 2011-11-28, 17:47
Forum: DCMTK - General
Topic: PACS connection
Replies: 64
Views: 6866278

Yes, with scp->listen you start the service. How do I retrieve parameters T_DIMSE_Message * incomingMsg and const DcmPresentationContextInfo & presContextInfo? Well i am using the storescp.cfg from the etc directory so in configure there which sop class and transfer syntax i want to accept. Frank
by Roadrunner
Mon, 2011-11-28, 17:40
Forum: DCMTK - General
Topic: DcmSCP listen() and a time out from about 15 minutes.
Replies: 5
Views: 7854

Yes. I did the following: qDebug() << "listen start at: "<< QTime::currentTime(); scp->setDIMSETimeout(ULONG_MAX); /*<-- this is only a try*/ if (scp->listen().bad()) { qDebug() << "error while listening!"; } qDebug() << "listen canceled at: " << QTime::currentTime(); A...
by Roadrunner
Mon, 2011-11-28, 16:50
Forum: DCMTK - General
Topic: DcmSCP listen() and a time out from about 15 minutes.
Replies: 5
Views: 7854

DcmSCP listen() and a time out from about 15 minutes.

I've read the thread http://forum.dcmtk.org/viewtopic.php?t=3043&highlight=receivedimsedataset which describes the method to handle store requests and everything works very well except the following: after 15 minutes the listen() method/function stops while the time-out is set to 0 (by default) ...
by Roadrunner
Mon, 2011-11-28, 16:28
Forum: DCMTK - General
Topic: PACS connection
Replies: 64
Views: 6866278

Read the 2nd and the 3rd post http://forum.dcmtk.org/viewtopic.php?t=3043&highlight=receivedimsedataset remove the DIMSE_storeProvider 'part' (and below) but leave the lines between bzero and DIMSE_store... for the sendSTOREResponse (which line you have to insert for sending the positve or negat...
by Roadrunner
Wed, 2011-11-23, 11:25
Forum: DCMTK - General
Topic: Help with DICOMDIR and CD viewer
Replies: 18
Views: 27370

Try this one from agnosco
http://www.e-dicom.com/
by Roadrunner
Sat, 2011-11-19, 16:44
Forum: DCMTK - General
Topic: Help with DICOMDIR and CD viewer
Replies: 18
Views: 27370

Maybe you should give microdicom a try http://www.microdicom.com/ This viewer needs a path (relative or abslut - doesn't matter) to a dicomdir as parameter and reads the the given dicomdir while it starts and shows the dicom images. The only little bad thing is the message for registration the viewe...
by Roadrunner
Wed, 2011-10-26, 22:42
Forum: DCMTK - General
Topic: Locating the corresponding dicom file
Replies: 4
Views: 6090

I've found a big problem with the code above ... if you don't have a study or series description in the dicom images you will not have a study or series record in the dicomdir and won't get the filename (sName) with this line of code: image->findAndGetString(DCM_ReferencedFileID, sName); And if you ...
by Roadrunner
Thu, 2011-10-06, 10:54
Forum: DCMTK - General
Topic: findscu - and getting the number of images in a study/series
Replies: 3
Views: 7769

It's working.

Thank very much for your help. :-)
by Roadrunner
Wed, 2011-10-05, 23:43
Forum: DCMTK - General
Topic: findscu - and getting the number of images in a study/series
Replies: 3
Views: 7769

findscu - and getting the number of images in a study/series

I try to get the number of images in a study with findscu. Querying the PACs is not the problem but I've tried lots of parameter and got not a number of images in a series or study. Something like this: E:\dev\DCMTK\bin>findscu -S -k "0008,0052=SERIES" -k 0008,0061=CR -k 0040,0253 -k 0010,...
by Roadrunner
Mon, 2011-09-12, 08:41
Forum: DCMTK - General
Topic: Storescu Error While sending the data to StoreSCP
Replies: 10
Views: 12680

Today i got this error on a german windows xp with sp3 and dcmtk 3.6.0 and the wlmscpfs. I post it here because I guess you're using the same code base for forking. All firewalls are off. -s for single process solved the problem. My next guess is the driver of the network card but I wasn't able to i...
by Roadrunner
Fri, 2011-08-05, 02:45
Forum: DCMTK - General
Topic: Qt Creator linking problem =( undefined reference to... )
Replies: 3
Views: 5059

I guess you need some more libs: win32:LIBS += -lAdvapi32 -lofstd -loflog -ldcmdata -ldcmnet -lws2_32 -lnetapi32 -lwsock32 I only need the -lAdvapi32 for the visual studio. I think you should change the path seperator from // to / . 2 // could be understand wrong from the underlying os. and why do y...