RadiAnt DICOM Viewer - Discussion Forum
Options.xml

Hi, I´ve tried many times to change windowing settings at Options.xml, making my own customization, it´s saved but Radiant didn´t change. How can i do it properly?

Tks
Raphael


ps. Version 3.9.10.14053 BETA 64-bit




Dec 4, 2016 03:05 PM
by Raphael
Can you paste the xml from your options file here?


Dec 6, 2016 09:54 PM
by RadiAnt
<?xml version="1.0" encoding="utf-8" ?>
<options>

<zoom>
<toregion>0</toregion> <!-- zoom-to-region mode (0 - disabled, 1 - enabled) -->
<offcenter>0</offcenter> <!-- the image region pointed by mouse cursor (when zooming is started) retains its position on screen (0 - disabled, 1 - enabled) -->
</zoom>

<browse>
<scrollwrap>1</scrollwrap> <!-- "endless" scrolling (0 - disabled, 1 - enabled) -->
</browse>

<window>
<presets>
<!-- <i m="CT" i="2" n="Cerebro" ww="70" wl="30"/>
<!-- <i m="CT" i="3" n="Sangue" ww="180" wl="80"/>
<!-- <i m="CT" i="4" n="AVC" ww="40" wl="40"/>
<!-- <i m="CT" i="5" n="Moles" ww="400" wl="50"/>
<!-- <i m="CT" i="6" n="Osso" ww="2000" wl="600"/>
<!-- <i m="CT" i="7" n="Pulmão" ww="1500" wl="-400"/>
<!-- <i m="CT" i="8" n="Preset 2" ww="32" wl="30"/>
</presets>
<nmneg>0</nmneg> <!-- show NM (nuclear medicine) images in negative (0 - disabled, 1 - enabled) -->
</window>

<synchronization>
<enabled>1</enabled> <!-- automatic synchronization (0 - disabled, 1 - enabled) -->
<slice>1</slice> <!-- synchronize slice location (0 - disabled, 1 - enabled) -->
<zoom>1</zoom> <!-- synchronize zoom&pan (0 - disabled, 1 - enabled) -->
<window>0</window> <!-- synchronize window settings (0 - disabled, 1 - enabled) -->
</synchronization>

<updates>
<notify>1</notify> <!-- notify about new updates (0 - disabled, 1 - enabled) -->
</updates>

<tools> <!-- tools assigned to mouse buttons (1 - browse series, 2 - zoom, 3 - pan, 4 - change WW/WL, 5 - ROI) -->
<lmb>1</lmb> <!-- left mouse button -->
<mmb>4</mmb> <!-- middle mouse button -->
<rmb>2</rmb> <!-- right mouse button -->
<mw>1</mw> <!-- mouse wheel - valid tools: browse series (1) or zoom (2) -->
</tools>

<vr>
<penscalpel>0</penscalpel> <!-- associate the scalpel tool with pen (0 - disabled, 1 - enabled) -->
</vr>

<cine>
<autorun>1</autorun> <!-- Cine mode is started automatically for XA and US series -->
<fps>10</fps> <!-- default frames-per-second rate for series without predefined FPS -->
</cine>

<loading>
<autoshow>1</autoshow> <!-- mode of showing first image in viewport (0 - user has to click a series to show it, 1 - first scanned image file is shown, 2 - after scanning all files, first series from the preview bar is shown) -->
<ussep>0</ussep> <!-- show separate thumbnails for single frame ultrasound images belonging to the same DICOM series (0 - disabled, 1 - enabled) -->
<desc>0</desc> <!-- study sorting mode (0 - ascending date, 1 - descending date) -->
</loading>

<disabled>
<!-- disabled features and toolbar buttons -->
<!-- <folders/> -->
<!-- <cddvd/> -->
<!-- <pacs/> -->
<!-- <export/> -->
</disabled>

</options>



Dec 7, 2016 12:21 AM
by Raphael
You have to remove the start comment strings "<!--":

<window>
<presets>
<i m="CT" i="2" n="Cerebro" ww="70" wl="30"/>
<i m="CT" i="3" n="Sangue" ww="180" wl="80"/>
<i m="CT" i="4" n="AVC" ww="40" wl="40"/>
<i m="CT" i="5" n="Moles" ww="400" wl="50"/>
<i m="CT" i="6" n="Osso" ww="2000" wl="600"/>
<i m="CT" i="7" n="Pulmão" ww="1500" wl="-400"/>
<i m="CT" i="8" n="Preset 2" ww="32" wl="30"/>
</presets>
<nmneg>0</nmneg> <!-- show NM (nuclear medicine) images in negative (0 - disabled, 1 - enabled) -->
</window>


Dec 7, 2016 10:56 AM
by RadiAnt
I did, but it still doesn´t work.


Dec 7, 2016 10:58 PM
by Raphael
Raphael, we have checked it and it works. Please contact us: http://www.radiantviewer.com/contact.php and we will send you a proper options.xml file.


Dec 13, 2016 02:05 PM
by RadiAnt
How to disable menu bar itens? I tried uncommenting the each line, but that did not seem to work.

<disabled>
<!-- disabled features and toolbar buttons -->
<!-- <folders/> -->
<!-- <cddvd/> -->
<!-- <pacs/> -->
<!-- <export/> -->
</disabled>



Mar 21, 2017 04:07 AM
by Guest
Nevermind, just found out how to do it right! Example:



<disabled>
<!-- disabled features and toolbar buttons -->
<!-- <folders/> -->
<!-- <cddvd/> -->
<!-- <pacs/> -->
<!-- <export/> -->
<folders/>
<export/>
<pacs/>
</disabled>


Mar 21, 2017 04:12 AM
by Guest
I also had trouble with the options.xml and for a while I thought I was going mad.

Remember:
When writing .xml files it is best to avoid special characters as ã, ö, é.
The file will then be ignored.


Aug 27, 2017 12:22 AM
by Henrik B.
If you use special characters, you have to make sure that the options.xml file is saved in UTF-8 format. Otherwise RadiAnt will not read it properly, like you observed.


Aug 29, 2017 10:14 AM
by RadiAnt
Post reply

Author (first name or pseudonym):


Message:


You have to accept cookies to be able to post messages.
Visitors can post messages on the forum without having to register. Please input your first name or pseudonym in the "Author" field. Do not publish any personally identifiable information (PII).

Please ensure you write your posts in English so that our international audience can understand and reply to your message.

The Administrator reserves the right to remove any messages that violate our forum rules; for example, those that are not related to the RadiAnt DICOM Viewer software, published in a language other than English, contravene regulations, etc.