TwiceAsNice  2019-02-18
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Basda::Tempo::LakeshoreController331S Class Reference

#include <LakeshoreController331S.h>

Collaboration diagram for Basda::Tempo::LakeshoreController331S:
Collaboration graph

Public Member Functions

 LakeshoreController331S ()
 
 LakeshoreController331S (std::string connection, bool create)
 
virtual ~LakeshoreController331S ()
 
void createChatLine (const std::string &connection)
 
void createChatLine ()
 
void closeChatLine ()
 
std::string getAnswer ()
 
void setCLS ()
 command to clear the interface of the device More...
 
void setESE (int weight)
 sets the configure status reports in the standard event register More...
 
void queryESE (int &bitweight)
 gets the configuration of status reports in the event status register More...
 
void queryESR (int &bitweight)
 gets the standard event status register More...
 
void queryIDN ()
 gets the identification of the device More...
 
void queryIDN (std::string &manufacture, std::string &model, std::string &serialnumber, std::string &firmwarerevisionmmddyy)
 gets the identification of the device and splits it into its parts More...
 
void setOPC ()
 sets operation complete command More...
 
void queryOPC ()
 query operation complete. More...
 
void setRST ()
 reset the instrument More...
 
void setSRE (int weight)
 set the status reports in the service request enable register More...
 
void querySRE (int &bitweight)
 query the configuration of status reports in the service request enable register More...
 
void querySTB (int &bitweight)
 query the status byte More...
 
void queryTST (bool &errorfound)
 enable selftest of the device More...
 
void setALARM (char input, bool alarm, int source, double high, double low, double dead, bool latch)
 sets the alarm parameters More...
 
void queryALARM (char input, bool &onoff, int &source, double &highvalue, double &lowvalue, double &deadband, bool &latch_enabled)
 query the input alarm parameters More...
 
void queryALARMST (char input, bool &highstate, bool &lowstate)
 query the input alarm status More...
 
void setALMRST ()
 clear alarm status for all inputs More...
 
void setANALOG (bool bipolar, int mode, char input, int source, double high, double low, double manual)
 configure analog output parameters More...
 
void queryANALOG (bool &bipolar, int &mode, std::string &input, int &source, double &high, double &low, double &manual)
 query analog output parameters More...
 
void queryAOUT (double &aoutput)
 query analog output data 2nd loop More...
 
void setBAUD (int baud)
 sets the serial interface baud rate More...
 
void queryBAUD (int &baud)
 query the current serial interface baud rate More...
 
void setBEEP (bool beep)
 sets the Alarm Beeper More...
 
void queryBEEP (bool &beep)
 query the alarm beeper status More...
 
void setBRIGT (int bright)
 sets the display brightness More...
 
void queryBRIGT (int &bright)
 query the display brightness More...
 
void setCMODE (int loop, int mode)
 set the control loop mode More...
 
void queryCMODE (int loop, int &mode)
 query the control loop mode More...
 
void queryCRDG (char input, double &value)
 query the celsius reading from an input More...
 
void setCRVDEL (int curve)
 delete a user specified curve More...
 
void setCRVHDR (int curve, std::string name, std::string snum, int format, double limit, int coeff)
 configure the curve header More...
 
void queryCRVHDR (int curve, std::string &name, std::string &snum, int &format, double &limit, int &coeff)
 query curve header More...
 
void setCRVPT (int curve, int index, double units, double temp)
 configure curve data point More...
 
void queryCRVPT (int curve, int index, double &units, double &temp)
 query curve data point More...
 
void setCSET (int loop, char input, int units, bool pwrup, int curpwr)
 configure the control loop parameter More...
 
void queryCSET (int loop, std::string &input, int &units, bool &pwrup, int &curpwr)
 query control loop parameters More...
 
void setDFLT ()
 set to factory defaults More...
 
void setDISPFLD (int location, int item, int source)
 configure display parameters More...
 
void queryDISPFLD (int location, int &item, int &source)
 query display field More...
 
void setEMUL (bool emulation)
 sets 330 emulation mode on or off More...
 
void queryEMUL (bool &onoff)
 checks whether 330 emulation mode is active or not More...
 
void setFILTER (char input, bool filter, int points, int win)
 configure input filter parameters More...
 
void queryFILTER (char input, bool &filter, int &points, int &win)
 query input filter parameters More...
 
void queryHTR (double &output)
 query heater output More...
 
void queryHTRST (int &status)
 query heater status More...
 
void setIEEE (int terminator, bool eoi, int address)
 configure IEEE-488 interface parameters More...
 
void queryIEEE (int &terminator, bool &eoi, int &address)
 query the IEEE-488 interface parameters More...
 
void setINCRV (char input, int curve)
 configure curve input number More...
 
void queryINCRV (char input, int &curve)
 query input curve number More...
 
void setINTYPE (char input, int type, bool compensation)
 set input type parameter More...
 
void queryINTYPE (char input, int &type, bool &compensation)
 query the input type parameters More...
 
void queryKEYST (bool &pressed)
 query keypad status More...
 
void queryKRDG (char input, double &value)
 query Kelvin reading for an input More...
 
void queryLDAT (char input, double &value)
 query linear input equation data More...
 
void setLINEAR (char input, int equ, double varM, int srcX, int srcB, double varB)
 set the input linear equation parameter More...
 
void queryLINEAR (char input, int &equ, double &varM, int &srcX, int &srcB, double &varB)
 get the linear equation parameter More...
 
void setLOCK (bool lock, int code)
 configure Lock-out and Lock-out code More...
 
void queryLOCK (bool &locked, int &code)
 query lock-out and lock-out code More...
 
void queryMDAT (char input, double &minvalue, double &maxvalue)
 query the minimum/maximum data More...
 
void setMNMX (char input, int source)
 configure minimum and maximum input function parameters More...
 
void queryMNMX (char input, int &source)
 query minimum and maximum input function parameters More...
 
void setMNMXRST ()
 reset all min/max function for all inputs More...
 
void setMODE (int mode)
 configure remote interface mode More...
 
void queryMODE (int &mode)
 query remote interface mode More...
 
void setMOUT (int loop, double value)
 set the control loop manual heater power (MHP) output More...
 
void queryMOUT (int loop, double &value)
 get the control loop manual heater power (MHP) output More...
 
void setPID (int loop, double valueP, double valueI, double valueD)
 set the control loop PID values More...
 
void queryPID (int loop, double &valueP, double &valueI, double &valueD)
 get the control loop PID values More...
 
void setRAMP (int loop, bool onoff, double rate)
 set the control setpoint ramp parameter More...
 
void queryRAMP (int loop, bool &onoff, double &rate)
 get the control setpoint ramp parameter More...
 
void queryRAMPST (int loop, bool &status)
 get control setpoint ramp status More...
 
void queryRANGE (int &range)
 get the currently applied heater range from loop 1 More...
 
void setRANGE (int range)
 set the heater range for loop 1 More...
 
void queryRDGST (char input, int &bitweight)
 get input reading status More...
 
void setRELAY (int relay, int mode, char input, int type)
 configure relay control parameters More...
 
void queryRELAY (int relay, int &mode, std::string &input, int &type)
 query relay control parameters More...
 
void queryRELAYST (int type, bool &onoff)
 query relay status More...
 
void queryREV (std::string &firmwarerevision)
 query input firmware revision More...
 
void setSCAL (int std, int dest, std::string snum, double temp1, double unit1, double temp2, double unit2, double temp3, double unit3)
 generate a SoftCal(TM) curve More...
 
void setSETP (int loop, double setpoint)
 set control setpoint More...
 
void querySETP (int loop, double &setpoint)
 query the control setpoint More...
 
void querySRDG (char input, double &value)
 query the sensor unit input reading More...
 
void queryTEMP (double &valuekelvin)
 query the thermocouple junction temperature More...
 
void queryTUNEST (bool &activetuning)
 query the control tuning status More...
 
void setZONE (int loop, int zone, double top, double valueP, double valueI, double valueD, double mout, int range)
 set the control loop zone table parameter More...
 
void queryZONE (int loop, int zone, double &top, double &valueP, double &valueI, double &valueD, double &mout, int &range)
 query the control loop zone parameter More...
 
 LakeshoreController331S ()
 
 LakeshoreController331S (std::string connection, bool create)
 
virtual ~LakeshoreController331S ()
 
void createChatLine (const std::string &connection)
 
void createChatLine ()
 
void closeChatLine ()
 
std::string getAnswer ()
 
void setCLS ()
 command to clear the interface of the device More...
 
void setESE (int weight)
 sets the configure status reports in the standard event register More...
 
void queryESE (int &bitweight)
 gets the configuration of status reports in the event status register More...
 
void queryESR (int &bitweight)
 gets the standard event status register More...
 
void queryIDN ()
 gets the identification of the device More...
 
void queryIDN (std::string &manufacture, std::string &model, std::string &serialnumber, std::string &firmwarerevisionmmddyy)
 gets the identification of the device and splits it into its parts More...
 
void setOPC ()
 sets operation complete command More...
 
void queryOPC ()
 query operation complete. More...
 
void setRST ()
 reset the instrument More...
 
void setSRE (int weight)
 set the status reports in the service request enable register More...
 
void querySRE (int &bitweight)
 query the configuration of status reports in the service request enable register More...
 
void querySTB (int &bitweight)
 query the status byte More...
 
void queryTST (bool &errorfound)
 enable selftest of the device More...
 
void setALARM (char input, bool alarm, int source, double high, double low, double dead, bool latch)
 sets the alarm parameters More...
 
void queryALARM (char input, bool &onoff, int &source, double &highvalue, double &lowvalue, double &deadband, bool &latch_enabled)
 query the input alarm parameters More...
 
void queryALARMST (char input, bool &highstate, bool &lowstate)
 query the input alarm status More...
 
void setALMRST ()
 clear alarm status for all inputs More...
 
void setANALOG (bool bipolar, int mode, char input, int source, double high, double low, double manual)
 configure analog output parameters More...
 
void queryANALOG (bool &bipolar, int &mode, std::string &input, int &source, double &high, double &low, double &manual)
 query analog output parameters More...
 
void queryAOUT (double &aoutput)
 query analog output data 2nd loop More...
 
void setBAUD (int baud)
 sets the serial interface baud rate More...
 
void queryBAUD (int &baud)
 query the current serial interface baud rate More...
 
void setBEEP (bool beep)
 sets the Alarm Beeper More...
 
void queryBEEP (bool &beep)
 query the alarm beeper status More...
 
void setBRIGT (int bright)
 sets the display brightness More...
 
void queryBRIGT (int &bright)
 query the display brightness More...
 
void setCMODE (int loop, int mode)
 set the control loop mode More...
 
void queryCMODE (int loop, int &mode)
 query the control loop mode More...
 
void queryCRDG (char input, double &value)
 query the celsius reading from an input More...
 
void setCRVDEL (int curve)
 delete a user specified curve More...
 
void setCRVHDR (int curve, std::string name, std::string snum, int format, double limit, int coeff)
 configure the curve header More...
 
void queryCRVHDR (int curve, std::string &name, std::string &snum, int &format, double &limit, int &coeff)
 query curve header More...
 
void setCRVPT (int curve, int index, double units, double temp)
 configure curve data point More...
 
void queryCRVPT (int curve, int index, double &units, double &temp)
 query curve data point More...
 
void setCSET (int loop, char input, int units, bool pwrup, int curpwr)
 configure the control loop parameter More...
 
void queryCSET (int loop, std::string &input, int &units, bool &pwrup, int &curpwr)
 query control loop parameters More...
 
void setDFLT ()
 set to factory defaults More...
 
void setDISPFLD (int location, int item, int source)
 configure display parameters More...
 
void queryDISPFLD (int location, int &item, int &source)
 query display field More...
 
void setEMUL (bool emulation)
 sets 330 emulation mode on or off More...
 
void queryEMUL (bool &onoff)
 checks whether 330 emulation mode is active or not More...
 
void setFILTER (char input, bool filter, int points, int win)
 configure input filter parameters More...
 
void queryFILTER (char input, bool &filter, int &points, int &win)
 query input filter parameters More...
 
void queryHTR (double &output)
 query heater output More...
 
void queryHTRST (int &status)
 query heater status More...
 
void setIEEE (int terminator, bool eoi, int address)
 configure IEEE-488 interface parameters More...
 
void queryIEEE (int &terminator, bool &eoi, int &address)
 query the IEEE-488 interface parameters More...
 
void setINCRV (char input, int curve)
 configure curve input number More...
 
void queryINCRV (char input, int &curve)
 query input curve number More...
 
void setINTYPE (char input, int type, bool compensation)
 set input type parameter More...
 
void queryINTYPE (char input, int &type, bool &compensation)
 query the input type parameters More...
 
void queryKEYST (bool &pressed)
 query keypad status More...
 
void queryKRDG (char input, double &value)
 query Kelvin reading for an input More...
 
void queryLDAT (char input, double &value)
 query linear input equation data More...
 
void setLINEAR (char input, int equ, double varM, int srcX, int srcB, double varB)
 set the input linear equation parameter More...
 
void queryLINEAR (char input, int &equ, double &varM, int &srcX, int &srcB, double &varB)
 get the linear equation parameter More...
 
void setLOCK (bool lock, int code)
 configure Lock-out and Lock-out code More...
 
void queryLOCK (bool &locked, int &code)
 query lock-out and lock-out code More...
 
void queryMDAT (char input, double &minvalue, double &maxvalue)
 query the minimum/maximum data More...
 
void setMNMX (char input, int source)
 configure minimum and maximum input function parameters More...
 
void queryMNMX (char input, int &source)
 query minimum and maximum input function parameters More...
 
void setMNMXRST ()
 reset all min/max function for all inputs More...
 
void setMODE (int mode)
 configure remote interface mode More...
 
void queryMODE (int &mode)
 query remote interface mode More...
 
void setMOUT (int loop, double value)
 set the control loop manual heater power (MHP) output More...
 
void queryMOUT (int loop, double &value)
 get the control loop manual heater power (MHP) output More...
 
void setPID (int loop, double valueP, double valueI, double valueD)
 set the control loop PID values More...
 
void queryPID (int loop, double &valueP, double &valueI, double &valueD)
 get the control loop PID values More...
 
void setRAMP (int loop, bool onoff, double rate)
 set the control setpoint ramp parameter More...
 
void queryRAMP (int loop, bool &onoff, double &rate)
 get the control setpoint ramp parameter More...
 
void queryRAMPST (int loop, bool &status)
 get control setpoint ramp status More...
 
void queryRANGE (int &range)
 get the currently applied heater range from loop 1 More...
 
void setRANGE (int range)
 set the heater range for loop 1 More...
 
void queryRDGST (char input, int &bitweight)
 get input reading status More...
 
void setRELAY (int relay, int mode, char input, int type)
 configure relay control parameters More...
 
void queryRELAY (int relay, int &mode, std::string &input, int &type)
 query relay control parameters More...
 
void queryRELAYST (int type, bool &onoff)
 query relay status More...
 
void queryREV (std::string &firmwarerevision)
 query input firmware revision More...
 
void setSCAL (int std, int dest, std::string snum, double temp1, double unit1, double temp2, double unit2, double temp3, double unit3)
 generate a SoftCal(TM) curve More...
 
void setSETP (int loop, double setpoint)
 set control setpoint More...
 
void querySETP (int loop, double &setpoint)
 query the control setpoint More...
 
void querySRDG (char input, double &value)
 query the sensor unit input reading More...
 
void queryTEMP (double &valuekelvin)
 query the thermocouple junction temperature More...
 
void queryTUNEST (bool &activetuning)
 query the control tuning status More...
 
void setZONE (int loop, int zone, double top, double valueP, double valueI, double valueD, double mout, int range)
 set the control loop zone table parameter More...
 
void queryZONE (int loop, int zone, double &top, double &valueP, double &valueI, double &valueD, double &mout, int &range)
 query the control loop zone parameter More...
 

Protected Member Functions

int sendMsg (const std::string &cmd)
 this function sends a specific comand to the device More...
 
void readMsg (std::string &rcv)
 this function reads the answer from the device More...
 
int sendMsg (const std::string &cmd)
 this function sends a specific comand to the device More...
 
void readMsg (std::string &rcv)
 this function reads the answer from the device More...
 

Private Member Functions

void setConnection (std::string connection)
 this function is used to set the m_IpInfo variable to a specific string More...
 
void setConnection (std::string connection)
 this function is used to set the m_IpInfo variable to a specific string More...
 

Private Attributes

std::vector< std::string > m_comands
 this vector contains the comands supported by the temperature monitor More...
 
Nice::ChatLine m_chat
 this is the chatline that is used to comunicate with the device More...
 
std::string m_connection
 this string contains the connection informations (ip adress, port) to build the chatLine More...
 
bool m_isConnected
 this boolean indicates if there is an active connection to a device More...
 
std::string m_answer
 this string contains the latest answer from the device More...
 
std::string m_term
 this string contains the current terminators for the sending of the commands More...
 

Constructor & Destructor Documentation

◆ LakeshoreController331S() [1/4]

Basda::Tempo::LakeshoreController331S::LakeshoreController331S ( )

◆ LakeshoreController331S() [2/4]

Basda::Tempo::LakeshoreController331S::LakeshoreController331S ( std::string  connection,
bool  create 
)

◆ ~LakeshoreController331S() [1/2]

Basda::Tempo::LakeshoreController331S::~LakeshoreController331S ( )
virtual

◆ LakeshoreController331S() [3/4]

Basda::Tempo::LakeshoreController331S::LakeshoreController331S ( )

◆ LakeshoreController331S() [4/4]

Basda::Tempo::LakeshoreController331S::LakeshoreController331S ( std::string  connection,
bool  create 
)

◆ ~LakeshoreController331S() [2/2]

virtual Basda::Tempo::LakeshoreController331S::~LakeshoreController331S ( )
virtual

Member Function Documentation

◆ closeChatLine() [1/2]

void Basda::Tempo::LakeshoreController331S::closeChatLine ( )

◆ closeChatLine() [2/2]

void Basda::Tempo::LakeshoreController331S::closeChatLine ( )

◆ createChatLine() [1/4]

void Basda::Tempo::LakeshoreController331S::createChatLine ( const std::string &  connection)

◆ createChatLine() [2/4]

void Basda::Tempo::LakeshoreController331S::createChatLine ( const std::string &  connection)

◆ createChatLine() [3/4]

void Basda::Tempo::LakeshoreController331S::createChatLine ( )

◆ createChatLine() [4/4]

void Basda::Tempo::LakeshoreController331S::createChatLine ( )

◆ getAnswer() [1/2]

std::string Basda::Tempo::LakeshoreController331S::getAnswer ( )
inline

◆ getAnswer() [2/2]

std::string Basda::Tempo::LakeshoreController331S::getAnswer ( )
inline

◆ queryALARM() [1/2]

void Basda::Tempo::LakeshoreController331S::queryALARM ( char  input,
bool onoff,
int &  source,
double &  highvalue,
double &  lowvalue,
double &  deadband,
bool latch_enabled 
)

query the input alarm parameters

Parameters
inputspecifies the input (A or B)
onoffsets the alarm for the input to off or on
sourcespecifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)
highvaluevalue the source is checked against to activate high alarm level
lowvaluevalue the source is checked against to activate low alarm level
deadbandthe value that the source must change outside of an alarm condition to deactivate an unlatched alarm
latch_enabledSpecifies a latched alarm (remains active after alarm condition correction)

◆ queryALARM() [2/2]

void Basda::Tempo::LakeshoreController331S::queryALARM ( char  input,
bool onoff,
int &  source,
double &  highvalue,
double &  lowvalue,
double &  deadband,
bool latch_enabled 
)

query the input alarm parameters

Parameters
inputspecifies the input (A or B)
onoffsets the alarm for the input to off or on
sourcespecifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)
highvaluevalue the source is checked against to activate high alarm level
lowvaluevalue the source is checked against to activate low alarm level
deadbandthe value that the source must change outside of an alarm condition to deactivate an unlatched alarm
latch_enabledSpecifies a latched alarm (remains active after alarm condition correction)

◆ queryALARMST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryALARMST ( char  input,
bool highstate,
bool lowstate 
)

query the input alarm status

Parameters
inputspecifies the input (A or B)
highstatehighvalue alarm is on or off
lowstatelowvalue alarm is on or off

◆ queryALARMST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryALARMST ( char  input,
bool highstate,
bool lowstate 
)

query the input alarm status

Parameters
inputspecifies the input (A or B)
highstatehighvalue alarm is on or off
lowstatelowvalue alarm is on or off

◆ queryANALOG() [1/2]

void Basda::Tempo::LakeshoreController331S::queryANALOG ( bool bipolar,
int &  mode,
std::string &  input,
int &  source,
double &  high,
double &  low,
double &  manual 
)

query analog output parameters

Parameters
bipolarspecifies analog output (0=positive only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop)
inputspecifies the input to monitor if _mode=1
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation)
highIf mode=1, this parameter represents the data at which the analog output reaches +100% output
lowIf mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else
manualif mode=2, this parameter is the output of the analog output

◆ queryANALOG() [2/2]

void Basda::Tempo::LakeshoreController331S::queryANALOG ( bool bipolar,
int &  mode,
std::string &  input,
int &  source,
double &  high,
double &  low,
double &  manual 
)

query analog output parameters

Parameters
bipolarspecifies analog output (0=positive only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop)
inputspecifies the input to monitor if _mode=1
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation)
highIf mode=1, this parameter represents the data at which the analog output reaches +100% output
lowIf mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else
manualif mode=2, this parameter is the output of the analog output

◆ queryAOUT() [1/2]

void Basda::Tempo::LakeshoreController331S::queryAOUT ( double &  aoutput)

query analog output data 2nd loop

Parameters
aoutputcurrent analog output of the 2nd loop

◆ queryAOUT() [2/2]

void Basda::Tempo::LakeshoreController331S::queryAOUT ( double &  aoutput)

query analog output data 2nd loop

Parameters
aoutputcurrent analog output of the 2nd loop

◆ queryBAUD() [1/2]

void Basda::Tempo::LakeshoreController331S::queryBAUD ( int &  baud)

query the current serial interface baud rate

Parameters
baudcurrent baud rate (0=300, 1=1200, 2=9600)

◆ queryBAUD() [2/2]

void Basda::Tempo::LakeshoreController331S::queryBAUD ( int &  baud)

query the current serial interface baud rate

Parameters
baudcurrent baud rate (0=300, 1=1200, 2=9600)

◆ queryBEEP() [1/2]

void Basda::Tempo::LakeshoreController331S::queryBEEP ( bool beep)

query the alarm beeper status

Parameters
beepcurrent beep status true=on, false =off

◆ queryBEEP() [2/2]

void Basda::Tempo::LakeshoreController331S::queryBEEP ( bool beep)

query the alarm beeper status

Parameters
beepcurrent beep status true=on, false =off

◆ queryBRIGT() [1/2]

void Basda::Tempo::LakeshoreController331S::queryBRIGT ( int &  bright)

query the display brightness

Parameters
brightcurrently used brightness (0=25%, 1=50%, 2=75%, 3=100%)

◆ queryBRIGT() [2/2]

void Basda::Tempo::LakeshoreController331S::queryBRIGT ( int &  bright)

query the display brightness

Parameters
brightcurrently used brightness (0=25%, 1=50%, 2=75%, 3=100%)

◆ queryCMODE() [1/2]

void Basda::Tempo::LakeshoreController331S::queryCMODE ( int  loop,
int &  mode 
)

query the control loop mode

Parameters
loopspecifies which loop to query (1 or 2)
modecurrently used mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P)

◆ queryCMODE() [2/2]

void Basda::Tempo::LakeshoreController331S::queryCMODE ( int  loop,
int &  mode 
)

query the control loop mode

Parameters
loopspecifies which loop to query (1 or 2)
modecurrently used mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P)

◆ queryCRDG() [1/2]

void Basda::Tempo::LakeshoreController331S::queryCRDG ( char  input,
double &  value 
)

query the celsius reading from an input

Parameters
inputspecifies the input (A or B)
valuecurrent temperature in Celsius

◆ queryCRDG() [2/2]

void Basda::Tempo::LakeshoreController331S::queryCRDG ( char  input,
double &  value 
)

query the celsius reading from an input

Parameters
inputspecifies the input (A or B)
valuecurrent temperature in Celsius

◆ queryCRVHDR() [1/2]

void Basda::Tempo::LakeshoreController331S::queryCRVHDR ( int  curve,
std::string &  name,
std::string &  snum,
int &  format,
double &  limit,
int &  coeff 
)

query curve header

Parameters
curvespecifies which curve to query (1-41)
nameactual curve name (max 15 chars)
snumactual serial number for the curve (max 10 chars)
formatactual curve data format (1=mV/K, 2=V/K, 3=Ohm/K, 4=log(Ohm/K)
limitactual curve temperature limit in Kelvin
coeffactual temperature coefficient (1=negative, 2=positive)

◆ queryCRVHDR() [2/2]

void Basda::Tempo::LakeshoreController331S::queryCRVHDR ( int  curve,
std::string &  name,
std::string &  snum,
int &  format,
double &  limit,
int &  coeff 
)

query curve header

Parameters
curvespecifies which curve to query (1-41)
nameactual curve name (max 15 chars)
snumactual serial number for the curve (max 10 chars)
formatactual curve data format (1=mV/K, 2=V/K, 3=Ohm/K, 4=log(Ohm/K)
limitactual curve temperature limit in Kelvin
coeffactual temperature coefficient (1=negative, 2=positive)

◆ queryCRVPT() [1/2]

void Basda::Tempo::LakeshoreController331S::queryCRVPT ( int  curve,
int  index,
double &  units,
double &  temp 
)

query curve data point

Parameters
curvespecifies which curve to query (1-41)
indexspecifies the points index in the curve (1-200)
unitscurrent sensor units for this point up to 6 digits
tempcurrent corresponding temperature in Kelvin for this point up to 6 digits

◆ queryCRVPT() [2/2]

void Basda::Tempo::LakeshoreController331S::queryCRVPT ( int  curve,
int  index,
double &  units,
double &  temp 
)

query curve data point

Parameters
curvespecifies which curve to query (1-41)
indexspecifies the points index in the curve (1-200)
unitscurrent sensor units for this point up to 6 digits
tempcurrent corresponding temperature in Kelvin for this point up to 6 digits

◆ queryCSET() [1/2]

void Basda::Tempo::LakeshoreController331S::queryCSET ( int  loop,
std::string &  input,
int &  units,
bool pwrup,
int &  curpwr 
)

query control loop parameters

Parameters
loopspecifies loop (1 or 2)
inputcurrently selected input to control from (A or B)
unitscurrently selected setpoint units (1=Kelvin, 2=Celsius, 3=sensor units)
pwrupcurrently selected control loop status on power up, true if enabled, false if disabled
curpwrdoes the heater output display in current(1) or power(2)

◆ queryCSET() [2/2]

void Basda::Tempo::LakeshoreController331S::queryCSET ( int  loop,
std::string &  input,
int &  units,
bool pwrup,
int &  curpwr 
)

query control loop parameters

Parameters
loopspecifies loop (1 or 2)
inputcurrently selected input to control from (A or B)
unitscurrently selected setpoint units (1=Kelvin, 2=Celsius, 3=sensor units)
pwrupcurrently selected control loop status on power up, true if enabled, false if disabled
curpwrdoes the heater output display in current(1) or power(2)

◆ queryDISPFLD() [1/2]

void Basda::Tempo::LakeshoreController331S::queryDISPFLD ( int  location,
int &  item,
int &  source 
)

query display field

Parameters
locationdisplay field (1-4)
itemcurrent item displayed in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output)
sourcecurrent input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data)

◆ queryDISPFLD() [2/2]

void Basda::Tempo::LakeshoreController331S::queryDISPFLD ( int  location,
int &  item,
int &  source 
)

query display field

Parameters
locationdisplay field (1-4)
itemcurrent item displayed in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output)
sourcecurrent input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data)

◆ queryEMUL() [1/2]

void Basda::Tempo::LakeshoreController331S::queryEMUL ( bool onoff)

checks whether 330 emulation mode is active or not

Parameters
onofftrue if emulation is emabled, false otherwise

◆ queryEMUL() [2/2]

void Basda::Tempo::LakeshoreController331S::queryEMUL ( bool onoff)

checks whether 330 emulation mode is active or not

Parameters
onofftrue if emulation is emabled, false otherwise

◆ queryESE() [1/2]

void Basda::Tempo::LakeshoreController331S::queryESE ( int &  bitweight)

gets the configuration of status reports in the event status register

Parameters
bitweightcurrent sum of the bit weighting to mask the status flags in the standard status event register

◆ queryESE() [2/2]

void Basda::Tempo::LakeshoreController331S::queryESE ( int &  bitweight)

gets the configuration of status reports in the event status register

Parameters
bitweightcurrent sum of the bit weighting to mask the status flags in the standard status event register

◆ queryESR() [1/2]

void Basda::Tempo::LakeshoreController331S::queryESR ( int &  bitweight)

gets the standard event status register

Parameters
bitweightvalue representing the sum of the bit weighting of the event flag bits that are set in the Standard Event Status Register

◆ queryESR() [2/2]

void Basda::Tempo::LakeshoreController331S::queryESR ( int &  bitweight)

gets the standard event status register

Parameters
bitweightvalue representing the sum of the bit weighting of the event flag bits that are set in the Standard Event Status Register

◆ queryFILTER() [1/2]

void Basda::Tempo::LakeshoreController331S::queryFILTER ( char  input,
bool filter,
int &  points,
int &  win 
)

query input filter parameters

Parameters
inputspecifies input (A or B)
filtercurrent filter status, off(false) or on(true)
pointscurrent amount of data points for the filtering function (2-64)
winwhat percent of full scale reading limits the filtering function (1-10)

◆ queryFILTER() [2/2]

void Basda::Tempo::LakeshoreController331S::queryFILTER ( char  input,
bool filter,
int &  points,
int &  win 
)

query input filter parameters

Parameters
inputspecifies input (A or B)
filtercurrent filter status, off(false) or on(true)
pointscurrent amount of data points for the filtering function (2-64)
winwhat percent of full scale reading limits the filtering function (1-10)

◆ queryHTR() [1/2]

void Basda::Tempo::LakeshoreController331S::queryHTR ( double &  output)

query heater output

Parameters
outputcurrent heater output value

◆ queryHTR() [2/2]

void Basda::Tempo::LakeshoreController331S::queryHTR ( double &  output)

query heater output

Parameters
outputcurrent heater output value

◆ queryHTRST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryHTRST ( int &  status)

query heater status

Parameters
statuscurrent heater status

◆ queryHTRST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryHTRST ( int &  status)

query heater status

Parameters
statuscurrent heater status

◆ queryIDN() [1/4]

void Basda::Tempo::LakeshoreController331S::queryIDN ( )

gets the identification of the device

◆ queryIDN() [2/4]

void Basda::Tempo::LakeshoreController331S::queryIDN ( )

gets the identification of the device

◆ queryIDN() [3/4]

void Basda::Tempo::LakeshoreController331S::queryIDN ( std::string &  manufacture,
std::string &  model,
std::string &  serialnumber,
std::string &  firmwarerevisionmmddyy 
)

gets the identification of the device and splits it into its parts

Parameters
manufactureManufacturer ID
modelInstrument model number
serialnumberSerial number
firmwarerevisionmmddyyInstrument firmware revision date

◆ queryIDN() [4/4]

void Basda::Tempo::LakeshoreController331S::queryIDN ( std::string &  manufacture,
std::string &  model,
std::string &  serialnumber,
std::string &  firmwarerevisionmmddyy 
)

gets the identification of the device and splits it into its parts

Parameters
manufactureManufacturer ID
modelInstrument model number
serialnumberSerial number
firmwarerevisionmmddyyInstrument firmware revision date

◆ queryIEEE() [1/2]

void Basda::Tempo::LakeshoreController331S::queryIEEE ( int &  terminator,
bool eoi,
int &  address 
)

query the IEEE-488 interface parameters

Parameters
terminatorcurrently used terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator)
eoicurrent EOI mode status, disableds(false)/enabled(true)
addresscurrent IEEE address (1-30)

◆ queryIEEE() [2/2]

void Basda::Tempo::LakeshoreController331S::queryIEEE ( int &  terminator,
bool eoi,
int &  address 
)

query the IEEE-488 interface parameters

Parameters
terminatorcurrently used terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator)
eoicurrent EOI mode status, disableds(false)/enabled(true)
addresscurrent IEEE address (1-30)

◆ queryINCRV() [1/2]

void Basda::Tempo::LakeshoreController331S::queryINCRV ( char  input,
int &  curve 
)

query input curve number

Parameters
inputspecifies the input (A or B)
curvecurrently used curve of the input (0=none, 1-20=std curves, 21-41=user curves)

◆ queryINCRV() [2/2]

void Basda::Tempo::LakeshoreController331S::queryINCRV ( char  input,
int &  curve 
)

query input curve number

Parameters
inputspecifies the input (A or B)
curvecurrently used curve of the input (0=none, 1-20=std curves, 21-41=user curves)

◆ queryINTYPE() [1/2]

void Basda::Tempo::LakeshoreController331S::queryINTYPE ( char  input,
int &  type,
bool compensation 
)

query the input type parameters

Parameters
inputspecifies the input (A or B)
typecurrent input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA])
compensationcurrently compensation is on(true) or off(false)

◆ queryINTYPE() [2/2]

void Basda::Tempo::LakeshoreController331S::queryINTYPE ( char  input,
int &  type,
bool compensation 
)

query the input type parameters

Parameters
inputspecifies the input (A or B)
typecurrent input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA])
compensationcurrently compensation is on(true) or off(false)

◆ queryKEYST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryKEYST ( bool pressed)

query keypad status

Parameters
pressedtrue if key is pressed, false otherwise

◆ queryKEYST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryKEYST ( bool pressed)

query keypad status

Parameters
pressedtrue if key is pressed, false otherwise

◆ queryKRDG() [1/2]

void Basda::Tempo::LakeshoreController331S::queryKRDG ( char  input,
double &  value 
)

query Kelvin reading for an input

Parameters
inputspecifies the input (A or B)
valuecurrent temperature in Kelvin

◆ queryKRDG() [2/2]

void Basda::Tempo::LakeshoreController331S::queryKRDG ( char  input,
double &  value 
)

query Kelvin reading for an input

Parameters
inputspecifies the input (A or B)
valuecurrent temperature in Kelvin

◆ queryLDAT() [1/2]

void Basda::Tempo::LakeshoreController331S::queryLDAT ( char  input,
double &  value 
)

query linear input equation data

Parameters
inputspecifies input (A or B)
valuecurrent linear equation value

◆ queryLDAT() [2/2]

void Basda::Tempo::LakeshoreController331S::queryLDAT ( char  input,
double &  value 
)

query linear input equation data

Parameters
inputspecifies input (A or B)
valuecurrent linear equation value

◆ queryLINEAR() [1/2]

void Basda::Tempo::LakeshoreController331S::queryLINEAR ( char  input,
int &  equ,
double &  varM,
int &  srcX,
int &  srcB,
double &  varB 
)

get the linear equation parameter

Parameters
inputspecifies input (A or B)
equcurrently selected linear equation to use (1=(y = mx + b), 2=(y = m(x + b)))
varMcurrent value for m in the equation
srcXcurrent input data (1=Kelvin, 2=Celsius, 3=sensor units)
srcBwhat is currently used for b in the equation (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2)
varBcurrent value for b in the equation if srcB=1

◆ queryLINEAR() [2/2]

void Basda::Tempo::LakeshoreController331S::queryLINEAR ( char  input,
int &  equ,
double &  varM,
int &  srcX,
int &  srcB,
double &  varB 
)

get the linear equation parameter

Parameters
inputspecifies input (A or B)
equcurrently selected linear equation to use (1=(y = mx + b), 2=(y = m(x + b)))
varMcurrent value for m in the equation
srcXcurrent input data (1=Kelvin, 2=Celsius, 3=sensor units)
srcBwhat is currently used for b in the equation (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2)
varBcurrent value for b in the equation if srcB=1

◆ queryLOCK() [1/2]

void Basda::Tempo::LakeshoreController331S::queryLOCK ( bool locked,
int &  code 
)

query lock-out and lock-out code

Parameters
lockedcurrent lock status, true means locked, false means unlocked
codecurrent lock-out code

◆ queryLOCK() [2/2]

void Basda::Tempo::LakeshoreController331S::queryLOCK ( bool locked,
int &  code 
)

