Otech Examines: Tools For Testing Dicom Connectivity

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

OTech Examines

Tools for Testing DICOM Connectivity


Taking the Mystery out of DICOM Troubleshooting
By Paul Gihring, consultant, OTech, Inc.

Almost all medical imaging equipment great evolutionary leap in 1992 with the cations and captures selected bits of infor-
made today can be networked together change to modern networking methodol- mation for analysis. An active tool is one
thanks to the DICOM standard. However, ogy. New implementations for DICOM con- which participates in network communica-
getting all this equipment to interoperate nectivity have increased exponentially since tions as the client or server, and creates log
seamlessly has been a major problem. By that time. The comprehensiveness and files for analysis. Each of these tools has
using some simple test tools, and with a complexity of the DICOM standard, and its some advantages in given situations. We
little bit of training, you can go a long way continuing evolution have caused many will look at each of these in turn, describing
towards analyzing and solving the connec- equipment vendors to implement only the how they are used to solve DICOM network-
tivity problems yourself. This article provides most basic of its features. But other ven- ing problems.
some troubleshooting basics, and de-
scribes some of the tools that can be used
for DICOM testing. One low cost DICOM test
tool called OT-DICE will be described in de-
SCANNER Sniffer PACS
tail.

A network sniffer is a
tool which listens in on
DICOM Sniffer
network communica-
tions and captures
selected bits of informa- dors have taken advantage of new features DICOM Sniffers: Powerful but Expensive
tion for analysis. An and have developed new products with en-
hanced interoperability. One result of all this Network sniffers have been around since
active tool is one which
is that clinical users, technical support per- the dawn of the Networking Age. A sniffer
participates in network sonnel and vendors alike find themselves is typically a small computer which is ca-
communications as the trying to solve connectivity issues every time pable of reading packets of information as
client or server, and new DICOM equipment is installed. they are being sent between other systems
creates log files for on the network. Network packets always
Looking at the Options carry source and destination addresses, so
analysis.
by using filtering techniques it is possible to
There are basically two different kinds of test read all packets being sent to and from
tools for DICOM network testing: Sniffers particular devices using the network. As an
The DICOM (Digital Imaging and Commu- and Active Test Tools. A network sniffer is a example, a client and server are exchang-
nications in Medicine) Standard made a tool which listens in on network communi- ing data over a network while a sniffer lis-

Copyright OTech, Inc. Tel: 940.440.9530 Fax: 940.440.9566 sales@otechimg.com


page 2 OTech Examines

to capture all communications between the snoop utilities along with DICOM interpre-
scanner and the PACS. When the connec- tation. Your best bet here is to scan the web
Where can you get a tion is attempted again the sniffer captures and see what’s available.
DICOM sniffer, and what the messages going between the two sys-
will it cost? Network tems, and displays them with DICOM inter-
sniffers of all kinds are pretation. Now it becomes clear that the
PACS cannot accept the data because the Active DICOM Test Tools
available on the market,
image type is not recognized.
but a sniffer which An active test tool is one which participates
interprets DICOM seems A more difficult example would be when a as a client or server in a network connec-
to be a rare beast. set of individual images are being sent, and tion, and logs activity in a file as it carries
the association is cut off before all of the out particular functions. In a DICOM network
images arrive. Who closed the association, the active test tool will function as a Service
and why? A sniffer can watch without inter-
tens in. The sniffer copies all of the packets fering with the connections, and save the
as they are sent between the client and the results for analysis. With some training and
experience you should be able to review OT-DICE is very easy to
server, and streams them onto a disk. The
client and server systems are not aware that the results and determine why the connec- configure and use. The
their conversation is being wiretapped and tion was terminated early. results of DICOM asso-
recorded. ciations are interpreted
Where can you get a DICOM sniffer, and
what will it cost? Network sniffers of all kinds
in plain English and
The packets captured by a sniffer would
make a virtually worthless stream of bits are available on the market, but a sniffer displayed in scrolling
and bytes if the sniffer were not able to in- which interprets DICOM seems to be a rare windows.
terpret the data. For this reason sniffer beast. There seems to be only one com-
manufacturers load their products with pro- mercial product out there so far, but it has
tocol interpreters capable of decoding the a good track record. The product is called
most common network protocols and dis- Observer, and is available from several Class User (SCU) or Service Class Provider
playing the results in a human friendly for- sources. Check out the web site at the end (SCP) as it manages associations and trans-
mat. The DICOM protocol, as defined in the of this article for more information. The price fers data. In the typical scenario where a
DICOM standards, also needs to be de- tag is in the thousands of dollars category, scanner is not able to send data to a PACS,
coded in order to be understood by any- but could be well worth it for professional the active test tool is configured as a DICOM
one other than the few individuals who level troubleshooting. Store SCP to stand in for the PACS in ques-
crunch on DICOM for breakfast. A good tion, and now the user can try sending the
DICOM encoder will spell out in plain lan- Another option, if you are willing to do more same data to the test tool. The test tool
guage all of the association control steps work, is to build your own sniffer software records the association parameters sent
and all of the data elements as connections using DICOM toolkit software available from by the scanner, responds, and accepts the
are made and data is exchanged. DICOM a number of sources. If you work in the UNIX data. The log file from the test tool should
protocol interpreters need to be kept up to world, you can get software, some of it give clues leading to discovery of the prob-
date as new functionality is added to the freeware, which allows you to use UNIX lem.
DICOM standard.

