/* * File: * moTestAccess * * Description: * Test Vme Read/Writes to the Master Oscillator module. * * */ #include #include #include #include #include "jvme.h" #include "moLib.h" #define DO(x) if(x!=OK) goto CLOSE; int main(int argc, char *argv[]) { DO(vmeOpenDefaultWindows()); DO(moInit(0xed0000,0)); DO(moConfigPrint()); DO(moTestAccess()); CLOSE: vmeCloseDefaultWindows(); return OK; }