query lock-out and lock-out code

Parameters
lockedcurrent lock status, true means locked, false means unlocked
codecurrent lock-out code

◆ queryMDAT() [1/2]

void Basda::Tempo::LakeshoreController331S::queryMDAT ( char  input,
double &  minvalue,
double &  maxvalue 
)

query the minimum/maximum data

Parameters
inputspecifies input (A or B)
minvalueminimum input data value
maxvaluemaximum input data value

◆ queryMDAT() [2/2]

void Basda::Tempo::LakeshoreController331S::queryMDAT ( char  input,
double &  minvalue,
double &  maxvalue 
)

query the minimum/maximum data

Parameters
inputspecifies input (A or B)
minvalueminimum input data value
maxvaluemaximum input data value

◆ queryMNMX() [1/2]

void Basda::Tempo::LakeshoreController331S::queryMNMX ( char  input,
int &  source 
)

query minimum and maximum input function parameters

Parameters
inputspecifies the input (A or B)
sourcecurrently selected input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ queryMNMX() [2/2]

void Basda::Tempo::LakeshoreController331S::queryMNMX ( char  input,
int &  source 
)

query minimum and maximum input function parameters

Parameters
inputspecifies the input (A or B)
sourcecurrently selected input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ queryMODE() [1/2]

void Basda::Tempo::LakeshoreController331S::queryMODE ( int &  mode)

query remote interface mode

Parameters
modecurrent operation mode (0=local, 1=remote, 2=remote with local lock-out)

◆ queryMODE() [2/2]

void Basda::Tempo::LakeshoreController331S::queryMODE ( int &  mode)

query remote interface mode

Parameters
modecurrent operation mode (0=local, 1=remote, 2=remote with local lock-out)

◆ queryMOUT() [1/2]

void Basda::Tempo::LakeshoreController331S::queryMOUT ( int  loop,
double &  value 
)

get the control loop manual heater power (MHP) output

Parameters
loopspecifies loop to query (1 or 2)
valuecuurent value of the manual output (in percent)

◆ queryMOUT() [2/2]

void Basda::Tempo::LakeshoreController331S::queryMOUT ( int  loop,
double &  value 
)

get the control loop manual heater power (MHP) output

Parameters
loopspecifies loop to query (1 or 2)
valuecuurent value of the manual output (in percent)

◆ queryOPC() [1/2]

void Basda::Tempo::LakeshoreController331S::queryOPC ( )

query operation complete.

Note
places a 1 in the controllers output queue upon completion of all pending selected device operations

◆ queryOPC() [2/2]

void Basda::Tempo::LakeshoreController331S::queryOPC ( )

query operation complete.

Note
places a 1 in the controllers output queue upon completion of all pending selected device operations

◆ queryPID() [1/2]

void Basda::Tempo::LakeshoreController331S::queryPID ( int  loop,
double &  valueP,
double &  valueI,
double &  valueD 
)

get the control loop PID values

Parameters
loopspecifies the loop (1 or 2)
valuePthe current value for proportional (gain) (0.1-1000)
valueIthe current value for integral (reset) (0.1-1000)
valueDthe current value for derivative (rate) (0-200)

◆ queryPID() [2/2]

void Basda::Tempo::LakeshoreController331S::queryPID ( int  loop,
double &  valueP,
double &  valueI,
double &  valueD 
)

get the control loop PID values

Parameters
loopspecifies the loop (1 or 2)
valuePthe current value for proportional (gain) (0.1-1000)
valueIthe current value for integral (reset) (0.1-1000)
valueDthe current value for derivative (rate) (0-200)

◆ queryRAMP() [1/2]

void Basda::Tempo::LakeshoreController331S::queryRAMP ( int  loop,
bool onoff,
double &  rate 
)

get the control setpoint ramp parameter

Parameters
loopspecifies the loop (1 or 2)
onoffcurrently ramping switched off(false) or on(true)
ratecurrent setpoint ramp rate in Kelvin per minute from 0.1 to 100

◆ queryRAMP() [2/2]

void Basda::Tempo::LakeshoreController331S::queryRAMP ( int  loop,
bool onoff,
double &  rate 
)

get the control setpoint ramp parameter

Parameters
loopspecifies the loop (1 or 2)
onoffcurrently ramping switched off(false) or on(true)
ratecurrent setpoint ramp rate in Kelvin per minute from 0.1 to 100

◆ queryRAMPST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryRAMPST ( int  loop,
bool status 
)

get control setpoint ramp status

Parameters
loopspecifies the loop (1 or 2)
statustrue if currently ramping, false otherwise

◆ queryRAMPST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryRAMPST ( int  loop,
bool status 
)

get control setpoint ramp status

Parameters
loopspecifies the loop (1 or 2)
statustrue if currently ramping, false otherwise

◆ queryRANGE() [1/2]

void Basda::Tempo::LakeshoreController331S::queryRANGE ( int &  range)

get the currently applied heater range from loop 1

Parameters
rangethe current range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W))

◆ queryRANGE() [2/2]

void Basda::Tempo::LakeshoreController331S::queryRANGE ( int &  range)

get the currently applied heater range from loop 1

Parameters
rangethe current range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W))

◆ queryRDGST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryRDGST ( char  input,
int &  bitweight 
)

get input reading status

Parameters
inputspecifies input (A or B)
bitweightcurrent status bit weighting value

◆ queryRDGST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryRDGST ( char  input,
int &  bitweight 
)

get input reading status

Parameters
inputspecifies input (A or B)
bitweightcurrent status bit weighting value

◆ queryRELAY() [1/2]

void Basda::Tempo::LakeshoreController331S::queryRELAY ( int  relay,
int &  mode,
std::string &  input,
int &  type 
)

query relay control parameters

Parameters
relayspecifies which relay to query (1 or 2)
modecurrent relay mode (0=off, 1=on, 2=alarms)
inputcurrently selected input that an alarm activates the relay when in alarm mode (A or B)
typecurrent alarm type (0=low alarm, 1=high alarm, 2=both alarms)

◆ queryRELAY() [2/2]

void Basda::Tempo::LakeshoreController331S::queryRELAY ( int  relay,
int &  mode,
std::string &  input,
int &  type 
)

query relay control parameters

Parameters
relayspecifies which relay to query (1 or 2)
modecurrent relay mode (0=off, 1=on, 2=alarms)
inputcurrently selected input that an alarm activates the relay when in alarm mode (A or B)
typecurrent alarm type (0=low alarm, 1=high alarm, 2=both alarms)

◆ queryRELAYST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryRELAYST ( int  type,
bool onoff 
)

query relay status

Parameters
typespecifies relay type to query (0=low alarm, 1=high alarm)
onoffcurrent relay status, on is true, off is false

◆ queryRELAYST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryRELAYST ( int  type,
bool onoff 
)

query relay status

Parameters
typespecifies relay type to query (0=low alarm, 1=high alarm)
onoffcurrent relay status, on is true, off is false

◆ queryREV() [1/2]

void Basda::Tempo::LakeshoreController331S::queryREV ( std::string &  firmwarerevision)

query input firmware revision

Parameters
firmwarerevisioncurrent firmware revision number as string

◆ queryREV() [2/2]

void Basda::Tempo::LakeshoreController331S::queryREV ( std::string &  firmwarerevision)

query input firmware revision

Parameters
firmwarerevisioncurrent firmware revision number as string

◆ querySETP() [1/2]

void Basda::Tempo::LakeshoreController331S::querySETP ( int  loop,
double &  setpoint 
)

query the control setpoint

Parameters
loopspecifies the loop (1 or 2)
setpointcurrent value for the setpoint

◆ querySETP() [2/2]

void Basda::Tempo::LakeshoreController331S::querySETP ( int  loop,
double &  setpoint 
)

query the control setpoint

Parameters
loopspecifies the loop (1 or 2)
setpointcurrent value for the setpoint

◆ querySRDG() [1/2]

void Basda::Tempo::LakeshoreController331S::querySRDG ( char  input,
double &  value 
)

query the sensor unit input reading

Parameters
inputspecifies the input (A or B)
valuecurrent sensor units value

◆ querySRDG() [2/2]

void Basda::Tempo::LakeshoreController331S::querySRDG ( char  input,
double &  value 
)

query the sensor unit input reading

Parameters
inputspecifies the input (A or B)
valuecurrent sensor units value

◆ querySRE() [1/2]

void Basda::Tempo::LakeshoreController331S::querySRE ( int &  bitweight)

query the configuration of status reports in the service request enable register

Parameters
bitweightcurrent sum of the bit weighting to mask the status flags in the status byte register

◆ querySRE() [2/2]

void Basda::Tempo::LakeshoreController331S::querySRE ( int &  bitweight)

query the configuration of status reports in the service request enable register

Parameters
bitweightcurrent sum of the bit weighting to mask the status flags in the status byte register

◆ querySTB() [1/2]

void Basda::Tempo::LakeshoreController331S::querySTB ( int &  bitweight)

query the status byte

Parameters
bitweightcurrent sum of the bit weighting of the status flags that are set in the status byte register

◆ querySTB() [2/2]

void Basda::Tempo::LakeshoreController331S::querySTB ( int &  bitweight)

query the status byte

Parameters
bitweightcurrent sum of the bit weighting of the status flags that are set in the status byte register

◆ queryTEMP() [1/2]

