Commit 737c46d5 authored by blissadm's avatar blissadm

renaming for HPZ

parent e7f233cb
<config>
<controller class="PI_E517" name="id16pela">
<host value="e517pela"/>
<axis name="p1">
<axis name="p4">
<channel value="1"/>
<chan_letter value="A"/>
<velocity value="12"/>
<velocity value="10"/>
<step_size value="1"/>
</axis>
<axis name="p2">
<axis name="p5">
<channel value="2"/>
<chan_letter value="B"/>
<velocity value="12"/>
<velocity value="10"/>
<step_size value="1"/>
</axis>
<axis name="p3">
<axis name="p6">
<channel value="3"/>
<chan_letter value="C"/>
<velocity value="12"/>
<velocity value="10"/>
<step_size value="1"/>
</axis>
</controller>
......
<config>
<controller class="PI_E517" name="id16pelb">
<host value="e517pelb"/>
<axis name="p4">
<axis name="p1">
<channel value="1"/>
<chan_letter value="A"/>
<velocity value="12"/>
<velocity value="10"/>
<step_size value="1"/>
</axis>
<axis name="p5">
<axis name="p2">
<channel value="2"/>
<chan_letter value="B"/>
<velocity value="12"/>
<velocity value="10"/>
<step_size value="1"/>
</axis>
<axis name="p6">
<axis name="p3">
<channel value="3"/>
<chan_letter value="C"/>
<velocity value="12"/>
<velocity value="10"/>
<step_size value="1"/>
</axis>
</controller>
......
......@@ -100,29 +100,51 @@ load_cfg_fromstring("""
<config>
<controller class="PI_E517" name="testid16">
<host value="e517pela"/>
<axis name="px">
<axis name="p4">
<channel value="1"/>
<chan_letter value="A"/>
<velocity value="12"/>
</axis>
<axis name="py">
<axis name="p5">
<channel value="2"/>
<chan_letter value="B"/>
<velocity value="12"/>
</axis>
<axis name="pz">
<axis name="p6">
<channel value="3"/>
<chan_letter value="C"/>
</axis>
</controller>
</config>
""")
d=get_axis("p4")
e=get_axis("p5")
f=get_axis("p6")
load_cfg_fromstring("""
<config>
<controller class="PI_E517" name="testid16">
<host value="e517pelb"/>
<axis name="p1">
<channel value="1"/>
<chan_letter value="A"/>
</axis>
<axis name="p2">
<channel value="2"/>
<chan_letter value="B"/>
</axis>
<axis name="p3">
<channel value="3"/>
<chan_letter value="C"/>
<velocity value="12"/>
</axis>
</controller>
</config>
""")
a=get_axis("px")
b=get_axis("py")
c=get_axis("pz")
a=get_axis("p1")
b=get_axis("p2")
c=get_axis("p3")
'''
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment