/cvi/instr/WIENVME_DLL/pcivme_ni.h |
---|
0,0 → 1,50 |
#ifndef __PCIVME_NI_H__ |
#define __PCIVME_NI_H__ |
//------------------------------------------------------------------------------------------- |
// pcivme_ni.h - header for ni-labview dll for ARW pcivme interface |
// |
// (c) 1999-2002 ARW Elektronik, Germany |
// |
// this source code is published under GPL (Open Source). You can use, redistrubute and |
// modify it unless this header is not modified or deleted. No warranty is given that |
// this software will work like expected. |
// This product is not authorized for use as critical component in life support systems |
// wihout the express written approval of ARW Elektronik Germany. |
// |
// Please announce changes and hints to ARW Elektronik |
// |
// |
// $Log: pcivme_ni.h,v $ |
// Revision 1.2 2002/10/27 17:05:33 klaus |
// CVS log added, file addressing bug > 2 Gbtye circumvent |
// |
// what who when |
// first steps AR 17.11.1999 |
// modified for use with C++ AR 08.06.2002 |
// |
//------------------------------------------------------------------------------------------- |
// FUNCTIONS |
// |
#ifdef __cplusplus |
extern "C" |
{ |
#endif |
int __declspec(dllexport) VMEinit(const char *cszDeviceName, unsigned short nVMEMM, unsigned char ubAddressModifier, int *pnHandle); |
int __declspec(dllexport) VMEread(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer); |
int __declspec(dllexport) VMEwrite(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer); |
int __declspec(dllexport) VMEaccessVIC(int nHandle, unsigned char ubAccessMode, unsigned short uwAddress, unsigned char *ubContent); |
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) VMEclose(int nHandle); |
#ifdef __cplusplus |
} |
#endif |
#endif /* __PCIVME_NI_H__ */ |
/cvi/instr/WIENVME_DLL/wienvme_dll.prj |
---|
0,0 → 1,212 |
[Project Header] |
Version = 551 |
Platform Code = 4 |
Pathname = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/wienvme_dll.prj" |
CVI Dir = "/c/program files/measurementstudio/cvi" |
VXIplug&play Framework Dir = "/C/Program Files/VXIPNP/winnt" |
Number of Files = 5 |
Sort Type = "No Sort" |
Target Type = "Executable" |
Build Configuration = "Debug" |
Warn User If Debugging Release = 1 |
Flags = 16 |
Drag Bar Left = 135 |
Window Top = 32 |
Window Left = 9 |
Window Bottom = 334 |
Window Right = 549 |
[File 0001] |
File Type = "Include" |
Path = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/wienvme_dll.h" |
Res Id = 1 |
Exclude = False |
Disk Date = 3258264328 |
Project Flags = 0 |
Window Top = 305 |
Window Left = 128 |
Window Height = 0 |
Window Width = 0 |
Source Window State = "1,26,28,26,0,-1,0,0,0,80,0,0,0,0,0,28,4,0,10,19," |
[File 0002] |
File Type = "CSource" |
Path = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/wienvme_dll.c" |
Res Id = 2 |
Exclude = False |
Disk Date = 3258263560 |
Project Flags = 0 |
Compile Into Object File = False |
Object Format = "Win32-MSVC" |
ForceCompile_Debug = False |
ForceCompile_Release = False |
Window Top = 27 |
Window Left = 56 |
Window Height = 0 |
Window Width = 0 |
Source Window State = "1,119,120,119,0,-1,0,0,0,102,0,0,0,0,0,29,76,0,84,10," |
Header Dependencies Line0001 = "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30" |
Header Dependencies Line0002 = ",31,32,33,34,35,36,37,38,39,40,41,42,43,44," |
[File 0003] |
File Type = "Function Panel" |
Path = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/wienvme_dll.fp" |
Res Id = 3 |
Exclude = False |
Disk Date = 3258264254 |
Project Flags = 0 |
Window Top = 0 |
Window Left = 0 |
Window Height = 0 |
Window Width = 0 |
[File 0004] |
File Type = "Include" |
Path = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/Vme.h" |
Res Id = 4 |
Exclude = False |
Disk Date = 3258263798 |
Project Flags = 0 |
Window Top = 163 |
Window Left = 78 |
Window Height = 0 |
Window Width = 0 |
Source Window State = "1,34,35,34,0,-1,0,0,0,80,0,0,0,0,0,25,0,0,2,0," |
[File 0005] |
File Type = "Include" |
Path = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/pcivme_ni.h" |
Res Id = 5 |
Exclude = False |
Disk Date = 3171847732 |
Project Flags = 0 |
Window Top = 186 |
Window Left = 90 |
Window Height = 0 |
Window Width = 0 |
Source Window State = "1,0,0,0,0,0,0,0,0,106,0,0,0,0,0,25,23,0,0,0," |
[SCC Options] |
Use global settings = True |
SCC Provider = "" |
SCC Project = "" |
Local Path = "" |
Auxiliary Path = "" |
Perform Same Action For .h File As For .uir File = "Ask" |
Comment = "" |
Username = "" |
Use Default Comment = False |
Use Default Username = False |
Do Not Include PRJ File in Actions = True |
Suppress CVI Error Messages = False |
[Compiler Options] |
Default Calling Convention = "cdecl" |
Max Number Of Errors = 10 |
Require Prototypes = True |
Require Return Values = True |
Enable Pointer Mismatch Warning = False |
Enable Unreachable Code Warning = False |
Track Include File Dependencies = True |
Prompt For Missing Includes = True |
Stop On First Error File = False |
Bring Up Err Win For Warnings = True |
Show Build Dialog = False |
O Option Compatible With 5.0 = False |
[Run Options] |
Stack Size = 250000 |
Debugging Level = "Standard" |
Save Changes Before Running = "Ask" |
Break On Library Errors = True |
Break On First Chance Exceptions = False |
Hide Windows = False |
Break At First Statement = False |
[Compiler Defines] |
Compiler Defines = "/DWIN32_LEAN_AND_MEAN" |
[Command Line Args] |
Command Line Args = "" |
[Included Headers] |
Header 0019 = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/wienvme_dll.h" |
Header 0001 = "/c/Program Files/MeasurementStudio/cvi/include/ansi_c.h" |
Header 0002 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/assert.h" |
Header 0003 = "/c/Program Files/MeasurementStudio/cvi/include/cvidef.h" |
Header 0004 = "/c/Program Files/MeasurementStudio/cvi/include/cvirte.h" |
Header 0005 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/ctype.h" |
Header 0006 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/errno.h" |
Header 0007 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/float.h" |
Header 0008 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/limits.h" |
Header 0009 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/locale.h" |
Header 0010 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/math.h" |
Header 0011 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/setjmp.h" |
Header 0012 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/signal.h" |
Header 0013 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/stdarg.h" |
Header 0014 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/stddef.h" |
Header 0015 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/stdio.h" |
Header 0016 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/stdlib.h" |
Header 0017 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/string.h" |
Header 0018 = "/c/Program Files/MeasurementStudio/cvi/include/ansi/time.h" |
Header 0020 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/windows.h" |
Header 0021 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/windef.h" |
Header 0022 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winnt.h" |
Header 0023 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/basetsd.h" |
Header 0024 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/Guiddef.h" |
Header 0025 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/pshpack4.h" |
Header 0026 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/poppack.h" |
Header 0027 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/pshpack2.h" |
Header 0028 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/pshpack8.h" |
Header 0029 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winbase.h" |
Header 0030 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winerror.h" |
Header 0031 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/wingdi.h" |
Header 0032 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/pshpack1.h" |
Header 0033 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winuser.h" |
Header 0034 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/tvout.h" |
Header 0035 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winnls.h" |
Header 0036 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/wincon.h" |
Header 0037 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winver.h" |
Header 0038 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winreg.h" |
Header 0039 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winnetwk.h" |
Header 0040 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/winsvc.h" |
Header 0041 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/mcx.h" |
Header 0042 = "/c/Program Files/MeasurementStudio/cvi/sdk/include/imm.h" |
Header 0043 = "/c/Program Files/MeasurementStudio/cvi/instr/WIENVME_DLL/Vme.h" |
Header 0044 = "/c/Program Files/MeasurementStudio/cvi/include/utility.h" |
Max Header Number = 44 |
[Create Executable] |
Executable File_Debug = "" |
Target Creation Date_Debug = 0 |
Force Creation of Target_Debug = False |
Executable File_Release = "" |
Target Creation Date_Release = 0 |
Force Creation of Target_Release = False |
Icon File = "" |
Application Title = "" |
DLL Exports = "Include File Symbols" |
DLL Import Library Choice = "Gen Lib For Current Mode" |
Use VXIPNP Subdirectories for Import Libraries = False |
Use Dflt Import Lib Base Name = True |
Where to Copy DLL = "Do not copy" |
Add Type Lib To DLL = False |
Include Type Lib Help Links = False |
Type Lib FP File = "" |
Type Lib Guid = "" |
Uses DataSocket = 0 |
Uses NIReports = 0 |
Uses DCom95 = 0 |
Instrument Driver Support Only = False |
[External Compiler Support] |
UIR Callbacks File Option = 0 |
Using LoadExternalModule = False |
Create Project Symbols File = True |
UIR Callbacks Obj File = "" |
Project Symbols H File = "" |
Project Symbols Obj File = "" |
[DLL Debugging Support] |
External Process Path = "" |
/cvi/instr/WIENVME_DLL/tmp/pcivme_ni.exp |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/cvi/instr/WIENVME_DLL/pcivme_ni.dll |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/cvi/instr/WIENVME_DLL/cvibuild.wienvme_dll/wienvme_dll.nidobj |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/cvi/instr/WIENVME_DLL/wienvme_dll.c |
---|
0,0 → 1,288 |
#include <ansi_c.h> |
#include "wienvme_dll.h" |
#include <utility.h> |
//----------- DEFINES ----------------------------------------------------- |
#define DEVICENAME_NT "\\\\.\\PCIVME:\\VMEMMxx" // a device name 'template' for WINNT |
#define DEVICENAME_9X "\\\\.\\C:\\windows\\system\\VWIENVMED.vxd" // the same for WIN95/98 |
#define MODULE_NUMBER 1 // number of connected CC32 module |
#define VMEinit (*vme_init) |
static int VMEinit (const char*, unsigned short, unsigned char, int*); |
#define VMEread (*vme_read) |
static int VMEread (int, unsigned long, unsigned char, unsigned long, void*); |
#define VMEwrite (*vme_write) |
static int VMEwrite (int, unsigned long, unsigned char, unsigned long, void*); |
#define VMEreset (*vme_reset) |
static int VMEreset (int); |
#define VMEclose (*vme_close) |
static int VMEclose (int); |
int hHandle24, hHandle32; |
int VMEmodule; |
void WIENVME_load (char* module_path) |
{ |
int stat; |
if (module_path == NULL) |
VMEmodule = LoadExternalModule |
("c:\\home\\CVI\\instr\\WIENVME_DLL\\pcivme_ni.lib"); |
else |
VMEmodule = LoadExternalModule (module_path); |
vme_init = GetExternalModuleAddr (VMEmodule, "VMEinit", &stat); |
vme_read = GetExternalModuleAddr (VMEmodule, "VMEread", &stat); |
vme_write = GetExternalModuleAddr (VMEmodule, "VMEwrite", &stat); |
vme_reset = GetExternalModuleAddr (VMEmodule, "VMEreset", &stat); |
vme_close = GetExternalModuleAddr (VMEmodule, "VMEclose", &stat); |
return; |
} |
int WIENVME_open (int* hHandle, unsigned char AddMod, char* device_name, |
unsigned short module_number) |
{ |
int result; |
/* open a path to a device. */ |
if (device_name == NULL) |
switch (GetCurrentPlatform ()) |
{ |
case 2: |
device_name = DEVICENAME_9X; |
break; |
case 3: |
device_name = DEVICENAME_NT; |
break; |
default: |
break; |
} |
result = VMEinit(device_name, module_number, AddMod, hHandle); |
if (result) { |
printf("Can't open interface \"%s\" to VMEMM-module \"%d\"!\n", DEVICENAME_NT, MODULE_NUMBER); |
} |
return(result); |
} |
int WIENVME_open24 (void) |
{ |
return (WIENVME_open (&hHandle24, Std_NoPriv_Data, NULL, 1)); |
} |
int WIENVME_open32 (void) |
{ |
return (WIENVME_open (&hHandle32, Ext_NoPriv_Data, NULL, 1)); |
} |
int WIENVME_start (char* module_path) |
{ |
WIENVME_load(module_path); |
WIENVME_open24(); |
WIENVME_open32(); |
return 0; |
} |
void WIENVME_unload () |
{ |
UnloadExternalModule (VMEmodule); |
return; |
} |
int WIENVME_close (int hHandle) |
{ |
int result; |
/* close the opened path */ |
printf("hHandle %d\n",hHandle); |
result = VMEclose(hHandle); |
if (result) { |
printf("Can't close interface!\n"); |
} |
return (result); |
} |
int WIENVME_close24 () |
{ |
return (WIENVME_close (hHandle24)); |
} |
int WIENVME_close32 () |
{ |
return (WIENVME_close (hHandle32)); |
} |
int WIENVME_stop () |
{ |
WIENVME_close24(); |
WIENVME_close32(); |
WIENVME_unload(); |
return 0; |
} |
int WIENVME_reset () |
{ |
int result; |
/* close the opened path */ |
result = VMEreset(hHandle24); |
if (result) { |
printf("Can't reset interface!\n"); |
} |
return (result); |
} |
int WIENVME_read8 (int hHandle, unsigned long n, unsigned long at, void* buff) |
{ |
int result; |
/* D8 read */ |
result = VMEread(hHandle, at, 1, n, buff); |
if (result) { |
printf("D8 read at 0x%X failed!\n", at); |
} |
// printf("0x%X, 0x%X, 0x%X, 0x%X\n", hHandle, at, n, * (unsigned short *) buff); |
return (result); |
} |
int WIENVME_read16 (int hHandle, unsigned long n, unsigned long at, void* buff) |
{ |
int result; |
/* D16 read */ |
result = VMEread(hHandle, at, 2, n, buff); |
if (result) { |
printf("D16 read at 0x%X failed!\n", at); |
} |
// printf("0x%X, 0x%X, 0x%X, 0x%X\n", hHandle, at, n, * (unsigned short *) buff); |
return (result); |
} |
int WIENVME_read32 (int hHandle, unsigned long n, unsigned long at, void* buff) |
{ |
int result; |
/* D32 read */ |
result = VMEread(hHandle, at, 4, n, buff); |
if (result) { |
printf("D32 read at 0x%X failed!\n", at); |
} |
//printf("0x%X, 0x%X, 0x%X, 0x%X\n", hHandle, at, n, * (unsigned short *) buff); |
return (result); |
} |
int WIENVME_write8 (int hHandle, unsigned long n, unsigned long at, void* buff) |
{ |
int result; |
/* D8 write */ |
result = VMEwrite(hHandle, at, 1, n, buff); |
if (result) { |
printf("D8 write at 0x%X failed!\n", at); |
} |
return (result); |
} |
int WIENVME_write16 (int hHandle, unsigned long n, unsigned long at, void* buff) |
{ |
int result; |
/* D16 write */ |
result = VMEwrite(hHandle, at, 2, n, buff); |
if (result) { |
printf("D16 write at 0x%X failed!\n", at); |
} |
return (result); |
} |
int WIENVME_write32 (int hHandle, unsigned long n, unsigned long at, void* buff) |
{ |
int result; |
/* D32 write */ |
result = VMEwrite(hHandle, at, 4, n, buff); |
if (result) { |
printf("D32 write at 0x%X failed!\n", at); |
} |
//printf("D32 write at 0x%X buff=0x%X\n", at,((int*) buff)[0]); |
return (result); |
} |
#ifndef VME_D32 |
#define VME_D8 0x1 |
#define VME_D16 0x2 |
#define VME_D32 0x4 |
#endif |
short __stdcall WIENVME_VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data){ |
int hHandle=0, nb=0; |
switch (AM){ |
case Ext_NoPriv_Data: hHandle = hHandle32; break; |
case Std_NoPriv_Data: hHandle = hHandle24; break; |
default : return 0; |
} |
switch (DW){ |
case VME_D16: nb= WIENVME_read16 (hHandle, 1, (unsigned long) VME_Address, (void*) Data) ; break; |
case VME_D32: nb= WIENVME_read32 (hHandle, 1, (unsigned long) VME_Address, (void*) Data) ; break; |
default: return 0; |
} |
return nb; |
} |
short __stdcall WIENVME_VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data){ |
int hHandle=0, nb=0; |
switch (AM){ |
case Ext_NoPriv_Data: hHandle = hHandle32; break; |
case Std_NoPriv_Data: hHandle = hHandle24; break; |
default : return 0; |
} |
switch (DW){ |
case VME_D16: nb= WIENVME_write16 (hHandle, 1, (unsigned long) VME_Address, (void*) &Data) ; break; |
case VME_D32: nb= WIENVME_write32 (hHandle, 1, (unsigned long) VME_Address, (void*) &Data) ; break; |
default: return 0; |
} |
return nb; |
} |
short __stdcall WIENVME_VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data){ |
return WIENVME_VME_W( AM, DW, VME_Address, Data); |
} |
short __stdcall WIENVME_VME_MWRST( void ){ |
return 0; |
} |
short __stdcall WIENVME_VME_MWEXEC( void ){ |
return 0; |
} |
short __stdcall WIENVME_VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data){ |
return WIENVME_VME_R( AM, DW, VME_Address, Data); |
} |
short __stdcall WIENVME_VME_MRRST( void ){ |
return 0; |
} |
short __stdcall WIENVME_VME_MREXEC( uint32_t *Data ){ |
return 0; |
} |
/cvi/instr/WIENVME_DLL/wienvme_dll.fp |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/cvi/instr/WIENVME_DLL/wienvme_dll.h |
---|
0,0 → 1,74 |
#ifndef _WIENVME_DLL_H |
#define _WIENVME_DLL_H |
#include <ansi_c.h> |
#include <stdint.h> |
#include <windows.h> |
#include <cvidef.h> |
extern int hHandle24, hHandle32; |
void WIENVME_load (char*); |
int WIENVME_open (int*, unsigned char, char*, unsigned short); |
int WIENVME_open24 (void); |
int WIENVME_open32 (void); |
int WIENVME_start (char*); |
void WIENVME_unload (void); |
int WIENVME_close (int); |
int WIENVME_close24 (void); |
int WIENVME_close32 (void); |
int WIENVME_stop (void); |
int WIENVME_reset (void); |
int WIENVME_read8 (int, unsigned long, unsigned long, void*); |
int WIENVME_read16 (int, unsigned long, unsigned long, void*); |
int WIENVME_read32 (int, unsigned long, unsigned long, void*); |
int WIENVME_write8 (int, unsigned long, unsigned long, void*); |
int WIENVME_write16 (int, unsigned long, unsigned long, void*); |
int WIENVME_write32 (int, unsigned long, unsigned long, void*); |
#define WIENVME_VME_START(NODE) WIENVME_start((NODE)) |
#define WIENVME_VME_STOP() WIENVME_stop() |
#define WIENVME_VME_RESET() WIENVME_reset() |
#define WIENVME_VME_A24D8_R(VME,DATA) WIENVME_read8(hHandle24, 1, (VME), (DATA)) |
#define WIENVME_VME_A24D16_R(VME,DATA) WIENVME_read16(hHandle24, 1, (VME), (DATA)) |
#define WIENVME_VME_A24D32_R(VME,DATA) WIENVME_read32(hHandle24, 1, (VME), (DATA)) |
#define WIENVME_VME_A24D8_W(VME,DATA) WIENVME_write8(hHandle24, 1, (VME), (DATA)) |
#define WIENVME_VME_A24D16_W(VME,DATA) WIENVME_write16(hHandle24, 1, (VME), (DATA)) |
#define WIENVME_VME_A24D32_W(VME,DATA) WIENVME_write32(hHandle24, 1, (VME), (DATA)) |
#define WIENVME_VME_A32D8_R(VME,DATA) WIENVME_read8(hHandle32, 1, (VME), (DATA)) |
#define WIENVME_VME_A32D16_R(VME,DATA) WIENVME_read16(hHandle32, 1, (VME), (DATA)) |
#define WIENVME_VME_A32D32_R(VME,DATA) WIENVME_read32(hHandle32, 1, (VME), (DATA)) |
#define WIENVME_VME_A32D8_W(VME,DATA) WIENVME_write8(hHandle32, 1, (VME), (DATA)) |
#define WIENVME_VME_A32D16_W(VME,DATA) WIENVME_write16(hHandle32, 1, (VME), (DATA)) |
#define WIENVME_VME_A32D32_W(VME,DATA) WIENVME_write32(hHandle32, 1, (VME), (DATA)) |
short __stdcall WIENVME_VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
short __stdcall WIENVME_VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
short __stdcall WIENVME_VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
short __stdcall WIENVME_VME_MWRST( void ); |
short __stdcall WIENVME_VME_MWEXEC( void ); |
short __stdcall WIENVME_VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
short __stdcall WIENVME_VME_MRRST( void ); |
short __stdcall WIENVME_VME_MREXEC( uint32_t *Data ); |
typedef unsigned short ADDRESS_MODIFIER; |
#define Std_Sup_Data (ADDRESS_MODIFIER)0x3d |
#define Std_Sup_Prog (ADDRESS_MODIFIER)0x3e |
#define Std_NoPriv_Data (ADDRESS_MODIFIER)0x39 |
#define Std_NoPriv_Prog (ADDRESS_MODIFIER)0x3a |
#define Short_Sup (ADDRESS_MODIFIER)0x2d |
#define Short_NoPriv (ADDRESS_MODIFIER)0x29 |
#define Ext_Sup_Data (ADDRESS_MODIFIER)0x0d |
#define Ext_Sup_Prog (ADDRESS_MODIFIER)0x0e |
#define Ext_NoPriv_Data (ADDRESS_MODIFIER)0x09 |
#define Ext_NoPriv_Prog (ADDRESS_MODIFIER)0x0a |
#endif |
/cvi/instr/WIENVME_DLL/pcivme_ni.lib |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |