gpib.h 645 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _GPIB_H_
  2. #define _GPIB_H_
  3. /*
  4. struct _GPIB_PROTOCOL_COMMAND
  5. {
  6. char * pstrCommandMnemonic;
  7. unsigned char cCommandID;
  8. };
  9. typedef struct _GPIB_PROTOCOL_COMMAND GPIB_PROTOCOL_COMMAND;
  10. __pkd__ struct _GPIB_PROTOCOL_DICTONARY
  11. {
  12. unsigned short int wCommandCount;
  13. GPIB_PROTOCOL_COMMAND arstCommands[GPIB_PROTOCOL_COMMANDS_COUNT];
  14. } __pk__;
  15. typedef struct _GPIB_PROTOCOL_DICTONARY GPIB_PROTOCOL_DICTONARY;
  16. */
  17. #ifdef _USBTMC_C_
  18. #ifndef _GPIB_VAR_
  19. #define _GPIB_VAR_
  20. /*const __root GPIB_PROTOCOL_DICTONARY stGPIBProtocol;*/
  21. #endif
  22. #else
  23. extern const __root GPIB_PROTOCOL_DICTONARY stGPIBProtocol;
  24. #endif
  25. #endif