Movescu.exe not copying images

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
amunaaser
Posts: 40
Joined: Thu, 2020-03-26, 10:29

Movescu.exe not copying images

#1 Post by amunaaser »

Hi!

I am having trouble with movescu.exe copying images from some DICOM-archives. The command works fine with one archive but not with other ones. What could possibly be the reason?! Any idea?

The command looks like this:
movescu.exe -aet MatlabTest -aec SUSKFLQC1 -aem MatlabTest -k 0008,0052=IMAGE -k 0020,000D=1.3.51.0.1.1.172.16.20.234.78710712.79430651 -k 0010,0020=191212121212 -k 0008,0018 -v suskfl-qc1.sahlgrenska.se 104 >> .\Log\kopiera.txt

The response from movescu.exe:
Requesting Association
Association Accepted (Max Send PDV: 16372)
================================
Sending query
Move SCU RQ: MsgID 1
Request:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0018) UI (no value available) # 0, 0 SOPInstanceUID
(0008,0052) CS [IMAGE] # 6, 1 QueryRetrieveLevel
(0010,0020) LO [191212121212] # 12, 1 PatientID
(0020,000d) UI [1.3.51.0.1.1.172.16.20.234.78710712.79430651] # 44, 1 StudyInstanceUID
C-Move RSP: MsgID: 1 [Status=Success]
AffectedSOPClassUID: =MOVEPatientRootQueryRetrieveInformationModel
Data Set: Not Present
Releasing Association
Requesting Association
Association Accepted (Max Send PDV: 65524)

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Movescu.exe not copying images

#2 Post by Michael Onken »

Hi,

the connection handling the MOVE is just for requesting the images, and for acknowleding whether sending the images worked.

The images itself are transferred on a second, separate connection to the system configured at the PACS as AE Title MatlabTest. On that system, a DICOM Storage SCP is receiving the images.

Best regards,
Michael

amunaaser
Posts: 40
Joined: Thu, 2020-03-26, 10:29

Re: Movescu.exe not copying images

#3 Post by amunaaser »

Hi Michael!

Thanks for the quick reply!

Do you mean, I need to check the logs on the remote PACS in order to find the reason, why the images are not sent? Could the reason be that MatlabTest on the remote PACS is not appropriatly configured? In that case, what could be the issue?

Kind regards
Nasser

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Movescu.exe not copying images

#4 Post by Michael Onken »

Hi,

first of all: Every system (AE Title, e.g. MatlabTest) that should be able to receive images from the PACS must first be configured in the PACS, usually by putting at least IP address (or host name) and TCP port there so the PACS knows how to connect to that AE Title.

If you want to set up MatlabTest yourself, you first configure your desired IP and port for MatlabTest yourself (e.g. your computer) and then can use movescu's option +P <portnum> to make movescu also listen for incoming images on port configured at the PACS. Alternatively, open a second command line window and start storescp or dcmrecv as separate storage SCPs (e.g. dcmrecv <port>).

Best regards,
Michael

amunaaser
Posts: 40
Joined: Thu, 2020-03-26, 10:29

Re: Movescu.exe not copying images

#5 Post by amunaaser »

Hi again!

I can receive images from suskfl-qc1.sahlgrenska.se to my computer (MatlabTest), when they are directly/manually sent from suskfl-qc1 (it is a Centricity Radiology RA600).
On MatlabTest, a DICOM archive is running as follows:
storescp.exe -v -uf +B -fe .dcm -aet MatlabTest -od C:\DicomDownload\ 104 | tee -a .\Log\Lokalt_DICOM-arkiv.txt

The problem begins, when I try to transfer an image from suskfl-qc1 to MatlabTest, invoked by my application on MatlabTest. As I mentioned before, I can do this from another PACS without any problems at all.

Kind regards
Nasser

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Movescu.exe not copying images

#6 Post by J. Riesmeier »

Your query (first posting) is invalid: both Series Instance UID and SOP Instance UID (empty value) are missing. These attributes are mandatory when retrieving on IMAGE level.

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Movescu.exe not copying images

#7 Post by Michael Onken »

Or set 0008,0052=STUDY to receive the whole study.

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Movescu.exe not copying images

#8 Post by J. Riesmeier »

... and remove "-k 0008,0018" (SOP Instance UID) then from your command line.

amunaaser
Posts: 40
Joined: Thu, 2020-03-26, 10:29

Re: Movescu.exe not copying images

#9 Post by amunaaser »

Thanks a lot! It works much better now.
However, I still wonder, how this did work with our main PACS!

Have a nice day!
/Nasser

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Movescu.exe not copying images

#10 Post by J. Riesmeier »

Your "main PACS" seems to be more "tolerant", or let's say less DICOM compliant ;-)

Post Reply

Who is online

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