<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><base href="x-msg://110/"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Peter,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Yes I’m using windows. I’m using only 100 neutrons for the tracing. The McStas version I’m using is 2.0. I installed McStas couple of weeks ago and then I installed Octaga today.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Matlab seems to be fine for displaying the 3D trace, but not for Octaga….<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Tony<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Peter Kjær Willendrup [mailto:pkwi@fysik.dtu.dk] <br><b>Sent:</b> Wednesday, June 26, 2013 2:06 PM<br><b>To:</b> Tong, Xin Tony<br><b>Cc:</b> mcstas-users@mcstas.org<br><b>Subject:</b> Re: [mcstas-users] need help on installing VRML for Trace view<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Tony, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Jun 26, 2013, at 15:56 , "Tong, Xin Tony" <<a href="mailto:tongx@ornl.gov">tongx@ornl.gov</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I’m very new to McStas and would appreciate some help on installing VRML. I’ve installed McStas and I can use Matlab to see the Trace view.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>However I found it not as clearer as VRML. Then I tried to select HTML/VRML option. Every time I run, the command window says the following:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>“<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Spawning start to view mcdisplay_commands.wrl<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>The process cannot access the file because it is being used by another process.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Press any key to continue . . .<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>“<o:p></o:p></span></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>This indicates to me that you are using windows, is this true? As far as I know, this is the only system where read-access to files can be blocked by other processes. How many neutron rays are you trying to send to the file? Our experience is that more than 1e3 can cause various problems, what you are seeing could be a side-effect of running with many neutrons.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> I’ve installed Octaga Player, but I don’t know how to link it to McStas.<o:p></o:p></span></p></div></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>If you are indeed using windows, that link should be set up automatically, i.e. the OS takes care of registering wrl files to Ocataga.<o:p></o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Can someone provide some help on this? <o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal>You will have to provide more info on the system, i.e which version of which OS, version of McStas etc.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Still: a workaround is to open the mcdisplay_commands.wrl from within Octaga.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Peter<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=top style='padding:0in 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Peter Kjær Willendrup<o:p></o:p></span></b></p></td></tr><tr><td valign=top style='padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#9B9B9B'>Senior Research Engineer, Special Advisor<o:p></o:p></span></p></td></tr><tr><td valign=top style='padding:0in 0in 0in 0in'></td></tr><tr><td valign=top style='padding:0in 0in 3.75pt 0in'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>DTU Physics<o:p></o:p></span></p></td></tr></table><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><br><img border=0 width=400 height=1 id="_x0030_0cefd22-5c13-42b3-ad2d-390d481aacae" src="cid:image001.gif@01CE7276.E63F0440"></span><span style='font-size:11.5pt;font-family:"Helvetica","sans-serif";color:black'><br><br><br></span><span class=apple-style-span><o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=400 style='width:300.0pt;border-collapse:collapse;z-index:auto'><tr><td width=357 valign=top style='width:267.5pt;padding:0in 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><br>Technical University of Denmark</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></td><td width=43 rowspan=2 valign=top style='width:32.5pt;padding:0in 0in 0in 0in'></td></tr><tr><td style='padding:0in 0in 0in 0in'></td></tr></table><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Calibri","sans-serif";color:black'><br></span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><img border=0 width=36 height=53 id=e7442ef3-0feb-429c-9501-7e9985945172 src="cid:image002.gif@01CE7276.E63F0440"><img border=0 width=71 height=53 id=e27c6f20-bdc2-481e-b9e5-b8bf8f9fdc62 src="cid:image003.jpg@01CE7276.E63F0440"></span><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></span></p><div><p class=MsoNormal><o:p> </o:p></p></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=400 style='width:300.0pt;border-collapse:collapse;z-index:auto'><tr><td width=400 valign=top style='width:300.0pt;padding:0in 0in 3.75pt 0in'><div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=400 style='width:300.0pt;border-collapse:collapse;z-index:auto'><tr><td style='padding:0in 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Department o</span></b><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#1F497D'>f</span></b><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> Phys</span></b><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>ics</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Neutrons and X-rays for Materials Physics</span></i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Fysikvej</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></td></tr><tr><td style='padding:0in 0in 0in 0in'><div><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Building 307</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></td></tr><tr><td style='padding:0in 0in 0in 0in'><div><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>DK-2800 Kongens Lyngby</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></td></tr><tr><td style='padding:0in 0in 0in 0in'><div><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Direct +45 2125 4612</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></td></tr><tr><td style='padding:0in 0in 0in 0in'><div><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Mobil +45 2125 4612</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Fax +45 4593 2399</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></td></tr></table></div></td></tr></table><p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><a href="mailto:pkwi@fysik.dtu.dk">pkwi@fysik.dtu.dk</a></span></span><span class=apple-style-span><span style='font-size:11.5pt;font-family:"Helvetica","sans-serif";color:black'> <o:p></o:p></span></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=400 style='width:300.0pt;border-collapse:collapse;z-index:auto'><tr><td width=400 valign=top style='width:300.0pt;padding:0in 0in 0in 0in'></td></tr></table></table><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>