1,5 → 1,6 |
#include <stdlib.h> |
#include <stdio.h> |
#include "wienvme_dll.h" |
|
#ifdef _CVI_ |
#include <utility.h> |
22,7 → 23,6 |
#include <string.h> |
#endif |
|
#include "wienvme_dll.h" |
//----------- DEFINES ----------------------------------------------------- |
#define DEVICENAME_LINUX "/dev/pcivme_0" // a device name 'template' for LINUX |
#define DEVICENAME_NT "\\\\.\\PCIVME:\\VMEMMxx" // a device name 'template' for WINNT |
269,7 → 269,7 |
default: |
return 0; |
} |
return nb; |
return (short)nb; |
} |
|
short __stdcall WIENVME_VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data) { |
297,7 → 297,7 |
default: |
return 0; |
} |
return nb; |
return (short)nb; |
} |
|
short __stdcall WIENVME_VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data) { |