Subversion Repositories f9daq

Rev

Rev 16 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  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-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.h,v $
  19. // Revision 1.2  2004/07/24 08:05:31  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     17.11.1999
  30. // modified for use with C++                                         AR     08.06.2002
  31. //
  32.  
  33. //-------------------------------------------------------------------------------------------
  34. // FUNCTIONS
  35. //
  36. #ifdef __cplusplus
  37. extern "C"
  38. {
  39. #endif
  40.  
  41. int __declspec(dllexport) VMEinit(const char *cszDeviceName, unsigned short nVMEMM, unsigned char ubAddressModifier, int *pnHandle);
  42. int __declspec(dllexport) VMEread(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer);
  43. int __declspec(dllexport) VMEwrite(int nHandle, unsigned long ulAddress, unsigned char ubAccessWidth, unsigned long ulElementCount, void *pvBuffer);
  44. int __declspec(dllexport) VMEaccessVIC(int nHandle, unsigned char ubAccessMode, unsigned short uwAddress, unsigned char *ubContent);
  45. int __declspec(dllexport) VMEreset(int nHandle);
  46. int __declspec(dllexport) VMETAS(int nHandle, unsigned long ulAddress, unsigned char *ubResult);
  47. int __declspec(dllexport) VMEinterrupt(int nHandle, unsigned char *ubVector);
  48. int __declspec(dllexport) VMEsysfailGet(int nHandle, BOOLEAN *bResult);
  49. int __declspec(dllexport) VMEsysfailSet(int nHandle, BOOLEAN bForce);
  50. int __declspec(dllexport) VMEclose(int nHandle);
  51.  
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55.  
  56. #endif /* __PCIVME_NI_H__ */