Retrieving dicom pictures with weasis via cli

Skip to first unread message

Jörg Meiforth

May 9, 2024, 9:52:56 AMMay 9
to dcm4che
this is my first post here, so first of all greetings and thanks to all, who help and discuss here.

I am running a older PACS-server which understands C-MOVE. I installed weasis and configured the dicom nodes. I am able to use the GUI to search the pacs-server, retrieve the files and display them.

My question is: After searching the server, I get a result list, where I check the studies I need and push the button "import and close". Then I think weasis internally does something like "get the dicom files with study-id 342 from server xy and show them". 

Is it possible to achive this with a command line argument (without the pacs-web-connector)? Like "weasis --AEServer ARCHIV --StudyID 342 --show --..." (surely it will be more complex, but that would be no problem).

I have all the needed data ready (AE-Titels, Ports, StudyID, Date, ...), so I don't need the search function of weasis (in most cases), only the retrieve and show part.

If someone could hint me, if this is possible and where I have to look for or how to construct the cli-argument I would be thankful (I searched the weasis documentation - but I didn't find something, where to start and if it is possible - or I didn't understand it.).

Thanks in advance


Nicolas Roduit

May 13, 2024, 4:56:11 PMMay 13
to dcm4che
No, command protocols are web protocols only (url, wado or dicomweb).

C-MOVE isn't really suitable for this, as many implementations require the viewer's AETitle to be known, and the server can also limit the caller's lP. 

Jörg Meiforth

May 23, 2024, 3:22:59 PMMay 23
Sorry for my late reply, have a lot of work to do.

Do I understand your answer correctly, that Weasis retrieves the images internally with C-MOVE but the cli arguments are only for the web protocols (that my server does not understand). 

So I could/should/would need to create a local SCU, retrieve the images with a script (i.e. from the pydicom-Package) and then open the files with a Weasis cli command locally.



You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit
To unsubscribe from this group and all its topics, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages