Problems with "movescu" command

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
dhaval
Posts: 7
Joined: Wed, 2005-02-02, 20:15

Problems with "movescu" command

#1 Post by dhaval »

Hi to everyone !!,
I am tring to use the movescu command on my local machine..
i am running imagectn on port 10001
and i give the following options for my movescu command

movescu -v -P -d +P 10000 -aec COMMON -k 0008,0052="PATIENT" -k 0010,0020="*" 152.19.105.18 10001

COMMON: The AET of my local store
152.19.105.18: The IP of my PC

It seems to
the log returned by the command movescu (-d option was used) is:

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: COMMON
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
Association Accepted
=========================
Sending Query
Move SCU RQ: MsgID 1
Request:
#Dicom -Data-set
--------------Hangs------------------------------
And then it doesn't return to the command prompt, may be waiting for something. At the server side nothing happens.
#Dicom -Data-set

Requesting Sub-Association
----------------Hangs-----------------------------


This shows that outgoing associations from my movescu application work but it gets stuck for incoming associations. i have tried to change the ports by +P option but still keep getting the same problem.

My imagectn.cfg file is


# Global Configuration Parameters
NetworkType = "tcp"
NetworkTCPPort = 10001
MaxPDUSize = 16384
MaxAssociations = 16
Display = "no"

HostTable BEGIN
#
dhaval = (DHAVAL1, 152.19.105.18, 10001 )
dhaval1 = (COMMMON, 152.19.105.18, 10001 )
movescu = (MOVESCU, 152.19.105.18, 10001)

service = movescu,dhaval1,dhaval

#
HostTable END

VendorTable BEGIN
#

VendorTable END

AETable BEGIN
#
# Each row of the AETable defines an Application Entities (AE) Title known
# to the imagectn application. Each AE Title represents a separate
# image database located in the specified file system directory (storage area).
# Each AE Title has read/write, quota and peer access restrictions.
#
# Entry Format: AETitle StorageArea Access Quota Peers
# AccessFormat: R | RW | W
# Quota Format: ( maxStudies, maxBytesPerStudy )
# Peers Format: ( Hostname, AETitle, Portnumber ), ... |
# Entry in HostTable |
# ANY
#
COMMON F:\Dicom\db\COMMON RW (200, 5024mb) service

AETable END





Any suggestion will be of great help, Hoping for a quick reply.
thanks in advance

Dhaval

veda
Posts: 12
Joined: Fri, 2005-05-13, 05:54
Location: Hyderabad

#2 Post by veda »

make the change in PORT in imagectn.cfg file
movescu = (MOVESCU, 152.19.105.18, 10000)

ur sub assosciation is through the port 10000...

imagectn should look at this port for sub-assosc to transfer images..

and also it would be better if u change ur command line args to MOVESCU
like...

movescu -v -P -d +P 10000 -aet MOVESCU -aec COMMON -aem MOVESCU -k 0008,0052="PATIENT" -k 0010,0020="*" 152.19.105.18 10001

To retrive particular patient's images specify patient's ID...


I did all of this in the same way and it worked for me...
and hope for u too..

That's all...

Ram..
________
extreme vaporizer
________
buy vaporizers

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest