📄 agilent_gpibctrl.h
字号:
// Agilent_GPIBCtrl.h: interface for the CAgilent_GPIBCtrl class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_AGILENT_GPIBCTRL_H__1CE9D2C7_5980_4DB0_ABB8_D6AAD789E03F__INCLUDED_)
#define AFX_AGILENT_GPIBCTRL_H__1CE9D2C7_5980_4DB0_ABB8_D6AAD789E03F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "sicl.h"
class CAgilent_GPIBCtrl
{
public:
double ReadCarrierWaveFreq();
float ReadCHP(int iTestChannel);
bool CheckThirdMask(int iTestChannel);
int GetSA();
int GetGPIB();
void SetTestChannel(int iTestChannel);
bool InitSA();
void Reset_Instruments();
bool Check_Instrument();
bool Local(INST DevID);
bool OffLine(INST DevID);
bool OnLine(INST DevID);
bool CloseDevice(INST* DevID);
bool OpenDevice(INST* DevID, char DevAdd[]);
void SetGPIB(int num);
void SetSA(int num);
INST SA_DevID;
CAgilent_GPIBCtrl();
virtual ~CAgilent_GPIBCtrl();
protected:
bool ReceiveStb(INST DevID, unsigned char *Stb);
bool Receive(INST DevID, float *fData);
bool Receive(INST DevID, int *iData);
bool Receive(INST DevID, char *cData);
bool Send(INST DevID, char *Cmd);
void SetSADevAddr(char *cSession, int iDevFace, int iPriAddr);
char SA_DevAddr[20];
int GPIB0;
int SA_Addr;
};
#endif // !defined(AFX_AGILENT_GPIBCTRL_H__1CE9D2C7_5980_4DB0_ABB8_D6AAD789E03F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -