/cvi/instr/CAENV965/CAENV965.c |
---|
1,7 → 1,25 |
#include <ansi_c.h> |
#ifdef WIENVME |
#include "wienvme_dll.h" |
#define VME_START(NODE) WIENVME_VME_START((NODE)) |
#define VME_STOP() WIENVME_VME_STOP() |
#define VME_RESET() WIENVME_VME_RESET() |
#define VME_A24D8_R(VME,DATA) WIENVME_VME_A24D8_R((VME),(DATA)) |
#define VME_A24D16_R(VME,DATA) WIENVME_VME_A24D16_R((VME),(DATA)) |
#define VME_A24D32_R(VME,DATA) WIENVME_VME_A24D32_R((VME),(DATA)) |
#define VME_A24D8_W(VME,DATA) WIENVME_VME_A24D8_W((VME),(DATA)) |
#define VME_A24D16_W(VME,DATA) WIENVME_VME_A24D16_W((VME),(DATA)) |
#define VME_A24D32_W(VME,DATA) WIENVME_VME_A24D32_W((VME),(DATA)) |
#define VME_A32D8_R(VME,DATA) WIENVME_VME_A32D8_R((VME),(DATA)) |
#define VME_A32D16_R(VME,DATA) WIENVME_VME_A32D16_R((VME),(DATA)) |
#define VME_A32D32_R(VME,DATA) WIENVME_VME_A32D32_R((VME),(DATA)) |
#define VME_A32D8_W(VME,DATA) WIENVME_VME_A32D8_W((VME),(DATA)) |
#define VME_A32D16_W(VME,DATA) WIENVME_VME_A32D16_W((VME),(DATA)) |
#define VME_A32D32_W(VME,DATA) WIENVME_VME_A32D32_W((VME),(DATA)) |
#else |
#include "vme.h" |
#endif |
#include "CAENV965.h" |
#include "CAENV965_DEF.h" |
/cvi/instr/WIENVME_DLL/pcivme_ni.dll |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/cvi/instr/WIENVME_DLL/pcivme_ni.h |
---|
39,8 → 39,8 |
int __declspec(dllexport) VMEreset(int nHandle); |
int __declspec(dllexport) VMETAS(int nHandle, unsigned long ulAddress, unsigned char *ubResult); |
int __declspec(dllexport) VMEinterrupt(int nHandle, unsigned char *ubVector); |
int __declspec(dllexport) VMEsysfailGet(int nHandle, BOOLEAN *bResult); |
int __declspec(dllexport) VMEsysfailSet(int nHandle, BOOLEAN bForce); |
int __declspec(dllexport) VMEsysfailGet(int nHandle, unsigned char *bResult); |
int __declspec(dllexport) VMEsysfailSet(int nHandle, unsigned char bForce); |
int __declspec(dllexport) VMEclose(int nHandle); |
#ifdef __cplusplus |
/cvi/instr/WIENVME_DLL/pcivme_ni.lib |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/cvi/instr/WIENVME_DLL/wienvme_dll.c |
---|
61,7 → 61,7 |
vme_close = GetExternalModuleAddr (VMEmodule, "VMEclose", &stat); |
*/ |
if (module_path == NULL) { |
DLLHandle = LoadLibrary("c:\\home\\CVI\\instr\\WIENVME_DLL\\pcivme_ni.lib"); |
DLLHandle = LoadLibrary("c:\\home\\CVI\\instr\\WIENVME_DLL\\pcivme_ni.dll"); |
} else { |
DLLHandle = LoadLibrary(module_path); |
} |