// // // // g++ -o fa125_sleep -I$LINUXVME_INC fa125_sleep.cc -L$LINUXVME_LIB -lfa125 -ljvme -lremex // // #include #include using namespace std; #include #include #include #include #include extern "C"{ #include #include extern int nfa125; extern int fa125A32Base; DMA_MEM_ID vmeIN,vmeOUT; extern unsigned int *dma_dabufp; extern DMANODE *the_event; } #define FA125_ADDR (5<<19) int main(int argc, char *argv[]) { // Initialize VME if(vmeOpenDefaultWindows() != OK) { cout<<"vmeOpenDefaultWindows failed. Terminate right here."<