One of the big advantages of DICOM sniff-


ers is that they can be added onto a net-
work to do their work without making any
changes to the systems being investigated.
For example, a DICOM scanner has a set
of images which are ready to be sent to a SCANNER Active PACS
PACS in the same department. The scan- SCU/SCP
ner tries to open an association with the
PACS, but the connection fails, and the
scanner gives the operator a meaningless
error message or no message at all. A
DICOM sniffer is connected and configured Active DICOM Test Tool

Copyright OTech, Inc. Tel: 940.440.9530 Fax: 940.440.9566 sales@otechimg.com


Tools for Testing DICOM Connectivity page 3

If the PACS is suspect in any way, the active played in scrolling windows. allowed during the association negotiation.
test tool can be also configured as a DICOM In the illustration below the user has se-
Store SCU, this time standing in for the scan- The OT-DICE user interface is convenient to lected only 4 different image types which
ner, and will log the results as it attempts to use and very intuitive. All configuration and will be accepted from a DICOM STORE SCU.
connect and send data to the PACS. testing functions are accessed from a main A third configuration page lets the user se-
window with drop down menus and selec- lect from a similar check list of DICOM Trans-
One of the big advantages of using an ac- tor buttons. The user is not required to edit fer Syntaxes which will be allowed for data
tive DICOM test tool is that it provides an configuration files or script files. All DICOM transfer. The OT-DICE test tool gives the user
independent “expert opinion” on controlling configuration parameters can easily be a large number of combinations for testing
a DICOM association and sending or receiv- changed, and take effect without re-start- against another DICOM entity through these
ing data. It takes one of the unknowns out ing the software or re-booting the operat- configuration options. Every time the SCP
of the equation when comparing two ing system. function is started the current configurations
DICOM systems with mismatched imple- are enabled, making for quick and easy
mentations. It can be substituted for each A good example of how OT-DICE uses pop- changes during testing.
of the two systems in turn. It is also pos- up windows for configuration is the local
sible with an active test tool to build up a node (SCP) configuration window shown When the SCP function is enabled, by the
library of known good and bad test images below. Three pages of configuration param- way, OT-DICE will also respond to DICOM
to bounce against other DICOM entities. eters are selected using the tabs. On the
The active DICOM test tool should be general configuration page the user may
configurable such that a variety of associa- set the DICOM Application Entity Title, the
tion parameters can be used with a sys- listening port number, the maximum PDU
tem under test. An example would be to (Protocol Data Unit) size for receiving data,
set up a SCU test tool to send image data and a destination folder for saving the im-
using specific transfer syntaxes, such as Big age data file. The user also has the option
Endian or Little Endian. of saving to disk the data file in the same
transfer syntax that was negotiated for the
Active test tools are relatively inexpensive. DICOM association, or selecting a different
In fact, some testing software is freely avail- syntax.
able from various sites on the Internet. One
newly developed active DICOM test tool will The image types page of the SCP configu-
be described here. This is a product named ration window gives the user control over
“OT-DICE” which until recently was only which of the DICOM Storage Classes will be
available to participants of a DICOM Hands-
On Workshop offered by OTech, Inc.

Image Type Configuration Page


for Local Node (SCP)
OT-DICE: The OTech DICOM
Interoperability Checking Entity

