You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1013 B
C++
35 lines
1013 B
C++
// Output_9222.h: interface for the COutput_9222 class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_OUTPUT_9222_H__78467BE2_3FD4_4D67_9A9C_BC2BDE608941__INCLUDED_)
|
|
#define AFX_OUTPUT_9222_H__78467BE2_3FD4_4D67_9A9C_BC2BDE608941__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "OutputBase.h"
|
|
|
|
// NOTE: the Channel/Point number for analog output is 0 and 1 only
|
|
// However, MIT internal setting is 16 and 17.
|
|
class COutput_9222 : public COutputBase
|
|
{
|
|
public:
|
|
COutput_9222(const COutputSetting &Setting);
|
|
virtual ~COutput_9222();
|
|
|
|
// dVoltage = -10V to +10V
|
|
// dRange = dummy value. Not in Used for this card.
|
|
// method to set analog output voltage
|
|
BOOL SetVoltage(double dVoltage, double dRange = -10);
|
|
|
|
// method to set output to OFF
|
|
BOOL Off();
|
|
|
|
// method to set output to ON
|
|
BOOL On();
|
|
};
|
|
|
|
#endif // !defined(AFX_OUTPUT_9222_H__78467BE2_3FD4_4D67_9A9C_BC2BDE608941__INCLUDED_)
|