Browsing this Thread:   1 Anonymous Users


 Bottom   Previous Topic   Next Topic  Register To Post



[EDITED] Command CMOVERQ is not handled, why?
Just popping in
Joined:
2011/1/21 20:15
Group:
Registered Users
Posts: 2
Level : 1; EXP : 2
HP : 0 / 0
MP : 0 / 4
Offline
Hello, i trying to get some dicom files from DVTK emulator, for that i'm using dvtk library to make C-MOVE command to emulador, and i receive this message, i dont know why, any help?

C# CODE

DvtkData.Dimse.CommandSet command = new CommandSet(DvtkData.Dimse.DimseCommand.CMOVERQ);
DvtkData.Dimse.DataSet dataset = new DataSet("Patient Root Query/Retrieve - MOVE");

command.AddAttribute(0x00000002, VR.UI, _SOPClass.UID); // Affected SOP Class UID

command.AddAttribute(0x00000600, VR.AE, "DVTK_SCU"); //

_StudyInstanceUid = UniqueIdentifier.GenerateUidValue();
_SeriesInstanceUid = UniqueIdentifier.GenerateUidValue();

dataset.AddAttribute(0x00080052, VR.CS, "IMAGE"); // Query/Retrieve Level
dataset.AddAttribute(0x00080018, VR.UI, UniqueIdentifier.GenerateUidValue()); // SOP Instance UID

DvtkData.Dimse.DicomMessage request = new DicomMessage();
request.Apply(command, dataset);

// Send the C-MOVE-RQ
Console.WriteLine("Send C-MOVE-RQ PatientRootQueryRetrieveModel Image 1");
SendReturnCode sendResult = _Session.Send(request);
if (sendResult != Dvtk.Sessions.SendReturnCode.Success)
{
throw new System.ApplicationException("Send C-MOVE-RQ PatientRootQueryRetrieveModel Image 1 - failed");
}


Storage SCP Log

[Storage_and_Storage_Commitment_SCP_association_2]
-----
Listening for incoming Dicom connection on port 105...
-----
TCP/IP - Listening for connection using unsecure port number 105 ...
-----
[Storage_and_Storage_Commitment_SCP_association_1]
-----
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x6E=110
-----
Maximum length of Dataset DATA-TF PDU received (with pcId 1) is 0x48=72
-----
... Dicom message with Dimse Command CMOVERQ received.
-----
Last received Message of type Dicom message with Dimse Command CMOVERQ is not handled.
-----
Receiving message...
-----
Association open 0.41 seconds
-----
TCP/IP - Socket read error (error code 10038)
-----
Can't read from TCP/IP socket - connection has been closed.

Posted on: 2011/1/27 20:18
Transfer the post to other applications Transfer


Re: [EDITED] Command CMOVERQ is not handled, why?
Core Team Member
Joined:
2009/8/24 14:14
Group:
Webmasters
Registered Users
Core Developers
Posts: 34
Level : 4; EXP : 59
HP : 0 / 89
MP : 11 / 982
Offline
The C-Move operation consists of a series of C-STORE Sub operations. Basically, the Query Retrieve SCP functions as a SCP for C-MOVE requests and routes these C-MOVE requests to the Storage SCP using C-STORE commands.You must mmodify your code accordingly.

Posted on: 2011/2/16 11:36
Transfer the post to other applications Transfer



 Top   Previous Topic   Next Topic

 Register To Post


You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]