- Added regression tests for a counter and the new MultiCounter

- Enhanced regression tests for motors
This commit is contained in:
koennecke
2006-09-13 07:16:59 +00:00
parent c9fc9d69f8
commit 2f3e2d0ff0
6 changed files with 414 additions and 4 deletions

View File

@ -41,5 +41,28 @@ SicsUser User User 2
SicsUser Spy Spy 3
#SicsUser Spy 007 1
#----------------- Motors ---------------------------------------------------
Motor brumm regress
MakeDrive
#----------------- Counters -------------------------------------------------
MakeCounter aba regress
MakeCounter hugo SIM -1.
MakeCounter lieselotte SIM -1.
#------------------------------
proc SICSValue {command} {
set txt [eval $command]
set l [split $txt =]
return [string trim [lindex $l 1]]
}
#-----------------------------
proc multitransfer {} {
append res [SICSValue "aba gettime"] " "
for {set i 0} {$i < 7} {incr i} {
append res [SICSValue "aba getmonitor $i"] " "
}
return $res
}
#-----------------------------------
MakeMultiCounter multi aba hugo lieselotte
multi transferscript multitransfer