- Added tests setups for new drivers

This commit is contained in:
koennecke
2009-12-04 13:02:32 +00:00
parent f40de7ffc6
commit 41e0175571
3 changed files with 53 additions and 26 deletions

View File

@ -1,3 +1,3 @@
271
287
NEVER, EVER modify or delete this file
You'll risk eternal damnation and a reincarnation as a cockroach!|n

View File

@ -648,3 +648,33 @@ phytron::make alge X phyto -360 0
set stddrive 0
if {$stddrive == 1} {
makesctcontroller stdsct std localhost:8080 "\r" 10
source ../tcl/stddrive.tcl
stddrive::makestddrive eule EuleDrive stdsct
}
set el755 0
if {$el755 == 1} {
source ../tcl/stddrive.tcl
source ../tcl/el755.tcl
makesctcontroller el755sct std localhost:8080 "\r" 10
#el755sct debug 1
for {set i 0} {$i < 3} {incr i} {
el755sct transact "RMT 1"
el755sct transact "ECHO 2"
}
el755::makeel755 mf 5 el755sct
el755sct queue /sics/mf progress read
mf upperlimit 10
mf lowerlimit -10
mf tolerance .1
}
set dc-804 1
source ../tcl/pimotor.tcl
makesctcontroller dc804sct std localhost:8080 "\r" 10 "\x03" "\x03"
pimotor::makepimotor dc1 1 dc804sct -10000 10000

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<NXroot NeXus_version="3.0.0" XML_version="mxml" file_name="test.xml"
file_time="2007-02-21 10:51:15+0100" Instrument="Washmaschine">
<NXroot NeXus_version="4.1.0" XML_version="mxml" file_name="test.xml"
file_time="2009-11-16 11:43:33+0100" Instrument="Washmaschine">
<NXentry name="entry1">
<testtext target="/entry1/testtext">Hugo ist eine Nassnase</testtext>
<testtext NAPItype="NX_CHAR[23]" target="/entry1/testtext">Hugo ist eine Nassnase
</testtext>
<testfloat NAPItype="NX_FLOAT32">
27.8000
</testfloat>
@ -19,7 +20,8 @@ file_time="2007-02-21 10:51:15+0100" Instrument="Washmaschine">
<preset NAPItype="NX_FLOAT32">
10.0000
</preset>
<mode>timer</mode>
<mode NAPItype="NX_CHAR[132]">timer
</mode>
<time NAPItype="NX_FLOAT32">
10.0000
</time>
@ -41,37 +43,32 @@ file_time="2007-02-21 10:51:15+0100" Instrument="Washmaschine">
</NXmonitor>
<NXdata name="detector">
<hmdata NAPItype="NX_INT32[23]" signal="1">
55 55 55 55
55 55 55 55
55 55 55 55
55 55 55 55
55 55 55 55
55 55 55 55 55
55 55 55 55 55
55 55 55 55 55
55 55 55 55 55
55 55 55
</hmdata>
<time_binning NAPItype="NX_FLOAT32[20]">
500.0000 800.0000 1100.0000 1400.0000
1700.0000 2000.0000 2300.0000 2600.0000
2900.0000 3200.0000 3500.0000 3800.0000
4100.0000 4400.0000 4700.0000 5000.0000
5300.0000 5600.0000 5900.0000 6200.0000
500.0000 800.0000 1100.0000 1400.0000 1700.0000
2000.0000 2300.0000 2600.0000 2900.0000 3200.0000
3500.0000 3800.0000 4100.0000 4400.0000 4700.0000
5000.0000 5300.0000 5600.0000 5900.0000 6200.0000
</time_binning>
<x_axis NAPItype="NX_FLOAT32[10]">
10.0000 11.0000 12.0000 13.0000
14.0000 15.0000 16.0000 17.0000
18.0000 19.0000
10.0000 11.0000 12.0000 13.0000 14.0000
15.0000 16.0000 17.0000 18.0000 19.0000
</x_axis>
<y_axis NAPItype="NX_INT32[10]">
10 11 12 13
14 15 16 17
18 19
10 11 12 13 14
15 16 17 18 19
</y_axis>
<NAPIlink target="/entry1/testtext" />
<gurke NAPItype="NX_INT32[23]">
23 23 23 23
23 23 23 23
23 23 23 23
23 23 23 23
23 23 23 23
23 23 23 23 23
23 23 23 23 23
23 23 23 23 23
23 23 23 23 23
23 23 23
</gurke>
</NXdata>