Search found 18 matches

by srhdavidson
Fri, 2011-08-05, 17:14
Forum: DCMTK - General
Topic: Interference between C-MOVE responses and C-STORE requests?
Replies: 7
Views: 7353

Michael, You may be right that the scanner is only sending the C-MOVE-RSP after each image is sent. In my program, I am now clearing the SCU's response queue after each image is received by the SCP. To do this, I created a LookForMOVEResponses function in my specialized SCU class that essentially co...
by srhdavidson
Thu, 2011-08-04, 15:37
Forum: DCMTK - General
Topic: Interference between C-MOVE responses and C-STORE requests?
Replies: 7
Views: 7353

Any luck finding the cause of this issue?

Sean
by srhdavidson
Wed, 2011-07-20, 13:37
Forum: DCMTK - General
Topic: Interference between C-MOVE responses and C-STORE requests?
Replies: 7
Views: 7353

Michael,

All log messages are generated by DCMTK code. I don't generate any log messages.

Sean
by srhdavidson
Mon, 2011-07-18, 21:34
Forum: DCMTK - General
Topic: Interference between C-MOVE responses and C-STORE requests?
Replies: 7
Views: 7353

Some evidence that my theory on responses getting stuck in a queue may be correct. My apologies for the long quote but it is necessary for illustration. There are two C-MOVE requests sent. Note that the message ID for the first request is 3. Note that the message ID for the second request is 4. Note...
by srhdavidson
Mon, 2011-07-18, 21:30
Forum: DCMTK - General
Topic: Interference between C-MOVE responses and C-STORE requests?
Replies: 7
Views: 7353

Interference between C-MOVE responses and C-STORE requests?

Hello, I have created an application (developed in Visual C++ 6.0, running on Windows) that retrieves images from an MRI scanner. I use a class that inherits DcmSCU to send the C-MOVE requests and a class that inherits DcmSCP that listens for associations on a separate thread. For the most part, the...
by srhdavidson
Wed, 2011-06-01, 21:44
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

I made the same changes to scu.cpp that you did in order to get the query parameters output to the debug log. After re-building dcmnet.lib and my application, the C-FIND message sent via the DcmSCU class now works. Very strange, but since it is now working, I will not complain. Now to try and get a ...
by srhdavidson
Mon, 2011-05-30, 18:50
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

Michael,

Please see the code samples in the top of the post, which list the query parameters for both methods, the one that works (DcmFindSCU) and the one that doesn't (DcmSCU).

Sean
by srhdavidson
Mon, 2011-05-30, 16:17
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

Michael, I opened the script file in notepad++ and all line feeds were CR/LF. I used notepadd++ to change the end-of-line to "Unix Format" (LF) and that allowed me to run the script in cygwin. Once the script was run, I was able to generate the Visual C++ workspace with CMake. The ALL_BUIL...
by srhdavidson
Mon, 2011-05-30, 14:56
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

Michael, I'm currently working with DCMTK 3.6.0 where the priority bug still exists. I think the solution to the problem is to download the most recent snapshot of the DCMTK code, build it, and then use it in my application. I downloaded dcmtk-3.6.1_20110519. As you may recall from my previous post ...
by srhdavidson
Fri, 2011-05-27, 19:49
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

Following up, here's the DIMSE portion of the log that is generated when the DcmFindSCU class is used and successfully elicits a reply: 2011-05-27 14:34:35.262 INFO: ===================== OUTGOING DIMSE MESSAGE ==================== 2011-05-27 14:34:35.262 INFO: Message Type : C-FIND RQ 2011-05-27 14...
by srhdavidson
Fri, 2011-05-27, 18:48
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

Michael, Here are the contents of the debug log: 2011-05-27 13:44:40.477 DEBUG: Configured a total of 1 presentation contexts for SCU 2011-05-27 13:44:40.477 DEBUG: Request Parameters: 2011-05-27 13:44:40.477 DEBUG: ====================== BEGIN A-ASSOCIATE-RQ ===================== 2011-05-27 13:44:4...
by srhdavidson
Fri, 2011-05-27, 17:10
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

Michael,

I moved the closeAssociation call below the processing of the responses but that didn't solve my problem.

The sendFINDRequest function returns a bad result. I went into the de-bugger. From what I can tell, the request gets sent but the error is generated when waiting for the response.

Sean
by srhdavidson
Fri, 2011-05-27, 16:41
Forum: DCMTK - General
Topic: DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't
Replies: 13
Views: 16321

DcmFindSCU::performQuery works but DcmSCU::sendFINDRequest doesn't

Hello, The following code snippet successfully retrieved study information from a GE MRI scanner: OFString QueryFileName = "QueryInput.dcm"; DcmFileFormat QueryFile; QueryFile.getDataset()->putAndInsertString(DCM_QueryRetrieveLevel, "STUDY"); QueryFile.getDataset()->putAndInsertS...
by srhdavidson
Wed, 2011-05-18, 17:45
Forum: DCMTK - Installation
Topic: CMake error with DCMTK 3.6.0 for Visual C++ 6.0
Replies: 12
Views: 21168

Success! I used Michael's approach. I was able to successfully run the changext script through cygwin (for others who may have this problem, please note that the script takes several minutes to run). That solved the CMake error and led to a successful build of the DCMTK 3.6.0 library. I was able to ...
by srhdavidson
Wed, 2011-05-18, 15:20
Forum: DCMTK - Installation
Topic: CMake error with DCMTK 3.6.0 for Visual C++ 6.0
Replies: 12
Views: 21168

Michael, Since my last post, I un-installed and re-installed CMake and I also tried a different build directory. Neither attempt solved the CMake error. The executable that CMake cannot find no longer appears to be a part of the CMake distribution. I think it was part of an earlier distribution(2.4 ...