<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Federico,
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 20 Feb 2017, at 17:59 , Federico M. Bertalot <<a href="mailto:federicobertalot@cnea.gov.ar" class="">federicobertalot@cnea.gov.ar</a>> wrote:</div>
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">I am using NeXus format for my output files in mcstas, and it works fine. But now i have added some divergence monitors to my instrument and found this warning:</p>
<p class=""><i class="">Warning: could not open DataSet data 'Divergence monitor' (NeXus)</i><i class=""><br class="">
</i><i class="">Warning: could not open DataSet errors 'Divergence monitor' (NeXus)</i><i class=""><br class="">
</i><i class="">Warning: could not open DataSet ncount 'Divergence monitor' (NeXus)</i></p>
<p class=""><i class=""><br class="">
</i>In fact, the resulting file has only the fields "acquisition_mode" and "distance" fields for the divergence monitor.
<br class="">
</p>
<p class="">Do you know why? Is there some way to solve it?</p>
</div>
</div>
</blockquote>
</div>
<div>My guess is that you are using Divergence_monitor.comp with filename=“Divergence monitor” - i.e. including a space. My guess is that all should work properly if you use a filename without spaces.</div>
<div><br class="">
</div>
<div>BUT: </div>
<div>To give you better advice I will need an archive (zip/tar.gz or equivalent) including:</div>
<div><br class="">
</div>
<div>* Your instrment file</div>
<div>* The generated c-code</div>
<div>* The output dataset which including the failure</div>
<div><br class="">
</div>
<div>It would also help to know which version of McStas you are running on which operating system - and what version of NeXus and HDF you are using.</div>
<div><br class="">
</div>
<div>- Then I have a chance of reproducing the issue. :-)</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div>Best,</div>
<div><br class="">
</div>
<div>Peter Willendrup</div>
<div><br class="">
</div>
</div>
<br class="">
<br class="">
<div class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<table border="0" cellspacing="0" cellpadding="0" width="400px" style="font-family: Arial; font-size: 8pt; color: black; border-collapse: collapse; border-spacing: 2px;" class="">
<tbody class="">
<tr class="">
<td width="400px" colspan="2" valign="top" style="font-weight: bold; font-size: 8pt; margin-bottom: 0px; font-family: Arial;" class="">
Peter Kjær Willendrup</td>
</tr>
<tr class="">
<td width="400px" colspan="2" valign="top" style="color: rgb(155, 155, 155); font-size: 8pt; margin-bottom: 0px; font-family: Arial;" class="">
Senior Research Engineer, Special Advisor</td>
</tr>
<tr class="">
<td width="400px" colspan="2" valign="top" style="font-size: 8pt; margin-bottom: 0px; font-family: Arial;" class="">
</td>
</tr>
<tr class="">
<td width="400px" colspan="2" valign="top" style="font-size: 8pt; margin-bottom: 0px; font-family: Arial; padding-bottom: 5px;" class="">
DTU Physics</td>
</tr>
</tbody>
</table>
</span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><br class="Apple-interchange-newline">
<span><img apple-inline="yes" id="82075924-8CE7-41B2-8B6E-A0B8586A7EE3" src="cid:image001.gif@01CCCAF1.5E6331F0" class=""></span><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px;"><br class="Apple-interchange-newline">
<br class="">
</span></span></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; font-size: 15px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300pt; border-collapse: collapse; position: static; z-index: auto;">
<tbody class="">
<tr class="">
<td width="357" valign="top" style="width: 267.5pt; padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Technical University of Denmark<o:p class=""></o:p></span></b></div>
</td>
<td width="43" rowspan="8" valign="top" style="width: 32.5pt; padding: 0cm;" class="">
<br class="">
</td>
</tr>
</tbody>
</table>
</span></span></span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><br class="Apple-interchange-newline">
<span><img apple-inline="yes" id="55DBA06B-0B0A-4B2C-B46D-0B0BED0FAAAE" src="cid:image002.gif@01CCCAF1.5E6331F0" class=""></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; border-collapse: separate;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif;">
<div class=""><br class="Apple-interchange-newline">
<br class="">
</div>
</span></span></span></span></span></span></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: collapse; font-family: Calibri, sans-serif; font-size: 15px;">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300pt; border-collapse: collapse; position: static; z-index: auto;">
<tbody class="">
<tr class="">
<td width="400" colspan="2" valign="top" style="width: 300pt; padding: 0cm 0cm 3.75pt;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300pt; border-collapse: collapse; position: static; z-index: auto;">
<tbody class="">
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Department o</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125);" class="">f</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class=""> Physics<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Fysikvej</span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Building 307<o:p class=""></o:p></span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">DK-2800 Kongens Lyngby<o:p class=""></o:p></span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Direct +45 2125 4612<o:p class=""></o:p></span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Mobil +45 2125 4612<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Fax +45 4593 2399<o:p class=""></o:p></span></div>
</td>
</tr>
</tbody>
</table>
</span></div>
</td>
</tr>
</tbody>
</table>
</span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; border-collapse: separate;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse;"><a href="mailto:pkwi@fysik.dtu.dk" class="">pkwi@fysik.dtu.dk</a></span></span></span></span></span></span>
</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></div>
<br class="">
</body>
</html>