void Basda::Tempo::LakeshoreController331S::queryTEMP ( double &  valuekelvin)

query the thermocouple junction temperature

Parameters
valuekelvincurrent temperature value in Kelvin

◆ queryTEMP() [2/2]

void Basda::Tempo::LakeshoreController331S::queryTEMP ( double &  valuekelvin)

query the thermocouple junction temperature

Parameters
valuekelvincurrent temperature value in Kelvin

◆ queryTST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryTST ( bool errorfound)

enable selftest of the device

Parameters
errorfoundtrue if error was found, false otherwise

◆ queryTST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryTST ( bool errorfound)

enable selftest of the device

Parameters
errorfoundtrue if error was found, false otherwise

◆ queryTUNEST() [1/2]

void Basda::Tempo::LakeshoreController331S::queryTUNEST ( bool activetuning)

query the control tuning status

Parameters
activetuningtrue if active tuning is on, false otherwise

◆ queryTUNEST() [2/2]

void Basda::Tempo::LakeshoreController331S::queryTUNEST ( bool activetuning)

query the control tuning status

Parameters
activetuningtrue if active tuning is on, false otherwise

◆ queryZONE() [1/2]

void Basda::Tempo::LakeshoreController331S::queryZONE ( int  loop,
int  zone,
double &  top,
double &  valueP,
double &  valueI,
double &  valueD,
double &  mout,
int &  range 
)

query the control loop zone parameter

Parameters
loopspecifies the loop (1 or 2)
zonespecifies the zone (1-10)
topcurrent top temperature value for this zone
valuePcurrent P value for this zone (0.1-1000)
valueIcurrent I value for this zone (0.1-1000)
valueDcurrent D value for this zone (0-200)
moutcurrent manual output value for this zone (0-100)
rangecurrent heater range for this zone if _loop=1 (0-3)

◆ queryZONE() [2/2]

void Basda::Tempo::LakeshoreController331S::queryZONE ( int  loop,
int  zone,
double &  top,
double &  valueP,
double &  valueI,
double &  valueD,
double &  mout,
int &  range 
)

query the control loop zone parameter

Parameters
loopspecifies the loop (1 or 2)
zonespecifies the zone (1-10)
topcurrent top temperature value for this zone
valuePcurrent P value for this zone (0.1-1000)
valueIcurrent I value for this zone (0.1-1000)
valueDcurrent D value for this zone (0-200)
moutcurrent manual output value for this zone (0-100)
rangecurrent heater range for this zone if _loop=1 (0-3)

◆ readMsg() [1/2]

void Basda::Tempo::LakeshoreController331S::readMsg ( std::string &  rcv)
protected

this function reads the answer from the device

Parameters
rcvanswer from the device

◆ readMsg() [2/2]

void Basda::Tempo::LakeshoreController331S::readMsg ( std::string &  rcv)
protected

this function reads the answer from the device

Parameters
rcvanswer from the device

◆ sendMsg() [1/2]

int Basda::Tempo::LakeshoreController331S::sendMsg ( const std::string &  cmd)
protected

this function sends a specific comand to the device

Parameters
cmdcomand to send
Returns
number of chars sent

◆ sendMsg() [2/2]

int Basda::Tempo::LakeshoreController331S::sendMsg ( const std::string &  cmd)
protected

this function sends a specific comand to the device

Parameters
cmdcomand to send
Returns
number of chars sent

◆ setALARM() [1/2]

void Basda::Tempo::LakeshoreController331S::setALARM ( char  input,
bool  alarm,
int  source,
double  high,
double  low,
double  dead,
bool  latch 
)

sets the alarm parameters

Parameters
inputspecifies the input to configure (A or B)
alarmsets the alarm for the input to off or on
sourcespecifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)
highvalue the source is checked against to activate high alarm level
lowvalue the source is checked against to activate low alarm level
deadthe value that the source must change outside of an alarm condition to deactivate an unlatched alarm
latchSpecifies a latched alarm (remains active after alarm condition correction)

◆ setALARM() [2/2]

void Basda::Tempo::LakeshoreController331S::setALARM ( char  input,
bool  alarm,
int  source,
double  high,
double  low,
double  dead,
bool  latch 
)

sets the alarm parameters

Parameters
inputspecifies the input to configure (A or B)
alarmsets the alarm for the input to off or on
sourcespecifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)
highvalue the source is checked against to activate high alarm level
lowvalue the source is checked against to activate low alarm level
deadthe value that the source must change outside of an alarm condition to deactivate an unlatched alarm
latchSpecifies a latched alarm (remains active after alarm condition correction)

◆ setALMRST() [1/2]

void Basda::Tempo::LakeshoreController331S::setALMRST ( )

clear alarm status for all inputs

◆ setALMRST() [2/2]

void Basda::Tempo::LakeshoreController331S::setALMRST ( )

clear alarm status for all inputs

◆ setANALOG() [1/2]

void Basda::Tempo::LakeshoreController331S::setANALOG ( bool  bipolar,
int  mode,
char  input,
int  source,
double  high,
double  low,
double  manual 
)

configure analog output parameters

Parameters
bipolarspecifies analog output (0=positive only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop)
inputspecifies the input to monitor if _mode=1
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation)
highIf mode=1, this parameter represents the data at which the analog output reaches +100% output
lowIf mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else
manualif mode=2, this parameter is the output of the analog output

◆ setANALOG() [2/2]

void Basda::Tempo::LakeshoreController331S::setANALOG ( bool  bipolar,
int  mode,
char  input,
int  source,
double  high,
double  low,
double  manual 
)

configure analog output parameters

Parameters
bipolarspecifies analog output (0=positive only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop)
inputspecifies the input to monitor if _mode=1
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation)
highIf mode=1, this parameter represents the data at which the analog output reaches +100% output
lowIf mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else
manualif mode=2, this parameter is the output of the analog output

◆ setBAUD() [1/2]

void Basda::Tempo::LakeshoreController331S::setBAUD ( int  baud)

sets the serial interface baud rate

Parameters
baudspecifies baud rate (0=300, 1=1200, 2=9600)

◆ setBAUD() [2/2]

void Basda::Tempo::LakeshoreController331S::setBAUD ( int  baud)

sets the serial interface baud rate

Parameters
baudspecifies baud rate (0=300, 1=1200, 2=9600)

◆ setBEEP() [1/2]

void Basda::Tempo::LakeshoreController331S::setBEEP ( bool  beep)

sets the Alarm Beeper

Parameters
beeptrue=on, false =off

◆ setBEEP() [2/2]

void Basda::Tempo::LakeshoreController331S::setBEEP ( bool  beep)

sets the Alarm Beeper

Parameters
beeptrue=on, false =off

◆ setBRIGT() [1/2]

void Basda::Tempo::LakeshoreController331S::setBRIGT ( int  bright)

sets the display brightness

Parameters
brightspecifies the brightness (0=25%, 1=50%, 2=75%, 3=100%)

◆ setBRIGT() [2/2]

void Basda::Tempo::LakeshoreController331S::setBRIGT ( int  bright)

sets the display brightness

Parameters
brightspecifies the brightness (0=25%, 1=50%, 2=75%, 3=100%)

◆ setCLS() [1/2]

void Basda::Tempo::LakeshoreController331S::setCLS ( )

command to clear the interface of the device

◆ setCLS() [2/2]

void Basda::Tempo::LakeshoreController331S::setCLS ( )

command to clear the interface of the device

◆ setCMODE() [1/2]

void Basda::Tempo::LakeshoreController331S::setCMODE ( int  loop,
int  mode 
)

set the control loop mode

Parameters
loopspecifies which loop to configure (1 or 2)
modespecifies the mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P)

◆ setCMODE() [2/2]

void Basda::Tempo::LakeshoreController331S::setCMODE ( int  loop,
int  mode 
)

set the control loop mode

Parameters
loopspecifies which loop to configure (1 or 2)
modespecifies the mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P)

◆ setConnection() [1/2]

void Basda::Tempo::LakeshoreController331S::setConnection ( std::string  connection)
private

this function is used to set the m_IpInfo variable to a specific string

◆ setConnection() [2/2]

void Basda::Tempo::LakeshoreController331S::setConnection ( std::string  connection)
private

this function is used to set the m_IpInfo variable to a specific string

◆ setCRVDEL() [1/2]

void Basda::Tempo::LakeshoreController331S::setCRVDEL ( int  curve)

delete a user specified curve

Parameters
curvespecifies the curve to delete (21-41)

◆ setCRVDEL() [2/2]

void Basda::Tempo::LakeshoreController331S::setCRVDEL ( int  curve)

delete a user specified curve

Parameters
curvespecifies the curve to delete (21-41)

◆ setCRVHDR() [1/2]

void Basda::Tempo::LakeshoreController331S::setCRVHDR ( int  curve,
std::string  name,
std::string  snum,
int  format,
double  limit,
int  coeff 
)

configure the curve header

