mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 14:38:14 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@661 951219d9-93cf-4727-9268-0efd64621fa3
39 lines
500 B
C++
39 lines
500 B
C++
|
|
/**
|
|
* @author Ian Johnson
|
|
* @version 1.0
|
|
*/
|
|
|
|
|
|
#include <iostream>
|
|
#include <stdio.h>
|
|
|
|
#include "xparameters.h"
|
|
|
|
#include "Feb.h"
|
|
|
|
|
|
using namespace std;
|
|
|
|
int main(){
|
|
|
|
cout<<"\n\n\n\n\n\n\n\n\n\n"<<endl;
|
|
|
|
|
|
char s[2000];
|
|
sprintf(s,"papamama");
|
|
|
|
Feb* feb = new Feb();
|
|
|
|
unsigned int v=22;
|
|
feb->ReadRegister(0,0,v);
|
|
feb->ReadRegister(0,0xffffffff,v);
|
|
cout<<endl<<endl;
|
|
feb->ReadRegister(1,0,v);
|
|
feb->ReadRegister(1,0xffffffff,v);
|
|
|
|
delete feb;
|
|
|
|
return 1;
|
|
}
|