Movescu.exe not copying images
Moderator: Moderator Team
Movescu.exe not copying images
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)
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)
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Movescu.exe not copying images
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
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
Re: Movescu.exe not copying images
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
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
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Movescu.exe not copying images
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
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
Re: Movescu.exe not copying images
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
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
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Movescu.exe not copying images
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.
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Movescu.exe not copying images
Or set 0008,0052=STUDY to receive the whole study.
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Movescu.exe not copying images
... and remove "-k 0008,0018" (SOP Instance UID) then from your command line.
Re: Movescu.exe not copying images
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
However, I still wonder, how this did work with our main PACS!
Have a nice day!
/Nasser
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Movescu.exe not copying images
Your "main PACS" seems to be more "tolerant", or let's say less DICOM compliant
Who is online
Users browsing this forum: Ahrefs [Bot], Baidu [Spider], Google [Bot] and 1 guest