Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16 f9daq 1
#ifndef __PCIVME_NI_H__
2
#define __PCIVME_NI_H__
3
 
4
//-------------------------------------------------------------------------------------------
5
// pcivme_ni.h - header for ni-labview dll for ARW pcivme interface
6
//
7
// (c) 1999-2002 ARW Elektronik, Germany
8
//
9
// this source code is published under GPL (Open Source). You can use, redistrubute and
10
// modify it unless this header  is  not modified or deleted. No warranty is given that
11
// this software will work like expected.
12
// This product is not authorized for use as critical component in life support systems
13
// wihout the express written approval of ARW Elektronik Germany.
14
//
15
// Please announce changes and hints to ARW Elektronik
16
//
17
//
18
// $Log: pcivme_ni.h,v $
19
// Revision 1.1.1.1  2003/11/14 23:17:18  klaus
20
// First put into repository
21
//
22
// Revision 1.2  2002/10/27 17:05:33  klaus
23
// CVS log added, file addressing bug > 2 Gbtye circumvent
24
//
25
// what                                                              who    when
26
// first steps                                                       AR     17.11.1999
27
// modified for use with C++                                         AR     08.06.2002
28
//
29
 
30
//-------------------------------------------------------------------------------------------
31
// FUNCTIONS
32
//
33
#ifdef __cplusplus
34
extern "C"
35
{
36
#endif
37
 
38
int __declspec(dllexport) VMEinit(const char *cszDeviceName, unsigned short nVMEMM, unsigned char ubAddressModifier, int *pnHandle);
39
int __declspec(dllexport) VMEread(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer);
40
int __declspec(dllexport) VMEwrite(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer);
41
int __declspec(dllexport) VMEaccessVIC(int nHandle, unsigned char ubAccessMode, unsigned short uwAddress, unsigned char *ubContent);
42
int __declspec(dllexport) VMEreset(int nHandle);
43
int __declspec(dllexport) VMETAS(int nHandle, unsigned long ulAddress, unsigned char *ubResult);
44
int __declspec(dllexport) VMEinterrupt(int nHandle, unsigned char *ubVector);
45
int __declspec(dllexport) VMEsysfailGet(int nHandle, BOOLEAN *bResult);
46
int __declspec(dllexport) VMEsysfailSet(int nHandle, BOOLEAN bForce);
47
int __declspec(dllexport) VMEclose(int nHandle);
48
 
49
#ifdef __cplusplus
50
}
51
#endif
52
 
53
#endif /* __PCIVME_NI_H__ */