Dear dcmtkers,
I am trying to use dcmqrscp as a server, and I set the dcmqrscp.cfg file as following:
---------------------------------------------------------------------------------------
NetworkTCPPort = 5678
MaxPDUSize = 16384
MaxAssociations = 16
HostTable BEGIN
query = (FINDSCU, localhost, 5678)
acmes = query
HostTable END
VendorTable BEGIN
"BCompany" = acmes
VendorTable END
AETable BEGIN
COMMON D:\dcmtk\common RW (200, 1024mb) ANY
AETable END
-----------------------------------------------------------------------------------
and then I run dcmqrscp as
[localhost %]$ ./dcmqrscp -v -c D:\dcmtk_bin\dcmqrscp.cfg +xs
and run query as
[localhost %]$ ./findscu -v -P 127.0.0.1 5678 -aec COMMON -k 0008,0052=SERIES qry_all.dcm
it works and returns all of the series. HOWEVER, when I change the last line of dcmqrscp.cfg file as
AETable BEGIN
COMMON D:\dcmtk\common RW (200, 1024mb) acmes
AETable END
"ANY"->"acmes" it does not work, and returns
Association Received<asctivate:FINDSCU->COMMON>
Refusing Association <BadAEService>
Does anyone know why this happens?
Thanks a lot!
Best,
Problem on dcmqrscp.cfg setting
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2517
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
According to the output ...
... the hostname of the peer is "asctivate" and not "localhost". So, there's no exact match with the HostTable definition.
Code: Select all
Association Received<asctivate:FINDSCU->COMMON>
I did this as you said, and it works
Second, I don't know why the hostname is "activate"? My computer name is "Mattisme" and I start the dcmqrscp and findscu on the same computer, so I think whether the name is "Mattisme" OR "localhost", why "activate"?
how and where can I find the name of the peer name?
Thanks a lot for your help!
Best
First, I am sorry that it was "activate" not "asctivate", I wrote it wrong in my first post.J. Riesmeier wrote:... the hostname of the peer is "asctivate" and not "localhost". So, there's no exact match with the HostTable definition.
Second, I don't know why the hostname is "activate"? My computer name is "Mattisme" and I start the dcmqrscp and findscu on the same computer, so I think whether the name is "Mattisme" OR "localhost", why "activate"?
how and where can I find the name of the peer name?
Thanks a lot for your help!
Best
Matt
I am sorry for bothering you guys, but I can not figure out how to set the hostname. I am still working on it. How to set the hostname in HostTable?
As I said in my last post, my run server and findscu on the same machine, and my computer name is "Mattisme" why the findscu hostname is "activate"?
How to find the hostname for each peer?
Thanks a lot!
As I said in my last post, my run server and findscu on the same machine, and my computer name is "Mattisme" why the findscu hostname is "activate"?
How to find the hostname for each peer?
Thanks a lot!
Matt
-
- DCMTK Developer
- Posts: 2517
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: Bing [Bot] and 1 guest