Parameters
curvespecifies which curve to configure (21-41)
namespecifies curve name (max 15 chars)
snumserial number for the curve (max 10 chars)
formatcurve data format (1=mV/K, 2=V/K, 3=Ohm/K, 4=log(Ohm/K)
limitcurve temperature limit in Kelvin
coefftemperature coefficient (1=negative, 2=positive)

◆ setCRVHDR() [2/2]

void Basda::Tempo::LakeshoreController331S::setCRVHDR ( int  curve,
std::string  name,
std::string  snum,
int  format,
double  limit,
int  coeff 
)

configure the curve header

Parameters
curvespecifies which curve to configure (21-41)
namespecifies curve name (max 15 chars)
snumserial number for the curve (max 10 chars)
formatcurve data format (1=mV/K, 2=V/K, 3=Ohm/K, 4=log(Ohm/K)
limitcurve temperature limit in Kelvin
coefftemperature coefficient (1=negative, 2=positive)

◆ setCRVPT() [1/2]

void Basda::Tempo::LakeshoreController331S::setCRVPT ( int  curve,
int  index,
double  units,
double  temp 
)

configure curve data point

Parameters
curvespecifies which curve to configure (21-41)
indexspecifies which point index in the curve (1-200)
unitsspecifies sensor units for this point to 6 digits
tempspecifies corresponding temperature in Kelvin for this point to 6 digits

◆ setCRVPT() [2/2]

void Basda::Tempo::LakeshoreController331S::setCRVPT ( int  curve,
int  index,
double  units,
double  temp 
)

configure curve data point

Parameters
curvespecifies which curve to configure (21-41)
indexspecifies which point index in the curve (1-200)
unitsspecifies sensor units for this point to 6 digits
tempspecifies corresponding temperature in Kelvin for this point to 6 digits

◆ setCSET() [1/2]

void Basda::Tempo::LakeshoreController331S::setCSET ( int  loop,
char  input,
int  units,
bool  pwrup,
int  curpwr 
)

configure the control loop parameter

Parameters
loopspecifies which loop to configure (1 or 2)
inputspecifies which input to control from (A or B)
unitsspecifies setpoint units (1=Kelvin, 2=Celsius, 3=sensor units)
pwrupenables(true)/disables(false) control loop on power-up
curpwrspecifies whether the heater output displays in current(1) or power(2)

◆ setCSET() [2/2]

void Basda::Tempo::LakeshoreController331S::setCSET ( int  loop,
char  input,
int  units,
bool  pwrup,
int  curpwr 
)

configure the control loop parameter

Parameters
loopspecifies which loop to configure (1 or 2)
inputspecifies which input to control from (A or B)
unitsspecifies setpoint units (1=Kelvin, 2=Celsius, 3=sensor units)
pwrupenables(true)/disables(false) control loop on power-up
curpwrspecifies whether the heater output displays in current(1) or power(2)

◆ setDFLT() [1/2]

void Basda::Tempo::LakeshoreController331S::setDFLT ( )

set to factory defaults

Note
use with caution

◆ setDFLT() [2/2]

void Basda::Tempo::LakeshoreController331S::setDFLT ( )

set to factory defaults

Note
use with caution

◆ setDISPFLD() [1/2]

void Basda::Tempo::LakeshoreController331S::setDISPFLD ( int  location,
int  item,
int  source 
)

configure display parameters

Parameters
locationdisplay location (1-4)
itemspecifies item to display in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output)
sourcespecifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data)

◆ setDISPFLD() [2/2]

void Basda::Tempo::LakeshoreController331S::setDISPFLD ( int  location,
int  item,
int  source 
)

configure display parameters

Parameters
locationdisplay location (1-4)
itemspecifies item to display in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output)
sourcespecifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data)

◆ setEMUL() [1/2]

void Basda::Tempo::LakeshoreController331S::setEMUL ( bool  emulation)

sets 330 emulation mode on or off

Parameters
emulationtrue=on, false=off

◆ setEMUL() [2/2]

void Basda::Tempo::LakeshoreController331S::setEMUL ( bool  emulation)

sets 330 emulation mode on or off

Parameters
emulationtrue=on, false=off

◆ setESE() [1/2]

void Basda::Tempo::LakeshoreController331S::setESE ( int  weight)

sets the configure status reports in the standard event register

Parameters
weightbit weighting

◆ setESE() [2/2]

void Basda::Tempo::LakeshoreController331S::setESE ( int  weight)

sets the configure status reports in the standard event register

Parameters
weightbit weighting

◆ setFILTER() [1/2]

void Basda::Tempo::LakeshoreController331S::setFILTER ( char  input,
bool  filter,
int  points,
int  win 
)

configure input filter parameters

Parameters
inputspecifies input to configure (A or B)
filtersets filter to off(false) or on(true)
pointsamount of data points for the filtering function (2-64)
winSpecifies what percent of full scale reading limits the filtering function (1-10). Reading changes greater than this percentage reset the filter

◆ setFILTER() [2/2]

void Basda::Tempo::LakeshoreController331S::setFILTER ( char  input,
bool  filter,
int  points,
int  win 
)

configure input filter parameters

Parameters
inputspecifies input to configure (A or B)
filtersets filter to off(false) or on(true)
pointsamount of data points for the filtering function (2-64)
winSpecifies what percent of full scale reading limits the filtering function (1-10). Reading changes greater than this percentage reset the filter

◆ setIEEE() [1/2]

void Basda::Tempo::LakeshoreController331S::setIEEE ( int  terminator,
bool  eoi,
int  address 
)

configure IEEE-488 interface parameters

Parameters
terminatorspecifies the terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator)
eoidisables(false)/enables(true) the EOI mode
addressspecifies the IEEE address (1-30)

◆ setIEEE() [2/2]

void Basda::Tempo::LakeshoreController331S::setIEEE ( int  terminator,
bool  eoi,
int  address 
)

configure IEEE-488 interface parameters

Parameters
terminatorspecifies the terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator)
eoidisables(false)/enables(true) the EOI mode
addressspecifies the IEEE address (1-30)

◆ setINCRV() [1/2]

void Basda::Tempo::LakeshoreController331S::setINCRV ( char  input,
int  curve 
)

configure curve input number

Parameters
inputspecifies which input to configure (A or B)
curvespecifies which curve the input uses (0=none, 1-20=std curves, 21-41=user curves)

◆ setINCRV() [2/2]

void Basda::Tempo::LakeshoreController331S::setINCRV ( char  input,
int  curve 
)

configure curve input number

Parameters
inputspecifies which input to configure (A or B)
curvespecifies which curve the input uses (0=none, 1-20=std curves, 21-41=user curves)

◆ setINTYPE() [1/2]

void Basda::Tempo::LakeshoreController331S::setINTYPE ( char  input,
int  type,
bool  compensation 
)

set input type parameter

Parameters
inputspecifies the input (A or B)
typespecifies the input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA])
compensationspecifies whether input compensation is on(true) or off(false). (Reversal for thermal EMF compensation if input is resistive, room compensation if input is thermocouple. Always off if input is a diode)

◆ setINTYPE() [2/2]

void Basda::Tempo::LakeshoreController331S::setINTYPE ( char  input,
int  type,
bool  compensation 
)

set input type parameter

Parameters
inputspecifies the input (A or B)
typespecifies the input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA])
compensationspecifies whether input compensation is on(true) or off(false). (Reversal for thermal EMF compensation if input is resistive, room compensation if input is thermocouple. Always off if input is a diode)

◆ setLINEAR() [1/2]

void Basda::Tempo::LakeshoreController331S::setLINEAR ( char  input,
int  equ,
double  varM,
int  srcX,
int  srcB,
double  varB 
)

set the input linear equation parameter

Parameters
inputspecifies input (A or B)
equspecifies the linear equation to use (1=(y = mx + b), 2=(y = m(x + b)))
varMspecifies a value for m in the equation
srcXspecifies input data (1=Kelvin, 2=Celsius, 3=sensor units)
srcBspecifies what use for b in the equation (to use a setpoint, set to same value as _srcX) (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2)
varBspecifies value for b in the equation if _srcB=1

◆ setLINEAR() [2/2]

void Basda::Tempo::LakeshoreController331S::setLINEAR ( char  input,
int  equ,
double  varM,
int  srcX,
int  srcB,
double  varB 
)

set the input linear equation parameter

Parameters
inputspecifies input (A or B)
equspecifies the linear equation to use (1=(y = mx + b), 2=(y = m(x + b)))
varMspecifies a value for m in the equation
srcXspecifies input data (1=Kelvin, 2=Celsius, 3=sensor units)
srcBspecifies what use for b in the equation (to use a setpoint, set to same value as _srcX) (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2)
varBspecifies value for b in the equation if _srcB=1

◆ setLOCK() [1/2]

void Basda::Tempo::LakeshoreController331S::setLOCK ( bool  lock,
int  code 
)

configure Lock-out and Lock-out code

Parameters
lockdisables(false)/enables(true) the keypad lock-out
codespecifies lock-out code (000-999)

◆ setLOCK() [2/2]

void Basda::Tempo::LakeshoreController331S::setLOCK ( bool  lock,
int  code 
)

configure Lock-out and Lock-out code

Parameters
lockdisables(false)/enables(true) the keypad lock-out
codespecifies lock-out code (000-999)

◆ setMNMX() [1/2]

void Basda::Tempo::LakeshoreController331S::setMNMX ( char  input,
int  source 
)

configure minimum and maximum input function parameters

Parameters
inputspecifies input to configure (A or B)
sourcespecifies input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ setMNMX() [2/2]

void Basda::Tempo::LakeshoreController331S::setMNMX ( char  input,
int  source 
)

configure minimum and maximum input function parameters

