sct_rfamp.c
SICS-405 Protocol handler always reports "SET" failed. Implemented workaround so that it always succeeds until we have a proper fix. server_config.tcl Set opal_simulation=true until we implement the new LSS feedback r2940 | ffr | 2010-05-28 11:36:25 +1000 (Fri, 28 May 2010) | 6 lines
This commit is contained in:
committed by
Douglas Clowes
parent
9926044c35
commit
3d5d94c1dd
@@ -227,6 +227,7 @@ int RFAmpReading (Ascon *a)
|
||||
strncpy(tmpFreq, &data->rfCmd[5], 3);
|
||||
tmpSwitchs = (unsigned char)data->rfCmd[8];
|
||||
|
||||
/* TODO SICS-405 ffr Removed check because the read values don't immediately match the set values
|
||||
if( (abs(atoi(curr) - atoi(tmpCurr)) > data->currTol) ||
|
||||
(atoi(freq) != atoi(tmpFreq)) ||
|
||||
((switches & 0x0F) != (tmpSwitchs & 0x0F)) ) {
|
||||
@@ -236,6 +237,9 @@ int RFAmpReading (Ascon *a)
|
||||
} else {
|
||||
DynStringReplace(a->rdBuffer, "OK", 0);
|
||||
}
|
||||
*/
|
||||
/* ffr Just report OK until we have a proper fix */
|
||||
DynStringReplace(a->rdBuffer, "OK", 0);
|
||||
|
||||
a->state = AsconReadDone;
|
||||
data->transactInProg = txNormalRead;
|
||||
|
||||
@@ -27,7 +27,7 @@ set instrument_dictionary [subst {
|
||||
property {data true control true nxsave false klass @none type graphset}
|
||||
}
|
||||
instrument {
|
||||
sobj {@any instrument @any NXvelocity_selector @any NXaperture @any NXdetector}
|
||||
sobj {@any instrument @any NXvelocity_selector @any NXaperture @any NXcollimator @any NXdetector}
|
||||
privilege spy
|
||||
datatype @none
|
||||
property {data true control true nxsave false klass NXinstrument type instrument}
|
||||
|
||||
@@ -29,6 +29,7 @@ if {$sim_mode == "true"} {
|
||||
MakeAsyncQueue mc2 DMC2280 $dmc2280_controller2(host) $dmc2280_controller2(port)
|
||||
MakeAsyncQueue mc3 DMC2280 $dmc2280_controller3(host) $dmc2280_controller3(port)
|
||||
MakeAsyncQueue mc4 DMC2280 $dmc2280_controller4(host) $dmc2280_controller4(port)
|
||||
makesctcontroller sct_mc2 galil mc2-wombat:[portnum pmc2-wombat]
|
||||
}
|
||||
|
||||
#Measured absolute encoder reading at home position
|
||||
|
||||
@@ -15,11 +15,12 @@ source server_config.tcl
|
||||
########################################
|
||||
# INSTRUMENT SPECIFIC CONFIGURATION
|
||||
|
||||
source $cfPath(hipadaba)/hipadaba_configuration.tcl
|
||||
fileeval $cfPath(motors)/motor_configuration.tcl
|
||||
fileeval $cfPath(motors)/sct_oscmotor.tcl
|
||||
source instrument_vars.tcl
|
||||
|
||||
fileeval $cfPath(source)/source.tcl
|
||||
source $cfPath(hipadaba)/hipadaba_configuration.tcl
|
||||
fileeval $cfPath(motors)/positmotor_configuration.tcl
|
||||
fileeval $cfPath(plc)/plc.tcl
|
||||
fileeval $cfPath(counter)/counter.tcl
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#set sicsroot /usr/local/sics
|
||||
VarMake opal_simulation Text internal
|
||||
opal_simulation false
|
||||
opal_simulation true
|
||||
|
||||
VarMake detector_simulation Text internal
|
||||
detector_simulation false
|
||||
|
||||
Reference in New Issue
Block a user