Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Keithley_6514.h 1.36 KiB
// ============================================================================
//
// = CONTEXT
//    TANGO Project - SCPI Keithley Electrometer Support Library
//
// = FILENAME
//    Keithley_6514.h
//
// = AUTHOR
//    X. Elattaoui
//
// ============================================================================

#ifndef _Keithley_6514_H_
#define _Keithley_6514_H_

#include "AbstractElectrometerClass.h"

/**
 *  \addtogroup SCPI Keithley
 *  @{
 */

/**
 *  \brief This class manage 6514 Keithley type
 *
 *  \author Xavier Elattaoui
 *  \date 11-2006
 */

class Keithley_6514 : public AbstractElectrometerClass
{
public:

	/**
	*  \brief Initialization. 
	*/
	Keithley_6514 (std::string& comLink_device_name);
	
	/**
	*  \brief Release resources.
	*/
	virtual ~Keithley_6514 (void);

	/**
	*  \brief Device dependent commands.
	*/
	void range_up (void);
	void range_down (void);
	
	std::vector<double> get_integratedValue (void);
	std::vector<double> get_fetchValue      (void);
	/**
	*  \brief Electrometer Mode.
	*/
	void setAmperMeterMode (void);
	void setVoltMeterMode (void);
	void setOhmMeterMode (void);
	void setCoulombMeterMode (void);

	//-	TODO :
	//	SCPI_Filters*	_ddcFilters;
	//	SCPI_Triggers*	_ddcTriggers;
private:
	//- method to obtain the range index
	void update_range (void);
	std::string _kmode;
	
};
/** @} */	//- end addtogroup

#endif // _Keithley_6514_H_