Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 327 → Rev 328

/cvi/instr/WUSBVME_DLL/wusbvme_dll.c
265,6 → 265,42
#endif
 
 
short WIENER_VMUSB_VME_DGG(
unsigned short channel,
unsigned short trigger,
unsigned short output,
long delay,
unsigned short gate,
unsigned short invert,
unsigned short latch
){
 
if (!WUSB_udev) return -222;
VME_DGG(WUSB_udev, channel, trigger, output, delay, gate, invert, latch);
return 0;
}
 
 
short WIENER_VMUSB_VME_Output_settings(
unsigned short channel,
unsigned short code,
unsigned short invert,
unsigned short latch
){
 
if (!WUSB_udev) return -222;
return VME_Output_settings(WUSB_udev, channel, code, invert, latch);
}
 
short WIENER_VMUSB_register_write( short RegAddr, long RegData){
if (!WUSB_udev) return -222;
return xxusb_register_write( WUSB_udev, RegAddr, RegData);
}
 
 
short __stdcall WIENER_VMUSB_VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data) {
int nb=0;
if (!WUSB_udev) return -222;
/cvi/instr/WUSBVME_DLL/wusbvme_dll.h
61,7 → 61,12
int WIENER_VMUSB_StackGetUInt16(int maxn, uint16_t *stack);
void WIENER_VMUSB_StackPrint();
 
short WIENER_VMUSB_VME_DGG(unsigned short channel, unsigned short trigger,unsigned short output,
long delay, unsigned short gate, unsigned short invert, unsigned short latch);
short WIENER_VMUSB_VME_Output_settings( unsigned short channel, unsigned short code, unsigned short invert, unsigned short latch );
short WIENER_VMUSB_register_write( short RegAddr, long RegData);
 
 
void _VI_FUNC WIENER_VMUSB_load (const char *module_path);
void _VI_FUNC WIENER_VMUSB_open (const char *serial);
void _VI_FUNC WIENER_VMUSB_close (void);