Thursday, February 09, 2012
Google Custom Search

ClearCanvas Highlights

Download our Open Source software
Watch some Videos
Get the Source
Check out our Licensing
Join our  Forums
Some Research: OICR IPP-Trials

Our Community

Membership Membership:
Latest New User Latest: tchlee
New Today New Today: 16
New Yesterday New Yesterday: 26
User Count Overall: 20579

People Online People Online:
Visitors Visitors: 13
Members Members: 3
Total Total: 16

Online Now Online Now:
01: okdicom
02: ednfran
03: larrywiding

ClearCanvas Community Forums

VerificationScu Problem
Last Post 2009-04-14 01:56 PM by nschafer. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
nschafer
Basic Member
Basic Member
Posts:18

--
2009-04-13 05:29 PM  

Hello everyone,

I've been working with the framework to do a number of different tasks.  Today I was trying to add a Dicom Echo to one of the tools I was creating and ran into the following problem:

I used the VerificationScu.cs code from the Samples in the source code.   The first time I ran the code it ran fine, but each subsequent request returns a Failed response, even though the log shows "Success status received in sending verification"  I ran the sample application unchanged and ran into the same results, The first time I clicked "Verify" I received a "Verify result: Success", but the next time I clicked "Verify" I recieved "Verify result: Failed".

I'm copying the data from the log as the order of the messages is different in the first runthrough vs. the second run.

[First Run]
(7) 4/13/2009 5:22:15 PM (Info) Preparing to connect to AE MYSERVER_SCP on host 192.168.6.121 on port 104 for verification.
(14) 4/13/2009 5:22:15 PM (Info) Association Accepted when QuerySCU connected to remote AE MYSERVER_SCP
(14) 4/13/2009 5:22:16 PM (Info) Success status received in sending verification!
(7) 4/13/2009 5:22:16 PM (Info) Verify result: Success
(14) 4/13/2009 5:22:16 PM (Info) Association released to MYSERVER_SCP
 

[Second Run]
(7) 4/13/2009 5:22:31 PM (Info) Preparing to connect to AE MYSERVER_SCP on host 192.168.6.121 on port 104 for verification.
(7) 4/13/2009 5:22:31 PM (Info) Verify result: Failed
(15) 4/13/2009 5:22:31 PM (Info) Association Accepted when QuerySCU connected to remote AE MYSERVER_SCP
(15) 4/13/2009 5:22:31 PM (Info) Success status received in sending verification!
(15) 4/13/2009 5:22:31 PM (Info) Association released to MYSERVER_SCP


As you can see the failure happens before the association is accepted.  Any thoughts would be appreciated 

stewart
Senior Member
Senior Member
Posts:2032

--
2009-04-14 10:01 AM  
Hi, are you using the same VerificationScu instance to do this? I ran into a similar problem before because the Scu class(es) can actually return control to the client code before the current connection is completely shut down. I suggest you try creating a new instance of the VerificationScu class for each call to Verify.

Hope this helps,
Stewart
Real-time support available to Clinical Edition and Team Edition customers
nschafer
Basic Member
Basic Member
Posts:18

--
2009-04-14 01:56 PM  

Thanks Stewart that resolved the issue.

Neal.

You are not authorized to post a reply.

Active Forums 4.1
Copyright 2011 ClearCanvas Inc.