waht is wrong with my command?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
medlong
Posts: 6
Joined: Sun, 2005-11-13, 13:55

waht is wrong with my command?

#1 Post by medlong »

i run movescu command:
movescu 127.0.0.1 5678 -P -v -d -k 0008,0052="PATIENT" -k 0010,0020="7"

Request Parameters:
Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.5.3
Our Implementation Version Name: OFFIS_DCMTK_353
Their Implementation Class UID:
Their Implementation Version Name:
Application Context Name: 1.2.840.10008.3.1.1.1
Calling Application Name: MOVESCU
Called Application Name: ANY-SCP
Responding Application Name: resp AP Title
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 0
Presentation Contexts:
Context ID: 1 (Proposed)
Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Proposed Transfer Syntax(es):
=LittleEndianExplicit
=BigEndianExplicit
=LittleEndianImplicit
Context ID: 3 (Proposed)
Abstract Syntax: =MOVEPatientRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Proposed Transfer Syntax(es):
=LittleEndianExplicit
=BigEndianExplicit
=LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Requesting Association
Constructing Associate RQ PDU
PDU Type: Associate Accept PDU Length: 222
02 00 00 00 00 d8 00 01 00 00 41 4e 59 2d 53 43
50 20 20 20 20 20 20 20 20 20 4d 4f 56 45 53 43
55 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
31 2e 31 21 00 00 19 01 00 00 00 40 00 00 11 31
2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
21 00 00 19 03 00 00 00 40 00 00 11 31 2e 32 2e
38 34 30 2e 31 30 30 30 38 2e 31 2e 32 50 00 00
3d 51 00 00 04 00 00 40 00 52 00 00 22 31 2e 32
2e 38 32 36 2e 30 2e 31 2e 33 36 38 30 30 34 33
2e 32 2e 31 33 35 2e 31 30 36 36 2e 31 30 31 55
00 00 0b 31 2e 34 2e 39 2f 57 49 4e 33 32
Association Parameters Negotiated:
Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.5.3
Our Implementation Version Name: OFFIS_DCMTK_353
Their Implementation Class UID: 1.2.826.0.1.3680043.2.135.1066.101
Their Implementation Version Name: 1.4.9/WIN32
Application Context Name: 1.2.840.10008.3.1.1.1
Calling Application Name: MOVESCU
Called Application Name: ANY-SCP
Responding Application Name: ANY-SCP
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 16384
Presentation Contexts:
Context ID: 1 (Accepted)
Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Accepted Transfer Syntax: =LittleEndianImplicit
Context ID: 3 (Accepted)
Abstract Syntax: =MOVEPatientRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Accepted Transfer Syntax: =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Association Accepted (Max Send PDV: 16372)
================================
Sending query
Move SCU RQ: MsgID 1
Request:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT] # 8, 1 QueryRetrieveLevel
(0010,0020) LO [7] # 2, 1 PatientID
DIMSE Command To Send:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0000,0000) UL 0 # 4, 1 CommandGroupLength
(0000,0002) UI =MOVEPatientRootQueryRetrieveInformationModel # 28, 1 AffectedSOPClassUID
(0000,0100) US 33 # 2, 1 CommandField
(0000,0110) US 1 # 2, 1 MessageID
(0000,0600) AE [MOVESCU] # 8, 1 MoveDestination
(0000,0700) US 0 # 2, 1 Priority
(0000,0800) US 1 # 2, 1 DataSetType
DIMSE sendDcmDataset: sending 104 bytes
DIMSE sendDcmDataset: sending 26 bytes
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (128 bytes), presID=3
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =MOVEPatientRootQueryRetrieveInformationModel # 28, 1 AffectedSOPClassUID
(0000,0100) US 32801 # 2, 1 CommandField
(0000,0120) US 1 # 2, 1 MessageIDBeingRespondedTo
(0000,0800) US 257 # 2, 1 DataSetType
(0000,0900) US 49157 # 2, 1 Status
(0000,1020) US 0 # 2, 1 NumberOfRemainingSuboperations
(0000,1021) US 0 # 2, 1 NumberOfCompletedSuboperations
(0000,1022) US 0 # 2, 1 NumberOfFailedSuboperations
(0000,1023) US 0 # 2, 1 NumberOfWarningSuboperations
C-Move RSP: MsgID: 1 [Status=Failed: UnableToProcess]
AffectedSOPClassUID: =MOVEPatientRootQueryRetrieveInformationModel
Data Set: Not Present
NumberOfRemainingSubOperations: 0
NumberOfCompletedSubOperations: 0
NumberOfFailedSubOperations: 0
NumberOfWarningSubOperations: 0
Releasing Association

but can not get dicom file from dicom server to local pc?what is wrong?

i run ConQuest DICOM server version 1.4.9a as dicom server,


in server status show
[CONQUESTSRV1]
[CONQUESTSRV1] UPACS THREAD 23: STARTED AT: Mon Nov 14 11:12:34 2005
[CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
[CONQUESTSRV1] Calling Application Title : "MOVESCU "
[CONQUESTSRV1] Called Application Title : "ANY-SCP "
[CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1"
[CONQUESTSRV1] Number of Proposed Presentation Contexts: 2
[CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.1"
[CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.1.2"
[CONQUESTSRV1] Server Command := 0021
[CONQUESTSRV1] C-Move Destination: "MOVESCU "
[CONQUESTSRV1] (QualifyOn) (anonymous) IP:MOVESCU, PORT:104
[CONQUESTSRV1] MyPatientRootRetrieveGeneric :: SearchOn
[CONQUESTSRV1] Query On Image
[CONQUESTSRV1] Issue Query on Columns: DICOMImages.SOPClassUI, DICOMImages.SOPInstanc, DICOMStudies.PatientID,DICOMImages.ObjectFile,DICOMImages.DeviceName
[CONQUESTSRV1] Values: DICOMStudies.PatientID = '7' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
[CONQUESTSRV1] Tables: DICOMImages, DICOMSeries, DICOMStudies
[CONQUESTSRV1] Records = 1
[CONQUESTSRV1] Number of images to send: 1
[CONQUESTSRV1] Host 'MOVESCU' did not accept the connection
[CONQUESTSRV1] C-Move (PatientRoot)
[CONQUESTSRV1] UPACS THREAD 23: ENDED AT: Mon Nov 14 11:12:37 2005
[CONQUESTSRV1] UPACS THREAD 23: TOTAL RUNNING TIME: 3 SECONDS


what is wrong?
i run
enjoy program

Thomas Wilkens
DCMTK Developer
Posts: 117
Joined: Tue, 2004-11-02, 17:21
Location: Oldenburg, Germany
Contact:

#2 Post by Thomas Wilkens »

Maybe this topic viewtopic.php?t=527 answers your question.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest