<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>Hi Tim,<br>
<br>
I think I used a DMGetCameraLength command in the past. It was in STEM mode, but that could also work for DIFF mode.<br>
<br>
Did you check inside the help of DM ? Under the scripting tab maybe.<br>
<br>
Best,<br>
Sylvain<br>
----------<br>
Sylvain TREPOUT, PhD, HDR<br>
IR2 Inserm<br>
Plateforme de Microscopie Electronique<br>
INSERM US43 / CNRS UMS2016<br>
Institut Curie Centre De Recherche<br>
Centre Universitaire, Bât. 101B-110-111-112<br>
Rue Henri Becquerel<br>
CS 90030<br>
91401 ORSAY Cedex, FRANCE<br>
Phone : +33 1 69 86 30 81<br>
Fax : +33 1 69 07 53 27
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> 3dem <3dem-bounces@ncmir.ucsd.edu> de la part de Tim Gruene <tim.gruene@univie.ac.at><br>
<b>Envoyé :</b> jeudi 16 juillet 2020 21:04:55<br>
<b>À :</b> 3dem@ncmir.ucsd.edu<br>
<b>Objet :</b> [3dem] questions w.r.t. digital micrograph</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Dear all,<br>
<br>
I am using a digital micrograph script with a CM200 (LaB6) TEM to<br>
record the value of the alpha-angle with time.<br>
<br>
I have a couple of questions about DM functions for which I couldn't<br>
find answer on the web, yet:<br>
<br>
1) GetOSTickCount() returns some milliseconds (according to<br>
GetOSTicksPerSecond() == 1000). Is there any relationship to<br>
GetCurrentTime()? <br>
One result today gave<br>
Date: Donnerstag, 16. Juli 2020 19:16:04<br>
and the first OSTickCount immediatley after returned 43291453, i.e.<br>
about 12h, 91s. <br>
<br>
Some source on the web says "Number GetOSTickCount( )<br>
    Return a tick count appropriate for the operating system. " <br>
This is a Windows Computer, so 'not useful at all' might be appropriate<br>
for the operating system, but maybe there is some back-door meaning.<br>
<br>
2) Can I get the current camera lenght? I would like to add e.g. 'D190'<br>
or 'D500' (in diffraction mode) to the file name the script creates.<br>
<br>
Best regards,<br>
Tim<br>
-- <br>
--<br>
Tim Gruene<br>
Head of the Centre for X-ray Structure Analysis<br>
Faculty of Chemistry<br>
University of Vienna<br>
<br>
Phone: +43-1-4277-70202<br>
<br>
GPG Key ID = A46BEE1A<br>
</div>
</span></font>
</body>
</html>