Changes for page Experiment control

Last modified by fwilde on 2018/04/09 09:39

From version 8.1
edited by fwilde
on 2016/04/19 17:09
Change comment: There is no comment for this version
To version 17.1
edited by fwilde
on 2016/07/28 09:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -IDL at P05 user guide
1 +Experiment control
Content
... ... @@ -25,6 +25,78 @@
25 25  {{info title="Warning"}}When IDL is busy, you **can** enter a new command, but it will not be executed until the last command is finished. In order to avoid confusion always wait until IDL is ready to accept commands before typing a new command.{{/info}}
26 26  )))
27 27  * Scripts can be written inside the IDL IDE and saved as .pro files. A script will not be automatically compiled after saving. Press the compile button in IDL in order to make changes in your code applicable.
28 +
29 +== {{id name="Experimentcontrol-IDLMacroguide"/}}IDL Macro guide ==
30 +
31 +=== {{id name="Experimentcontrol-AboutIDLmacros"/}}About IDL macros ===
32 +
33 +To understand the macro naming convention it helps to categorize the the acors roughly into three categories:
34 +
35 +1. Motor macros
36 +1. Info macros
37 +1. Script macros
38 +
39 +==== {{id name="Experimentcontrol-MotorMacros"/}}Motor Macros ====
40 +
41 +Motor macros loosely follow a certain naming convention according to the [[EH2 setup>>doc:P5I.User guide\: µCT at P05.µCT setup.WebHome]]:
42 +
43 +* (((
44 +commands contain a name for the stage:
45 +
46 +|=(((
47 +command particle
48 +)))|=(((
49 +stage
50 +)))
51 +|(((
52 +o_stage
53 +)))|(((
54 +camera stage
55 +)))
56 +|(((
57 +s_stage
58 +)))|(((
59 +rotation stage
60 +)))
61 +|(((
62 +s_pos
63 +)))|(((
64 +sample stage
65 +)))
66 +|(((
67 +app_tripod or app
68 +)))|(((
69 +base stage
70 +)))
71 +|(((
72 +o_ccd
73 +)))|(((
74 +camera housing
75 +)))
76 +|(((
77 +o
78 +)))|(((
79 +microscope optics
80 +)))
81 +)))
82 +* Most commands are followed by a direction or rotation axis (x,y,z, rot_x, rot_y, rot_z)
83 +* (((
84 +A motor command moves either relative or absolute, e.g:
85 +
86 +{{code}}goto_s_stage_z, -10{{/code}}This moves the rotation stage to the position -10 mm in z direction.
87 +
88 +
89 +
90 +{{code}}s_stage_z, 1{{/code}}This example moves the rotation stage by 1 mm up in z direction.
91 +)))
92 +
93 +==== {{id name="Experimentcontrol-Infomacros"/}}Info macros ====
94 +
95 +These are macros that return one more values which provide information about the state of e.g. a stage or a camera.
96 +
97 +==== {{id name="Experimentcontrol-Scriptmacros"/}}Script macros ====
98 +
99 +Script macros are a collection of lower-level commands to perform a task. The most striking script macros is probably the scan macro, which perform a complete tomographic scan without any further interaction with the user.
28 28  {{/layout-cell}}
29 29  
30 30  {{layout-cell}}
... ... @@ -31,6 +31,17 @@
31 31  {{panel titleBGColor="blue" title="Table of Contents" borderColor="blue" titleColor="white"}}
32 32  {{toc/}}
33 33  {{/panel}}
106 +
107 +{{panel titleBGColor="red" title="todo" borderColor="red" titleColor="white"}}
108 +Attention: this user guide is yet very incomplete.
109 +
110 +(% class="task-list" %)
111 +(((
112 +{{task reference="/Tasks/Task_1" status="InProgress"}}
113 +Continue IDL at EH2 user guide {{mention reference="XWiki.fwilde" style="FULL_NAME" anchor="XWiki-fwilde-ZlGvB"/}}\\
114 +{{/task}}
115 +)))
116 +{{/panel}}
34 34  {{/layout-cell}}
35 35  {{/layout-section}}
36 36  {{/layout}}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -34026583
1 +38109591
Title
... ... @@ -1,1 +1,1 @@
1 -IDL at P05 user guide
1 +Experiment control
URL
... ... @@ -1,1 +1,1 @@
1 -https://confluence.desy.de/spaces/P5I/pages/34026583/IDL at P05 user guide
1 +https://confluence.desy.de/spaces/P5I/pages/38109591/Experiment control