How connect with PACS Jboss/WADOserver

60 views
Skip to first unread message

KIRA KUCHIKI CLOVERFIELD

unread,
Jul 23, 2011, 4:42:35 PM7/23/11
to ruby-dicom
Hi, the question here is for some know connect Ruby Dicom with the
PACS/Jboss-Wado
my conection in C# is:
AETITLE='MYPACS'
HOSTNAME='localhost'
PORT:11112
WADOPORT:8080
PROTOCOLDCM=DICOM

en ruby dicom how connect with this values?

I try DICOM::DClient.new("192.168.1.87", 8080,
{:ae=>'PACSINMOVIL',:host_ae=>'localhost'}) this is based un the rdocs
for gems page., but the browser send this msg

Conection Failure #<DICOM::DClient:0x1040ebf50>

Chris

unread,
Jul 23, 2011, 5:41:30 PM7/23/11
to ruby-...@googlegroups.com
Hello Kira

You should be able to use ruby-dicom for client-side communication with a PACS.

The first step is to create a DClient instance, with the IP address of the server you want to connect to and the port number to use. Example:
node = DICOM::DClient.new("10.1.25.200", 104)
The you can use this node for either query or sending/moving files. Example:
node.send("my_file.dcm")

If there is a problem with the DICOM communication, ruby-dicom will print out a log and it should be able to give an indication of what is going wrong.

However, in your case it seems there is a problem with the connection in itself. Thus I think there is no DICOM communication at all, and you have a general network problem: Perhaps you have mistyped your server IP address or specified the wrong port. It's hard for me to say what exactly is the cause.

My suggestion is double check that the server address is correct and try with another port, e.g. 11112 instead of 8080. Also it seems strange to have the AE title of the PACS being 'localhost'.

For documentation on the DClient class refer to:

Best regards,
Chris
Reply all
Reply to author
Forward
0 new messages