<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Electrometers Library: ElectrometerProtocol Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.9.1 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a></div> <h1>ElectrometerProtocol Class Reference<br> <small> [<a class="el" href="group___standard.html">Commands Protocol</a>]</small> </h1>This abstract class manage the Electrometers Commands Protocol. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="_electrometer_protocol_8h-source.html">ElectrometerProtocol.h</a>></code> <p> <p>Inheritance diagram for ElectrometerProtocol: <p><center><img src="class_electrometer_protocol.png" usemap="#ElectrometerProtocol_map" border="0" alt=""></center> <map name="ElectrometerProtocol_map"> <area href="class_keithley_d_d_c_protocol.html" alt="KeithleyDDCProtocol" shape="rect" coords="0,56,132,80"> <area href="class_keithley_s_c_p_i_protocol.html" alt="KeithleySCPIProtocol" shape="rect" coords="142,56,274,80"> <area href="class_novelec_protocol.html" alt="NovelecProtocol" shape="rect" coords="284,56,416,80"> </map> <a href="class_electrometer_protocol-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola0" doxytag="ElectrometerProtocol::ElectrometerProtocol"></a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_electrometer_protocol.html#_electrometer_protocola0">ElectrometerProtocol</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialization. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola1" doxytag="ElectrometerProtocol::~ElectrometerProtocol"></a> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_electrometer_protocol.html#_electrometer_protocola1">~ElectrometerProtocol</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Release resources. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola2" doxytag="ElectrometerProtocol::set_range"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_electrometer_protocol.html#_electrometer_protocola2">set_range</a> (std::string val)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Common Electrometer Functions. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola3" doxytag="ElectrometerProtocol::reset"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>reset</b> (void)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola35" doxytag="ElectrometerProtocol::local"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>local</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola36" doxytag="ElectrometerProtocol::remote"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>remote</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola6" doxytag="ElectrometerProtocol::get_value"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_electrometer_protocol.html#_electrometer_protocola6">get_value</a> (void)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Common Electrometer : getters & setters. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola7" doxytag="ElectrometerProtocol::get_mode"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_mode</b> (void)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola8" doxytag="ElectrometerProtocol::get_range"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_range</b> (void)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_electrometer_protocola9" doxytag="ElectrometerProtocol::get_raw_status"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_electrometer_protocol.html#_electrometer_protocola9">get_raw_status</a> (void)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Common Get Raw Electrometer Status. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola24" doxytag="ElectrometerProtocol::init_keithley"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_electrometer_protocol.html#_novelec_protocola24">init_keithley</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Electrometer : Keithley protocol dependent commands. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola25" doxytag="ElectrometerProtocol::set_knplc"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>set_knplc</b> (std::string nPLC)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola26" doxytag="ElectrometerProtocol::set_triggercount"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>set_triggercount</b> (std::string trigcounts)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola27" doxytag="ElectrometerProtocol::set_averagecount"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>set_averagecount</b> (std::string avercounts)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola28" doxytag="ElectrometerProtocol::set_averagecontrol"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>set_averagecontrol</b> (std::string averctrl)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola29" doxytag="ElectrometerProtocol::get_knplc"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_knplc</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola30" doxytag="ElectrometerProtocol::get_triggercount"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_triggercount</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola31" doxytag="ElectrometerProtocol::get_averagecount"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_averagecount</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola32" doxytag="ElectrometerProtocol::get_averagecontrol"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_averagecontrol</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola33" doxytag="ElectrometerProtocol::clear_registers"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>clear_registers</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola34" doxytag="ElectrometerProtocol::averageStateON"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>averageStateON</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola35" doxytag="ElectrometerProtocol::averageStateOFF"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>averageStateOFF</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola36" doxytag="ElectrometerProtocol::setAmperMeterMode"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>setAmperMeterMode</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola37" doxytag="ElectrometerProtocol::setVoltMeterMode"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>setVoltMeterMode</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola38" doxytag="ElectrometerProtocol::setOhmMeterMode"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>setOhmMeterMode</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola39" doxytag="ElectrometerProtocol::setCoulombMeterMode"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>setCoulombMeterMode</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola40" doxytag="ElectrometerProtocol::autoRange_on"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>autoRange_on</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola41" doxytag="ElectrometerProtocol::autoRange_off"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>autoRange_off</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola42" doxytag="ElectrometerProtocol::zero_check_on"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>zero_check_on</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola43" doxytag="ElectrometerProtocol::zero_check_off"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>zero_check_off</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola44" doxytag="ElectrometerProtocol::zero_correct_on"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>zero_correct_on</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola45" doxytag="ElectrometerProtocol::zero_correct_off"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>zero_correct_off</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola46" doxytag="ElectrometerProtocol::auto_zero_on"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>auto_zero_on</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocola47" doxytag="ElectrometerProtocol::auto_zero_off"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>auto_zero_off</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola37" doxytag="ElectrometerProtocol::switch_MCCE2_ON"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_electrometer_protocol.html#_keithley_s_c_p_i_protocola37">switch_MCCE2_ON</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Electrometer : Novelec protocol dependent commands. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola38" doxytag="ElectrometerProtocol::switch_MCCE2_OFF"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>switch_MCCE2_OFF</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola39" doxytag="ElectrometerProtocol::unable_zeroVF_func"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>unable_zeroVF_func</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola40" doxytag="ElectrometerProtocol::unable_offset_zeroV1_func"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>unable_offset_zeroV1_func</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola41" doxytag="ElectrometerProtocol::unable_leakage_zeroV2_func"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>unable_leakage_zeroV2_func</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola42" doxytag="ElectrometerProtocol::unable_test_func"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>unable_test_func</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola43" doxytag="ElectrometerProtocol::get_polarity"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_polarity</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola44" doxytag="ElectrometerProtocol::get_frequency"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_frequency</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola45" doxytag="ElectrometerProtocol::get_gain"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><b>get_gain</b> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola46" doxytag="ElectrometerProtocol::set_polarity"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>set_polarity</b> (std::string pola)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola47" doxytag="ElectrometerProtocol::set_frequency"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>set_frequency</b> (std::string freq)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_keithley_s_c_p_i_protocola48" doxytag="ElectrometerProtocol::set_gain"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>set_gain</b> (std::string gain)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocolp4" doxytag="ElectrometerProtocol::_range"></a> short </td><td class="memItemRight" valign="bottom"><b>_range</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocolp5" doxytag="ElectrometerProtocol::_mode"></a> std::string </td><td class="memItemRight" valign="bottom"><b>_mode</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_novelec_protocolp6" doxytag="ElectrometerProtocol::_communication_link"></a> <a class="el" href="class_communication_link.html">CommunicationLink</a> * </td><td class="memItemRight" valign="bottom"><b>_communication_link</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This abstract class manage the Electrometers Commands Protocol. <p> <dl compact><dt><b>Author:</b></dt><dd>Xavier Elattaoui </dd></dl> <dl compact><dt><b>Date:</b></dt><dd>11-2006 </dd></dl> <p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="_electrometer_protocol_8h-source.html">ElectrometerProtocol.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 1 15:32:19 2006 for Electrometers Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> </body> </html>