mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 17:58:05 +01:00
eigerhighlevel unsigned dac
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@774 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -18,8 +18,8 @@ char eiger_message[1024];
|
|||||||
int eiger_message_length = 0;
|
int eiger_message_length = 0;
|
||||||
int eiger_ret_val=0;
|
int eiger_ret_val=0;
|
||||||
|
|
||||||
const unsigned int ndacs = 16;
|
const int ndacs = 16;
|
||||||
const char* dac_names[16] = {"SvP","Vtr","Vrf","Vrs","SvN","Vtgstv","Vcmp_ll","Vcmp_lr","cal","Vcmp_rl","rxb_rb","rxb_lb","Vcmp_rr","Vcp","Vcn","Vis"};
|
const char* dac_names[16] = {"SvP","Vtr","Vrf","Vrs","SvN","Vtgstv","Vcmp_ll","Vcmp_lr","cal","Vcmp_rl","rxb_rb","rxb_lb","Vcmp_rr","Vcp","Vcn","Vis"};
|
||||||
|
|
||||||
|
|
||||||
int EigerInit(){
|
int EigerInit(){
|
||||||
|
|||||||
Binary file not shown.
@@ -8,6 +8,7 @@
|
|||||||
#include "slsDetectorFunctionList.h"
|
#include "slsDetectorFunctionList.h"
|
||||||
#include "svnInfoEiger.h"
|
#include "svnInfoEiger.h"
|
||||||
#include "Eiger.h"
|
#include "Eiger.h"
|
||||||
|
#include "EigerHighLevelFunctions.c"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@@ -225,7 +226,7 @@ int startStateMachine(){
|
|||||||
now_ptr=(char*)ram_values;
|
now_ptr=(char*)ram_values;
|
||||||
//send start acquisition to fpga
|
//send start acquisition to fpga
|
||||||
*/
|
*/
|
||||||
return FAIL;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -233,7 +234,7 @@ int stopStateMachine(){
|
|||||||
//template stopStateMachine() from firmware_funcs.c
|
//template stopStateMachine() from firmware_funcs.c
|
||||||
// send stop to fpga
|
// send stop to fpga
|
||||||
//if status = busy after 500us, return FAIL
|
//if status = busy after 500us, return FAIL
|
||||||
return FAIL;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user