Brian T Hannan
Brian T Hannan

Reputation: 4005

Running example command for dcmqrscp in dcm4che, what file is not found?

I tried running the example command on Mac from the command line, but it fails to run. I'm wondering what file is not found. My desktop directory does, in fact, exist. Am I missing some configuration or something?

I just downloaded all the dcm4che-5.12.0 code and sample scripts and executed the command from the example when using the --help option.

The example command is what I tried, and is shown in the attached screenshot. I'm not sure what is missing, and it's not exactly clear.

Any guidance will be appreciated, thanks!

enter image description here

Upvotes: 1

Views: 1789

Answers (1)

J. Riesmeier
J. Riesmeier

Reputation: 1702

According to the documentation, you have to provide a file and not a directory name to the --dicomdir option (with two "-" by the way):

--dicomdir <file>                   specify path to a DICOMDIR file of
                                    a DICOM File-set into which
                                    received objects are stored and
                                    from which requested objects are
                                    retrieved

Actually, the example from the documentation reads as follows:

Example: dcmqrscp -b DCMQRSCP:11112 --dicomdir /media/cdrom/DICOMDIR

=> Starts server listening on port 11112, accepting association requests
with DCMQRSCP as called AE title.

Upvotes: 6

Related Questions