Parameters
inputspecifies input to configure (A or B)
sourcespecifies input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ setMNMXRST() [1/2]

void Basda::Tempo::LakeshoreController331S::setMNMXRST ( )

reset all min/max function for all inputs

◆ setMNMXRST() [2/2]

void Basda::Tempo::LakeshoreController331S::setMNMXRST ( )

reset all min/max function for all inputs

◆ setMODE() [1/2]

void Basda::Tempo::LakeshoreController331S::setMODE ( int  mode)

configure remote interface mode

Parameters
modespecifies the operation mode (0=local, 1=remote, 2=remote with local lock-out)

◆ setMODE() [2/2]

void Basda::Tempo::LakeshoreController331S::setMODE ( int  mode)

configure remote interface mode

Parameters
modespecifies the operation mode (0=local, 1=remote, 2=remote with local lock-out)

◆ setMOUT() [1/2]

void Basda::Tempo::LakeshoreController331S::setMOUT ( int  loop,
double  value 
)

set the control loop manual heater power (MHP) output

Parameters
loopspecifies loop to configure (1 or 2)
valuespecifies value for manual output (in percent)

◆ setMOUT() [2/2]

void Basda::Tempo::LakeshoreController331S::setMOUT ( int  loop,
double  value 
)

set the control loop manual heater power (MHP) output

Parameters
loopspecifies loop to configure (1 or 2)
valuespecifies value for manual output (in percent)

◆ setOPC() [1/2]

void Basda::Tempo::LakeshoreController331S::setOPC ( )

sets operation complete command

◆ setOPC() [2/2]

void Basda::Tempo::LakeshoreController331S::setOPC ( )

sets operation complete command

◆ setPID() [1/2]

void Basda::Tempo::LakeshoreController331S::setPID ( int  loop,
double  valueP,
double  valueI,
double  valueD 
)

set the control loop PID values

Parameters
loopspecifies the loop (1 or 2)
valuePspecifies the value for proportional (gain) (0.1-1000)
valueIspecifies the value for integral (reset) (0.1-1000)
valueDspecifies the value for derivative (rate) (0-200)

◆ setPID() [2/2]

void Basda::Tempo::LakeshoreController331S::setPID ( int  loop,
double  valueP,
double  valueI,
double  valueD 
)

set the control loop PID values

Parameters
loopspecifies the loop (1 or 2)
valuePspecifies the value for proportional (gain) (0.1-1000)
valueIspecifies the value for integral (reset) (0.1-1000)
valueDspecifies the value for derivative (rate) (0-200)

◆ setRAMP() [1/2]

void Basda::Tempo::LakeshoreController331S::setRAMP ( int  loop,
bool  onoff,
double  rate 
)

set the control setpoint ramp parameter

Parameters
loopspecifies teh oop (1 or 2)
onoffspecifies whether ramping is off(false) or on(true)
ratespecifies setpoint ramp rate in Kelvin per minute from 0.1 to 100

◆ setRAMP() [2/2]

void Basda::Tempo::LakeshoreController331S::setRAMP ( int  loop,
bool  onoff,
double  rate 
)

set the control setpoint ramp parameter

Parameters
loopspecifies teh oop (1 or 2)
onoffspecifies whether ramping is off(false) or on(true)
ratespecifies setpoint ramp rate in Kelvin per minute from 0.1 to 100

◆ setRANGE() [1/2]

void Basda::Tempo::LakeshoreController331S::setRANGE ( int  range)

set the heater range for loop 1

Parameters
rangethe new range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W))

◆ setRANGE() [2/2]

void Basda::Tempo::LakeshoreController331S::setRANGE ( int  range)

set the heater range for loop 1

Parameters
rangethe new range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W))

◆ setRELAY() [1/2]

void Basda::Tempo::LakeshoreController331S::setRELAY ( int  relay,
int  mode,
char  input,
int  type 
)

configure relay control parameters

Parameters
relayspecifies which relay to configure (1 or 2)
modespecifies relay mode (0=off, 1=on, 2=alarms)
inputspecifies which input alarm activates the relay when in alarm mode (A or B)
typespecifies the alarm type (0=low alarm, 1=high alarm, 2=both alarms)

◆ setRELAY() [2/2]

void Basda::Tempo::LakeshoreController331S::setRELAY ( int  relay,
int  mode,
char  input,
int  type 
)

configure relay control parameters

Parameters
relayspecifies which relay to configure (1 or 2)
modespecifies relay mode (0=off, 1=on, 2=alarms)
inputspecifies which input alarm activates the relay when in alarm mode (A or B)
typespecifies the alarm type (0=low alarm, 1=high alarm, 2=both alarms)

◆ setRST() [1/2]

void Basda::Tempo::LakeshoreController331S::setRST ( )

reset the instrument

◆ setRST() [2/2]

void Basda::Tempo::LakeshoreController331S::setRST ( )

reset the instrument

◆ setSCAL() [1/2]

void Basda::Tempo::LakeshoreController331S::setSCAL ( int  std,
int  dest,
std::string  snum,
double  temp1,
double  unit1,
double  temp2,
double  unit2,
double  temp3,
double  unit3 
)

generate a SoftCal(TM) curve

Parameters
stdspecifies the standard curve to generate SoftCal from (1,6,7)
destspecifies the user curve to store the SoftCal curve (21-28)
snumspecifies the curve serial number (max 10 chars)
temp1specifies the first temperature point
unit1specifies the first sensor units point
temp2specifies the second temperature point
unit2specifies the second sensor units point
temp3specifies the third temperature point
unit3specifies the third sensor units point

◆ setSCAL() [2/2]

void Basda::Tempo::LakeshoreController331S::setSCAL ( int  std,
int  dest,
std::string  snum,
double  temp1,
double  unit1,
double  temp2,
double  unit2,
double  temp3,
double  unit3 
)

generate a SoftCal(TM) curve

Parameters
stdspecifies the standard curve to generate SoftCal from (1,6,7)
destspecifies the user curve to store the SoftCal curve (21-28)
snumspecifies the curve serial number (max 10 chars)
temp1specifies the first temperature point
unit1specifies the first sensor units point
temp2specifies the second temperature point
unit2specifies the second sensor units point
temp3specifies the third temperature point
unit3specifies the third sensor units point

◆ setSETP() [1/2]

void Basda::Tempo::LakeshoreController331S::setSETP ( int  loop,
double  setpoint 
)

set control setpoint

Parameters
loopspecifies the loop (1 or 2)
setpointspecifies the value for the setpoint

◆ setSETP() [2/2]

void Basda::Tempo::LakeshoreController331S::setSETP ( int  loop,
double  setpoint 
)

set control setpoint

Parameters
loopspecifies the loop (1 or 2)
setpointspecifies the value for the setpoint

◆ setSRE() [1/2]

void Basda::Tempo::LakeshoreController331S::setSRE ( int  weight)

set the status reports in the service request enable register

Parameters
weightbit weighting

◆ setSRE() [2/2]

void Basda::Tempo::LakeshoreController331S::setSRE ( int  weight)

set the status reports in the service request enable register

Parameters
weightbit weighting

◆ setZONE() [1/2]

void Basda::Tempo::LakeshoreController331S::setZONE ( int  loop,
int  zone,
double  top,
double  valueP,
double  valueI,
double  valueD,
double  mout,
int  range 
)

set the control loop zone table parameter

Parameters
loopspecifies the loop (1 or 2)
zonespecifies the zone in the table (1-10)
topspecifies the top temperature of this zone
valuePspecifies P for this zone (0.1-1000)
valueIspecifies I for this zone (0.1-1000)
valueDspecifies D for this zone (0-200)
moutspecifies the manual output for this zone (0-100)
rangespecifies the heater range for this zone if _loop=1 (0-3)

◆ setZONE() [2/2]

void Basda::Tempo::LakeshoreController331S::setZONE ( int  loop,
int  zone,
double  top,
double  valueP,
double  valueI,
double  valueD,
double  mout,
int  range 
)

set the control loop zone table parameter

Parameters
loopspecifies the loop (1 or 2)
zonespecifies the zone in the table (1-10)
topspecifies the top temperature of this zone
valuePspecifies P for this zone (0.1-1000)
valueIspecifies I for this zone (0.1-1000)
valueDspecifies D for this zone (0-200)
moutspecifies the manual output for this zone (0-100)
rangespecifies the heater range for this zone if _loop=1 (0-3)

Member Data Documentation

◆ m_answer

std::string Basda::Tempo::LakeshoreController331S::m_answer
private

this string contains the latest answer from the device

◆ m_chat

Nice::ChatLine Basda::Tempo::LakeshoreController331S::m_chat
private

this is the chatline that is used to comunicate with the device

◆ m_comands

std::vector< std::string > Basda::Tempo::LakeshoreController331S::m_comands
private

this vector contains the comands supported by the temperature monitor

◆ m_connection

std::string Basda::Tempo::LakeshoreController331S::m_connection
private

this string contains the connection informations (ip adress, port) to build the chatLine

◆ m_isConnected

bool Basda::Tempo::LakeshoreController331S::m_isConnected
private

this boolean indicates if there is an active connection to a device

◆ m_term

std::string Basda::Tempo::LakeshoreController331S::m_term
private

this string contains the current terminators for the sending of the commands


The documentation for this class was generated from the following files: