|
|
|
|
// OutputController_7856.h: interface for the COutputController_7856 class.
|
|
|
|
|
//
|
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#if !defined(AFX_OUTPUTCONTROLLER_7856_H__35C41678_8787_408E_854C_739C6DE40BCF__INCLUDED_)
|
|
|
|
|
#define AFX_OUTPUTCONTROLLER_7856_H__35C41678_8787_408E_854C_739C6DE40BCF__INCLUDED_
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
|
|
|
|
|
#include "OutputControllerBase.h"
|
|
|
|
|
|
|
|
|
|
class COutputController_7856 : public COutputControllerBase
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
COutputController_7856();
|
|
|
|
|
virtual ~COutputController_7856();
|
|
|
|
|
|
|
|
|
|
// method to initialise the input controller card
|
|
|
|
|
BOOL Init(int nCardType, CArray<stCard, stCard> &astCard);
|
|
|
|
|
|
|
|
|
|
// method to close the input controller card
|
|
|
|
|
void Close(int nCardType);
|
|
|
|
|
|
|
|
|
|
// method to set analog voltage
|
|
|
|
|
BOOL SetVoltage(const COutputSetting &OutputSetting, double dVoltage, double dRange);
|
|
|
|
|
|
|
|
|
|
// method to turn output OFF
|
|
|
|
|
BOOL Off(const COutputSetting &OutputSetting);
|
|
|
|
|
|
|
|
|
|
// method to turn output ON
|
|
|
|
|
BOOL On(const COutputSetting &OutputSetting);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // !defined(AFX_OUTPUTCONTROLLER_7856_H__35C41678_8787_408E_854C_739C6DE40BCF__INCLUDED_)
|