ivivisatype.h

来自「此为某测试平台的上位机软件部分」· C头文件 代码 · 共 67 行

H
67
字号
/****************************************************************************
 * IviVisaType.h
 *
 * Copyright (c) Interchangeable Virtual Instruments Foundation 2001.  
 * All Rights Reserved.
 *
 ****************************************************************************/
#ifndef IVI_VISA_TYPE_H
#define IVI_VISA_TYPE_H

#define _VI_FUNC __stdcall

/*- VISA Types --------------------------------------------------------------*/
typedef unsigned long       ViUInt32;

typedef signed long         ViInt32;

typedef unsigned short      ViUInt16;

typedef signed short        ViInt16;

typedef unsigned char       ViUInt8;

typedef signed char         ViInt8;

typedef char                ViChar;

typedef unsigned char       ViByte;

typedef void*               ViAddr;

typedef float               ViReal32;

typedef double              ViReal64;

typedef ViByte*             ViBuf;

typedef ViChar*             ViString;

typedef ViString            ViRsrc;

typedef ViUInt16            ViBoolean;

typedef ViInt32             ViStatus;

typedef ViUInt32            ViVersion;

typedef ViUInt32            ViObject;

typedef ViObject            ViSession;

typedef ViUInt32            ViAttr;

typedef const ViChar * ViConstString;

/*- Other VISA Definitions --------------------------------------------------*/
#define VI_SUCCESS          (0L)

#define VI_NULL             (0)

#define VI_TRUE             (1)

#define VI_FALSE            (0)

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?