Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Karl's version of Parkinson's Law: Work expands to exceed the time alloted it.


devel / comp.protocols.dicom / movescu not retrieving files

SubjectAuthor
* movescu not retrieving filesDomenico Aquino
`* Re: movescu not retrieving filesJörg Riesmeier
 `- Re: movescu not retrieving filesMarkus Sabin

1
movescu not retrieving files

<ebaffff5-5318-485e-8d0f-ad49fe78cb91n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=352&group=comp.protocols.dicom#352

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:600c:2e54:b0:380:d3c8:ef33 with SMTP id q20-20020a05600c2e5400b00380d3c8ef33mr1965314wmf.69.1645528651706;
Tue, 22 Feb 2022 03:17:31 -0800 (PST)
X-Received: by 2002:a05:622a:508:b0:2dd:2641:5c33 with SMTP id
l8-20020a05622a050800b002dd26415c33mr21798917qtx.453.1645528651226; Tue, 22
Feb 2022 03:17:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Tue, 22 Feb 2022 03:17:31 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=193.204.88.253; posting-account=-wqTUQoAAADGMxzLA0xphnuA8mub7xoa
NNTP-Posting-Host: 193.204.88.253
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ebaffff5-5318-485e-8d0f-ad49fe78cb91n@googlegroups.com>
Subject: movescu not retrieving files
From: domenico.aquino@gmail.com (Domenico Aquino)
Injection-Date: Tue, 22 Feb 2022 11:17:31 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Domenico Aquino - Tue, 22 Feb 2022 11:17 UTC

Hi all,

I'm new to using findscu / movescu. I would simply like to automate the retrieval of DICOM images from PACS. I have tried the following commands and although they give me correct answers, no files are transferred. What do you think the problem could be?
Thank you

findscu -S -k 0008,0052="STUDY" -k "PatientName=XXX" -k "AcquisitionDate=20190330" --aetitle "My_Mac_AETITLE" --call "PACS_AETITLE" PACS_IP PACS_port > cfind.result

the file find.result is empty even if I get interactively the results

movescu -S +P 4096 -k 0008,0052=IMAGE -k 0008,0052="STUDY" -k "PatientName=XXX" -k "AcquisitionDate=20190330" -aet "My_Mac_AETITLE" -aec "PACS_AETITLE" -v PACS_IP PACS_port -od "/Volumes/Dati/folder/"

Re: movescu not retrieving files

<dfd1631e-7997-4166-86bb-22f59309c9den@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=354&group=comp.protocols.dicom#354

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:600c:35c4:b0:37c:debf:6f2d with SMTP id r4-20020a05600c35c400b0037cdebf6f2dmr4779741wmq.142.1645564805020;
Tue, 22 Feb 2022 13:20:05 -0800 (PST)
X-Received: by 2002:a05:620a:228a:b0:62c:da58:ea18 with SMTP id
o10-20020a05620a228a00b0062cda58ea18mr13886399qkh.563.1645564804236; Tue, 22
Feb 2022 13:20:04 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Tue, 22 Feb 2022 13:20:04 -0800 (PST)
In-Reply-To: <ebaffff5-5318-485e-8d0f-ad49fe78cb91n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=85.16.185.75; posting-account=P9OsJAoAAABf_UoLgO-4Y0jtck08GqVx
NNTP-Posting-Host: 85.16.185.75
References: <ebaffff5-5318-485e-8d0f-ad49fe78cb91n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dfd1631e-7997-4166-86bb-22f59309c9den@googlegroups.com>
Subject: Re: movescu not retrieving files
From: dicom@jriesmeier.com (Jörg Riesmeier)
Injection-Date: Tue, 22 Feb 2022 21:20:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jörg Riesmeier - Tue, 22 Feb 2022 21:20 UTC

Hi Domenico,

> findscu -S -k 0008,0052="STUDY" -k "PatientName=XXX" -k "AcquisitionDate=20190330" --aetitle "My_Mac_AETITLE" --call "PACS_AETITLE" PACS_IP PACS_port > cfind.result
> the file find.result is empty even if I get interactively the results

by default, findscu uses stderr for the log output and not stdout. So depending on the shell you use, you have to specify another syntax for redirecting stderr, e.g. "2>" instead of ">" for the bash.
Furthermore, newer versions of the findscu do not show the responses if the INFO logger is not enabled (option -v or -d) or the output is not enabled explicitly (option +sr).

Since you want to automate the retrieval, you might want to try one one of the --extract options:

-X --extract extract responses to DICOM file (rsp0001.dcm...)
-Xx --extract-xml extract responses to XML file (rsp0001.xml....)
-Xs --extract-xml-single [f]ilename: string
extract all responses to given XML file f

Regards,
Jörg

PS: For further DCMTK-related questions, you should use the public discussion forum at https://forum.dcmtk.org/.

Re: movescu not retrieving files

<a73e4550-a0e2-47a0-b4f7-c0c3aa28146fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=355&group=comp.protocols.dicom#355

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:600c:1ca2:b0:37b:db49:254 with SMTP id k34-20020a05600c1ca200b0037bdb490254mr7226743wms.171.1645618145124;
Wed, 23 Feb 2022 04:09:05 -0800 (PST)
X-Received: by 2002:a0c:e909:0:b0:432:5ab3:60b1 with SMTP id
a9-20020a0ce909000000b004325ab360b1mr3672477qvo.76.1645618144600; Wed, 23 Feb
2022 04:09:04 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Wed, 23 Feb 2022 04:09:04 -0800 (PST)
In-Reply-To: <dfd1631e-7997-4166-86bb-22f59309c9den@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=212.204.96.130; posting-account=FpWjmwoAAADouxZodjPwb9TZUXzY1wOz
NNTP-Posting-Host: 212.204.96.130
References: <ebaffff5-5318-485e-8d0f-ad49fe78cb91n@googlegroups.com> <dfd1631e-7997-4166-86bb-22f59309c9den@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a73e4550-a0e2-47a0-b4f7-c0c3aa28146fn@googlegroups.com>
Subject: Re: movescu not retrieving files
From: markussabin@gmail.com (Markus Sabin)
Injection-Date: Wed, 23 Feb 2022 12:09:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Markus Sabin - Wed, 23 Feb 2022 12:09 UTC

Does the movescu really report a successful C-MOVE? Or just "some progress"?
Typically if query succeeds but move does not, it is a configuration issue.
The MOVE-SCP establishes a C-STORE connection as a Storage SCU to the application specified by the Move Destination AET (-aet / -aem). So the SCP (PACS) needs a configuration to resolve "My_Mac_AETITLE" into IP address and TCP port.

Apart from that, your move request will be malformed the way that you put it for several reasons. Specifying the query/retrieve level twice (STUDY/IMAGE) is contradictory by itself. Furthermore, in StudyRoot Q/R MOVE it is required to specify a Study Instance UID as a matching key (and nothing else if a STUDY-move is intended).
See PS3.4, Annex C

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor