00001 00002 // Name: V1724_board.h 00003 // Purpose: 00004 // Author: NDA 00005 // Modified by: 00006 // Created: 04/03/06 14:18:40 00007 // RCS-ID: 00008 // Copyright: CAEN S.p.A All rights reserved. 00009 // Licence: 00011 00012 #ifndef _V1724_BOARD_H_ 00013 #define _V1724_BOARD_H_ 00014 00015 #if defined(__GNUG__) && !defined(__APPLE__) 00016 #pragma interface "V1724_board.h" 00017 #endif 00018 00023 extern "C" 00024 { 00025 #include "CAENVMETool/cvt_v1724.h" 00026 } 00027 #include "generic_board.h" 00028 00029 class AppSettings; 00030 00031 class V1724Board : public GenericBoard 00032 { 00033 public: 00034 V1724Board( int board_index, void (* scope_refresh)( int, bool), wxMutex *p_data_mutex, AppSettings* p_app_settings); 00035 ~V1724Board( void); 00036 00037 // 00038 // Pure virtual implememtation 00039 wxString GetType() { return _("V1724");}; 00040 bool Open( long vme_handle); 00041 GenericBoardChannel* CreateChannel( int ch_index, void (* scope_refresh)( int, bool), wxMutex *p_data_mutex); 00042 bool WriteSampleBufferSize( void); 00043 bool WriteTriggerMode( bool started); 00044 bool WriteSoftwareTrigger( void); 00045 bool SetFrontPanelIO( bool use_TTL); 00046 bool ReadBoardData( UINT32 *p_max_num_samples, UINT32* p_num_events); 00047 bool DoStartAcquisition( void); 00048 bool DoStopAcquisition( void); 00049 00050 bool Init( long vme_handle); 00051 00052 }; 00053 00054 00055 #endif // _V1724_BOARD_H_ 00056
1.4.6-NO