OT-DICE is a software package which runs Verify requests from other nodes on the net-
on Windows 95, 98, 2000, and Windows work. The Verify or ECHO function is a quick
NT/4. The test software makes use of the way to find out if a DICOM application is
TCP/IP connection options installed on your running and is capable of receiving an as-
PC, for example TCP/IP over Ethernet, as- sociation request from other nodes.
suming you have an Ethernet adaptor. The
current version provides the DICOM STORE As a DICOM Storage SCU test tool, OT-DICE
and ECHO services as both an SCU and as is capable of sending image data to other
an SCP. The DICOM QUERY and MOVE ser- nodes. It can also send the DICOM Verify
vices, as well as Storage Commitment and request to other nodes. The SCU configu-
JPEG compression will be added in future ration window is similar the SCP configura-
versions. OT-DICE is very easy to configure General Configuration Page tion we just looked at, but with one added
and use. The results of DICOM associations for Local Node (SCP) step. The main SCU configuration window
are interpreted in plain English and dis- contains a list of all nodes which have been

Copyright OTech, Inc. Tel: 940.440.9530 Fax: 940.440.9566 sales@otechimg.com


page 4 OTech Examines

nications between the OT-DICE and other


systems is displayed in tab selectable win-
dows. All information sent out by the OT-
DICE SCU or SCP is displayed in one win-
dow, while all information received is dis-
played in another window. All of the DICOM
messages are interpreted to make them
easy to understand. Even the image data
is interpreted element by element to show
the values for each data item.

In the following example we see the results


of our test SCU requesting an association
with a remote SCP. In this case we have
selected two different images to send, one
an ultrasound image, and the other an MR
image. The SCU opens the association of-
fering two different DICOM Presentation
Contexts, one for the Ultrasound Multiframe
Storage SOP Class, and the other for the
MR Storage SOP Class. Both Presentation
Main SCU Configuration Window Contexts offer 3 different DICOM Transfer
Syntaxes, as seen in the illustration. If any
of the proposed Presentation Contexts is ac-
configured by the user. When the SCU is Check out the Results cepted by the remote SCP, then the SCU will
used to send data or to send the ECHO to give the Store command, which is seen at
another node, the user selects a node from The results of all DICOM network commu- the bottom of the window, and the selected
this list. The configuration window shown
below provides an easy way to add new
nodes to the list, edit the node configura-
tion details, or delete nodes from the list.

When adding a new node to the list, or


editing an existing node, additional the
dows are presented to the user for enter-
ing all of the required parameters. One con-
figuration page has a checkbox list of trans-
fer syntaxes which will be offered to the re-
mote SCP. This allows the tester to specify
one or more transfer syntaxes.

When OT-DICE is being used as a STORE SCU


test tool, the user first selects a remote SCP
from the nodes list, and then selects data
to send. A “Select Files” button brings up a
browse window, making it easy for the user
to select single or multiple DICOM data files
from the local disk. A “Send” button then
causes OT-DICE to send the association re-
quest to the selected node.

Local Results for Storage SCU

Copyright OTech, Inc. Tel: 940.440.9530 Fax: 940.440.9566 sales@otechimg.com


Tools for Testing DICOM Connectivity page 5

you can see from the results illustrated be-


low, only the MR Image Presentation Con-
text was accepted by the SCP. The message
returned by the SCP indicates that the
Multiframe Ultrasound SOP Class is not sup-
ported. As a result, the SCP sent only the
MR image dataset. The results of the Store
command are seen at the bottom of the
display, showing that the MR image dataset
was received successfully.

The example we have just looked at shows


how OT-DICE is used as an active SCU test
tool. Each step of the DICOM association
from the request to the final result are dis-
played in windows, and may be stored on
the local disk for later review. The Log tab
gives a similar display of the higher level
results of the SCU and SCP processes as
they are started and terminated by OT-DICE.

When the Echo SCU and Store SCP func-


tions are used, they also produce a detailed
results listings in the scroll windows.
Beginning of the Dataset

data is sent.

A scroll bar, which is not shown in this illus-


tration, is then used to view the remainder
of the local results, which in this case is the
DICOM dataset which was transmitted to
the SCP. The beginning of the dataset is
shown in the next illustration. As you can
see, every attribute is interpreted and dis-

The reality is that some


equipment manufactur-
ers do a much better job
of implementing DICOM
than others.

played in the sequence it was sent.

When the Remote results tab is selected the


user sees the responses which came back
from the remote SCP. In this example two
different Presentation Contexts were offered
by the SCU as it opened the association. As
Remote Results for Storage SCU

