// gcd.i %module VME %{ //include extra headers necessary in your C source. //#include #include "v560.h" %} //VME stuff: VME_ErrorCode_t VME_Open(); VME_ErrorCode_t VME_Close(); int VME_ErrorPrint(VME_ErrorCode_t error_code); //V560 stuff: VME_ErrorCode_t V560_Open(); int V560_Send_Scale_Increment(short module); int V560_Set_Veto(short module); int V560_Reset_Veto(short module); int V560_Clear_Scales(short module); short V560_Read_Request_Register(short module); int V560_Write_Request_Register(short module,short request); int V560_Clear_VME_Interrupt(short module); int V560_Read_Counter(short module, short channel); int V560_Print_Info(void); VME_ErrorCode_t V560_Close(void); //V812 stuff: VME_ErrorCode_t V812_Open(void); int V812_Set_Threshold(short module, short channel, short threshold); int V812_Set_Pattern_Inhibit(short module, char channel[16]); int V812_Set_Pattern_Inhibit_Hex(short module, int pattern); int V812_Set_Output_Width(short module, char channel_block, short width); int V812_Set_Dead_Time(short module, short channel_block, short dead_time); int V812_Set_Majority_Level(short module, short majority_level); int V812_Set_Majority_Threshold(short module, short majority_threshold); int V812_Test_Pulse(short module); int V812_Print_Info(void); VME_ErrorCode_t V812_Close(void);