⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 advai.h

📁 研华4711a数据采集卡输出和输入界面
💻 H
字号:
#if !defined(AFX_ADVAI_H__26E231E0_0A6A_41AC_BB56_DB652D36A865__INCLUDED_)
#define AFX_ADVAI_H__26E231E0_0A6A_41AC_BB56_DB652D36A865__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CAdvAI wrapper class

class CAdvAI : public CWnd
{
protected:
	DECLARE_DYNCREATE(CAdvAI)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x81465c68, 0xd232, 0x4c7d, { 0x81, 0x24, 0xd1, 0x6e, 0xee, 0xd2, 0x72, 0xd2 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:

// Operations
public:
	long GetDeviceNumber();
	void SetDeviceNumber(long nNewValue);
	CString GetDeviceName();
	BOOL SelectDevice();
	long GetDeviceListNext(BSTR* pDeviceName);
	long GetDeviceListFirst(BSTR* pDeviceName);
	long GetChannelNow();
	void SetChannelNow(long nNewValue);
	long GetResolution();
	long GetResolutionInByte();
	long GetChannelMaxNumber();
	CString GetDataValueRange();
	void SetDataValueRange(LPCTSTR lpszNewValue);
	long GetChannelSignalConnection();
	void SetChannelSignalConnection(long nNewValue);
	double GetDataAnalog();
	long GetDataDigital();
	long GetChannelScanStart();
	void SetChannelScanStart(long nNewValue);
	long GetChannelScanCount();
	void SetChannelScanCount(long nNewValue);
	long GetDataPacerSource();
	void SetDataPacerSource(long nNewValue);
	long GetTraceTriggerMode();
	void SetTraceTriggerMode(long nNewValue);
	double GetTraceTriggerAboutModeAfterTime();
	void SetTraceTriggerAboutModeAfterTime(double newValue);
	double GetTraceTriggerDelayTime();
	void SetTraceTriggerDelayTime(double newValue);
	double GetDataSampleRate();
	void SetDataSampleRate(double newValue);
	long GetLastErrorCode();
	void SetLastErrorCode(long nNewValue);
	CString GetLastErrorMessage();
	void SetLastErrorMessage(LPCTSTR lpszNewValue);
	long GetDataReturnType();
	void SetDataReturnType(long nNewValue);
	double GetTraceTriggerValue();
	void SetTraceTriggerValue(double newValue);
	long GetTraceTriggerEdge();
	void SetTraceTriggerEdge(long nNewValue);
	BOOL StopAcquireBulkData(long timeOut);
	VARIANT AcquireScanChannelData(BOOL analog);
	BOOL GetValueRangeListFirst(double* boundaryLow, double* boundaryHigh, long* gainCode);
	BOOL GetValueRangeListNext(double* boundaryLow, double* boundaryHigh, long* gainCode);
	BOOL SetValueRange(long channel, double boundaryLow, double boundaryHigh);
	BOOL GetValueRange(long channel, double* boundaryLow, double* boundaryHigh, long* gainCode);
	BOOL ConvertDigitalFileToAnalog(LPCTSTR dataFileDigital, LPCTSTR dataFileAnalog, LPCTSTR formatItem, LPCTSTR formatLine);
	long AcquireBulkDataToFile(long dataCount, LPCTSTR dataFileName, long timeOut, BOOL synchronous);
	long AcquireBulkDataToMemory(long dataCount, VARIANT* dataBuffer, long timeOut, BOOL cyclic, BOOL synchronous);
	BOOL ConvertDigitalValueToAnalog(const VARIANT& dataArrayDigital, VARIANT* dataArrayAnalog, long dataCount);
	long GetTraceTriggerSource();
	void SetTraceTriggerSource(long nNewValue);
	long GetChannelOfExpansionBoard();
	void SetChannelOfExpansionBoard(long nNewValue);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ADVAI_H__26E231E0_0A6A_41AC_BB56_DB652D36A865__INCLUDED_)

⌨️ 快捷键说明

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