LedTest.cxx

00001 {
00002 gSystem->Load("libTApi.so");
00003 
00004 if(!tapi) 
00005   tapi = new TApi();
00006 
00007 tapi->initialiseAll(1);
00008 
00009 // Create and Send a FLASH_LED primitive to a slave DSP
00010 // unsigned long ledData[3] = {0, 1000,10};           //State and toggle flag
00011 
00012 tapi->flashLED(0, 0, 0, 0); 
00013 
00014 tapi->shutdownAll();
00015 
00016 delete tapi;
00017 
00018 return 0;  
00019 }

Generated on Mon Feb 6 14:01:22 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6