Rev 17 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16 | f9daq | 1 | #ifndef __PCIVME_NI_NT_H__ |
2 | #define __PCIVME_NI_NT_H__ |
||
3 | |||
4 | //------------------------------------------------------------------------------------------- |
||
5 | // pcivme_ni_NT.c - a ni labview dll skeleton for the ARW pcivme interface, winNT |
||
6 | // |
||
7 | // (c) 1999-2004 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_NT.h,v $ |
||
19 | // Revision 1.2 2004/07/24 07:47:00 klaus |
||
20 | // Update copyright to 2004 |
||
21 | // |
||
22 | // Revision 1.1.1.1 2003/11/14 23:17:18 klaus |
||
23 | // First put into repository |
||
24 | // |
||
25 | // Revision 1.2 2002/10/27 17:05:33 klaus |
||
26 | // CVS log added, file addressing bug > 2 Gbtye circumvent |
||
27 | // |
||
28 | // what who when |
||
29 | // first steps AR 07.11.1999 |
||
30 | // |
||
31 | |||
32 | //------------------------------------------------------------------------------------------- |
||
33 | // FUNCTIONS |
||
34 | // |
||
35 | #include <windows.h> |
||
36 | |||
37 | //------------------------------------------------------------------------------------------- |
||
38 | // FUNCTIONS |
||
39 | // |
||
40 | int VMEinitNT(const char *cszDeviceName, unsigned short nVMEMM, unsigned char ubAddressModifier, int *pnHandle); |
||
41 | int VMEreadNT(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer); |
||
42 | int VMEwriteNT(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer); |
||
43 | int VMEaccessVICNT(int nHandle, unsigned char ubAccessMode, unsigned short uwAddress, unsigned char *ubContent); |
||
44 | int VMEresetNT(int nHandle); |
||
45 | int VMETASNT(int nHandle, unsigned long ulAddress, unsigned char *ubResult); |
||
46 | int VMEinterruptNT(int nHandle, unsigned char *ubVector); |
||
47 | int VMEsysfailGetNT(int nHandle, BOOLEAN *bResult); |
||
48 | int VMEsysfailSetNT(int nHandle, BOOLEAN bForce); |
||
49 | int VMEcloseNT(int nHandle); |
||
50 | |||
51 | #endif /* __PCIVME_NI_NT_H__ */ |