Copyright OTech, Inc. Tel: 940.440.9530 Fax: 940.440.9566 sales@otechimg.com


page 6 OTech Examines

forward it, and possibly perform some num- Experience is the Key
ber crunching with it. Your approach to test-
When it comes to ing should be organized along the same When it comes to troubleshooting DICOM
troubleshooting DICOM layers. interoperability, there is no substitute for ex-
interoperability, there is perience. Even with the best tools possible
no substitute for experi- If we start at the TCP/IP layer we can quickly you need to get some experience looking
determine if a connection is possible be- at DICOM connectivity details to be most
ence. Even with the best
tween two DICOM entities. If the TCP ping successful. With any tools the best thing to
tools possible you need command from one end gets a response do is get experience working with DICOM
to get some experience from the other end, then the lower two lay- equipment that is working properly and ex-
looking at DICOM con- ers described above should be able to sup- periment with many different combinations
nectivity details to be port DICOM connections. At the DICOM pro- until you are sure of yourself. With the OT-
tocol level it is almost necessary to have test DICE tool you can run the SCP and the SCU
most successful.
tools like OT-DICE to see what is going on. functions simultaneously, which means you
At this level we can start with the DICOM can send data to yourself and review the
ECHO function to see if we get a response. results of both sides of the connection on
We have seen from the OT-DICE example the same PC.
DICOM Dataset Files that the Store functionality is relatively
straightforward to analyze. For functional- Even without spending any money on test
When the OT-DICE Storage SCP receives ity like DICOM Print, which is not supported tools you can start by looking at DICOM data
DICOM data from another entity, is saves by OT-DICE it may be necessary to use a files and making simple tests. Some of the
the dataset in a file format known as a “Part DICOM sniffer. free DICOM viewers available on the Internet
10” file, which gets its name from Part 10 of have SCU and SCP capability, and some can
the DICOM Standard. A Part 10 file is es- It is always a good idea to check out the create DICOM dump files from datasets. You
sentially a copy of the data stream as trans- DICOM conformance statements for equip- can also find some free software for build-
ferred using the DICOM Storage network ment before spending too much time di- ing your own diagnostic tools if you want to
protocol. Dataset files in this format are agnosing network problems. By comparing do the programming yourself. But if you are
commonly exchanged on compact disks, the DICOM services, image types, and really serious about doing DICOM trouble-
and can often be found on manufacturer’s transfer syntaxes supported you may find shooting it would pay to purchase reliable
web sites as sample data. Any Part 10 file that connectivity is not possible, or that test tools and possibly invest in some train-
can be selected and sent using the OT-DICE some configuration changes are required. ing in how to use it.
SCU function as long as it does not contain
any serious errors. When data is received Some of the most difficult problems to solve Downloads
by the OT-DICE SCP it is saved in a Part 10 occur at the application level. Some people
have said that there are a lot of different Download OT-DICE for a
format on the local hard drive.
interpretations of DICOM possible. This is a 30-day evaluation:
misleading statement. The reality is that http://www.otechimg.com/
some equipment manufacturers do a much
How to Approach DICOM Testing better job of implementing DICOM than oth-
ers. Even when DICOM connectivity is work-
The first thing to recognize is that there are
several levels to DICOM networking. At the
ing properly, it is not uncommon to find that
clinical applications are having problems Find more news and informa-
lowest level we have cables, routers, gate- because image attributes are missing or tion about DICOM, PACS, Tele-
ways, satellite dishes, and all the other com- possibly encoded incorrectly. When one radiology, Connectivity (DICOM,
ponents that are used for general network- manufacturer tells his customers that an- HL7) and regulatory topics
ing. At a higher level we have TCP/IP, a uni- other manufacturer’s DICOM implementa- related to PACS in OTech Inc.’s
versal networking protocol which can be tion is not providing the correct data, you bimonthly publication, OTech
shared by DICOM and many other net- may find yourself in the position where you News.
worked applications. The next level up is need to test the two implementations and
the unique DICOM protocols and data for- look at the DICOM data being sent. An ac- Subscriptions are $49/year ($59
mats as defined in the standards. The top tive test tool like OT-DICE can be very help-
outside the US). Contact
level consists of applications used by clini- ful for making an independent evaluation.
cians and technologists to acquire patient
sales@otech.com for a free trial
data, and to view it, save it, find it again, copy.

Copyright OTech, Inc. Tel: 940.440.9530 Fax: 940.440.9566 sales@otechimg.com

You might also like