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

#include <LakeshoreMonitor218S.h>

Collaboration diagram for Basda::Tempo::LakeshoreMonitor218S:
Collaboration graph

Public Member Functions

 LakeshoreMonitor218S ()
 
 LakeshoreMonitor218S (std::string connection, bool create)
 
virtual ~LakeshoreMonitor218S ()
 
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 (int input, bool alarm, int source, double high, double low, double dead, bool latch)
 sets the alarm parameters More...
 
void queryALARM (int input, bool &onoff, int &source, double &highvalue, double &lowvalue, double &deadband, bool &latch_enabled)
 query the input alarm parameters More...
 
void queryALARMST (int input, bool &highstate, bool &lowstate)
 query the input alarm status More...
 
void setALMB (bool beep)
 sets the audible alarm beeper on or off More...
 
void queryALMB (bool &beep)
 query the audible alarm parameters More...
 
void setALMRST ()
 clear alarm status for all inputs More...
 
void setANALOG (int output, bool bipolar, int mode, int input, int source, double high, double low, double manual)
 configure analog output parameters More...
 
void queryANALOG (int output, bool &bipolar, int &mode, std::string &input, int &source, double &high, double &low, double &manual)
 query analog output parameters More...
 
void queryAOUT (int input, double &aoutput)
 query analog output data More...
 
void setBAUD (int baudrate)
 sets the serial interface baudrate More...
 
void queryBAUD (int &baud)
 query the current serial interface baud rate More...
 
void queryCRDG (int input, double &value)
 query Celsius reading for a single input (or all inputs) More...
 
void queryAllCRDG (std::vector< double > &data)
 query Celsius reading for all inputs More...
 
void setCRVDEL (int curve)
 delete user curve More...
 
void setCRVHDR (int curve, std::string name, std::string sn, 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 setDATETIME (int MM, int dd, int yy, int hh, int mm, int ss)
 sets date and time More...
 
void queryDATETIME (int &MM, int &dd, int &yy, int &hh, int &mm, int &ss)
 query date and time More...
 
void setDFLT ()
 set to factory defaults More...
 
void setDISPFLD (int loc, int input, int source)
 configure display parameters More...
 
void queryDISPFLD (int location, int &input, int &source)
 query display field More...
 
void setFILTER (int input, bool filter, int points, int win)
 configure input filter parameters More...
 
void queryFILTER (int input, bool &filter, int &points, int &win)
 query input filter parameters 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 (int input, int curve)
 configure curve input number More...
 
void queryINCRV (int input, int &curve)
 query input curve number More...
 
void setINPUT (int input, bool use)
 configure input control parameter More...
 
void queryINPUT (int input, bool &onoff)
 query input control parameter More...
 
void setINTYPE (char group, int type)
 configure input type parameters More...
 
void queryINTYPE (char group, int &type)
 query input type parameters More...
 
void queryKEYST (bool &pressed)
 query keypad status More...
 
void queryKRDG (int input, double &value)
 query Kelvin reading for a single input More...
 
void queryAllKRDG (std::vector< double > &data)
 query Kelvin reading for all inputs More...
 
void setLINEAR (int input, double varM, int source, double varB)
 configure input linear equation parameters More...
 
void queryLINEAR (int input, double &varM, int &source, double &varB)
 query linear input equation parameters 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 setLOG (bool log)
 turns logging on or off More...
 
void queryLOG (bool &onoff)
 query logging status More...
 
void queryLOGNUM (int &lognumber)
 query number of last data log record stored More...
 
void setLOGREAD (int num, int input, int source)
 configure log records More...
 
void queryLOGREAD (int num, int &input, int &source)
 query log record parameters More...
 
void setLOGSET (int mode, bool over, int start, int period, int read)
 configure logging parameters More...
 
void queryLOGSET (int &mode, bool &over, int &start, int &period, int &read)
 query logging parameters More...
 
void queryLOGVIEW (int num, int read, std::string &date, std::string &time, double &reading, int &status, int &source)
 query a logged data record More...
 
void queryLRDG (int input, double &value)
 query linear equation data for a single input More...
 
void queryAllLRDG (std::vector< double > &data)
 query linear equation data reading for all inputs More...
 
void setMNMX (int input, int source)
 configure minimun and maximum input function parameters More...
 
void queryMNMX (int input, int &source)
 query minimum and maximum input function parameters More...
 
void queryMNMXRDG (int input, double &minvalue, double &maxvalue)
 query min/max data for an input 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 queryRDGST (int input, int &readbitweight)
 query input status More...
 
void setRELAY (int relay, int mode, int input, int type)
 configure relay control parameters More...
 
void queryRELAY (int relay, int &mode, int &input, int &type)
 query relay control parameters More...
 
void queryRELAYST (int &bitweight)
 query relay status More...
 
void setSCAL (int stdc, int dest, std::string snum, double temp1, double unit1, double temp2, double unit2, double temp3, double unit3)
 generate a SoftCal(TM) curve More...
 
void queryAllSRDG (std::vector< double > &data)
 query sensor units readings for all inputs More...
 
void querySRDG (int input, double &value)
 query sensor units reading for a single input More...
 
 LakeshoreMonitor218S ()
 
 LakeshoreMonitor218S (std::string connection, bool create)
 
virtual ~LakeshoreMonitor218S ()
 
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 (int input, bool alarm, int source, double high, double low, double dead, bool latch)
 sets the alarm parameters More...
 
void queryALARM (int input, bool &onoff, int &source, double &highvalue, double &lowvalue, double &deadband, bool &latch_enabled)
 query the input alarm parameters More...
 
void queryALARMST (int input, bool &highstate, bool &lowstate)
 query the input alarm status More...
 
void setALMB (bool beep)
 sets the audible alarm beeper on or off More...
 
void queryALMB (bool &beep)
 query the audible alarm parameters More...
 
void setALMRST ()
 clear alarm status for all inputs More...
 
void setANALOG (int output, bool bipolar, int mode, int input, int source, double high, double low, double manual)
 configure analog output parameters More...
 
void queryANALOG (int output, bool &bipolar, int &mode, std::string &input, int &source, double &high, double &low, double &manual)
 query analog output parameters More...
 
void queryAOUT (int input, double &aoutput)
 query analog output data More...
 
void setBAUD (int baudrate)
 sets the serial interface baudrate More...
 
void queryBAUD (int &baud)
 query the current serial interface baud rate More...
 
void queryCRDG (int input, double &value)
 query Celsius reading for a single input (or all inputs) More...
 
void queryAllCRDG (std::vector< double > &data)
 query Celsius reading for all inputs More...
 
void setCRVDEL (int curve)
 delete user curve More...
 
void setCRVHDR (int curve, std::string name, std::string sn, 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 setDATETIME (int MM, int dd, int yy, int hh, int mm, int ss)
 sets date and time More...
 
void queryDATETIME (int &MM, int &dd, int &yy, int &hh, int &mm, int &ss)
 query date and time More...
 
void setDFLT ()
 set to factory defaults More...
 
void setDISPFLD (int loc, int input, int source)
 configure display parameters More...
 
void queryDISPFLD (int location, int &input, int &source)
 query display field More...
 
void setFILTER (int input, bool filter, int points, int win)
 configure input filter parameters More...
 
void queryFILTER (int input, bool &filter, int &points, int &win)
 query input filter parameters 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 (int input, int curve)
 configure curve input number More...
 
void queryINCRV (int input, int &curve)
 query input curve number More...
 
void setINPUT (int input, bool use)
 configure input control parameter More...
 
void queryINPUT (int input, bool &onoff)
 query input control parameter More...
 
void setINTYPE (char group, int type)
 configure input type parameters More...
 
void queryINTYPE (char group, int &type)
 query input type parameters More...
 
void queryKEYST (bool &pressed)
 query keypad status More...
 
void queryKRDG (int input, double &value)
 query Kelvin reading for a single input More...
 
void queryAllKRDG (std::vector< double > &data)
 query Kelvin reading for all inputs More...
 
void setLINEAR (int input, double varM, int source, double varB)
 configure input linear equation parameters More...
 
void queryLINEAR (int input, double &varM, int &source, double &varB)
 query linear input equation parameters 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 setLOG (bool log)
 turns logging on or off More...
 
void queryLOG (bool &onoff)
 query logging status More...
 
void queryLOGNUM (int &lognumber)
 query number of last data log record stored More...
 
void setLOGREAD (int num, int input, int source)
 configure log records More...
 
void queryLOGREAD (int num, int &input, int &source)
 query log record parameters More...
 
void setLOGSET (int mode, bool over, int start, int period, int read)
 configure logging parameters More...
 
void queryLOGSET (int &mode, bool &over, int &start, int &period, int &read)
 query logging parameters More...
 
void queryLOGVIEW (int num, int read, std::string &date, std::string &time, double &reading, int &status, int &source)
 query a logged data record More...
 
void queryLRDG (int input, double &value)
 query linear equation data for a single input More...
 
void queryAllLRDG (std::vector< double > &data)
 query linear equation data reading for all inputs More...
 
void setMNMX (int input, int source)
 configure minimun and maximum input function parameters More...
 
void queryMNMX (int input, int &source)
 query minimum and maximum input function parameters More...
 
void queryMNMXRDG (int input, double &minvalue, double &maxvalue)
 query min/max data for an input 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 queryRDGST (int input, int &readbitweight)
 query input status More...
 
void setRELAY (int relay, int mode, int input, int type)
 configure relay control parameters More...
 
void queryRELAY (int relay, int &mode, int &input, int &type)
 query relay control parameters More...
 
void queryRELAYST (int &bitweight)
 query relay status More...
 
void setSCAL (int stdc, int dest, std::string snum, double temp1, double unit1, double temp2, double unit2, double temp3, double unit3)
 generate a SoftCal(TM) curve More...
 
void queryAllSRDG (std::vector< double > &data)
 query sensor units readings for all inputs More...
 
void querySRDG (int input, double &value)
 query sensor units reading for a single input More...
 

Protected Member Functions

int sendMsg (const std::string &cmd)
 this function sends a specific command 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 command 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

◆ LakeshoreMonitor218S() [1/4]

Basda::Tempo::LakeshoreMonitor218S::LakeshoreMonitor218S ( )

◆ LakeshoreMonitor218S() [2/4]

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

◆ ~LakeshoreMonitor218S() [1/2]

Basda::Tempo::LakeshoreMonitor218S::~LakeshoreMonitor218S ( )
virtual

◆ LakeshoreMonitor218S() [3/4]

Basda::Tempo::LakeshoreMonitor218S::LakeshoreMonitor218S ( )

◆ LakeshoreMonitor218S() [4/4]

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

◆ ~LakeshoreMonitor218S() [2/2]

virtual Basda::Tempo::LakeshoreMonitor218S::~LakeshoreMonitor218S ( )
virtual

Member Function Documentation

◆ closeChatLine() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::closeChatLine ( )

◆ closeChatLine() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::closeChatLine ( )

◆ createChatLine() [1/4]

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

◆ createChatLine() [2/4]

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

◆ createChatLine() [3/4]

void Basda::Tempo::LakeshoreMonitor218S::createChatLine ( )

◆ createChatLine() [4/4]

void Basda::Tempo::LakeshoreMonitor218S::createChatLine ( )

◆ getAnswer() [1/2]

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

◆ getAnswer() [2/2]

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

◆ queryALARM() [1/2]

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

query the input alarm parameters

Parameters
inputspecifies the input
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::LakeshoreMonitor218S::queryALARM ( int  input,
bool onoff,
int &  source,
double &  highvalue,
double &  lowvalue,
double &  deadband,
bool latch_enabled 
)

query the input alarm parameters

Parameters
inputspecifies the input
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::LakeshoreMonitor218S::queryALARMST ( int  input,
bool highstate,
bool lowstate 
)

query the input alarm status

Parameters
inputspecifies the input (1..8)
highstatehighvalue alarm is on or off
lowstatelowvalue alarm is on or off

◆ queryALARMST() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryALARMST ( int  input,
bool highstate,
bool lowstate 
)

query the input alarm status

Parameters
inputspecifies the input (1..8)
highstatehighvalue alarm is on or off
lowstatelowvalue alarm is on or off

◆ queryAllCRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllCRDG ( std::vector< double > &  data)

query Celsius reading for all inputs

Parameters
dataspecifies the data vector inculding the values of all inputs

◆ queryAllCRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllCRDG ( std::vector< double > &  data)

query Celsius reading for all inputs

Parameters
dataspecifies the data vector inculding the values of all inputs

◆ queryAllKRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllKRDG ( std::vector< double > &  data)

query Kelvin reading for all inputs

Parameters
dataspecifies the data vector including the values of all inputs

◆ queryAllKRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllKRDG ( std::vector< double > &  data)

query Kelvin reading for all inputs

Parameters
dataspecifies the data vector including the values of all inputs

◆ queryAllLRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllLRDG ( std::vector< double > &  data)

query linear equation data reading for all inputs

Parameters
dataspecifies the data vector including the values of all inputs

◆ queryAllLRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllLRDG ( std::vector< double > &  data)

query linear equation data reading for all inputs

Parameters
dataspecifies the data vector including the values of all inputs

◆ queryAllSRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllSRDG ( std::vector< double > &  data)

query sensor units readings for all inputs

Parameters
dataspecifies the data vector including the values of all inputs

◆ queryAllSRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAllSRDG ( std::vector< double > &  data)

query sensor units readings for all inputs

Parameters
dataspecifies the data vector including the values of all inputs

◆ queryALMB() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryALMB ( bool beep)

query the audible alarm parameters

Parameters
beepcurrent beep status true=on, false =off

◆ queryALMB() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryALMB ( bool beep)

query the audible alarm parameters

Parameters
beepcurrent beep status true=on, false =off

◆ queryANALOG() [1/2]

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

query analog output parameters

Parameters
outputspecifies the output
bipolarspecifies analog output (0=positive only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual)
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 outpu

◆ queryANALOG() [2/2]

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

query analog output parameters

Parameters
outputspecifies the output
bipolarspecifies analog output (0=positive only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual)
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 outpu

◆ queryAOUT() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAOUT ( int  input,
double &  aoutput 
)

query analog output data

Parameters
outputspecifies the output
aoutputcurrent analog output of the selected input

◆ queryAOUT() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryAOUT ( int  input,
double &  aoutput 
)

query analog output data

Parameters
outputspecifies the output
aoutputcurrent analog output of the selected input

◆ queryBAUD() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::queryBAUD ( int &  baud)

query the current serial interface baud rate

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

◆ queryCRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryCRDG ( int  input,
double &  value 
)

query Celsius reading for a single input (or all inputs)

Parameters
inputspecifies the input (0 for all inputs is covered be queryAllCRDG()
valuethe Celsius value for the selected input

◆ queryCRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryCRDG ( int  input,
double &  value 
)

query Celsius reading for a single input (or all inputs)

Parameters
inputspecifies the input (0 for all inputs is covered be queryAllCRDG()
valuethe Celsius value for the selected input

◆ queryCRVHDR() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)
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::LakeshoreMonitor218S::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-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)
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::LakeshoreMonitor218S::queryCRVPT ( int  curve,
int  index,
double &  units,
double &  temp 
)

query curve data point

Parameters
curvespecifies which curve to query (1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)
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::LakeshoreMonitor218S::queryCRVPT ( int  curve,
int  index,
double &  units,
double &  temp 
)

query curve data point

Parameters
curvespecifies which curve to query (1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)
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

◆ queryDATETIME() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryDATETIME ( int &  MM,
int &  dd,
int &  yy,
int &  hh,
int &  mm,
int &  ss 
)

query date and time

Parameters
MMmonth (1-12)
ddday (1-31)
yyyear (00-99)
hhhour (0-23)
mmminute (0-59)
sssecond (0-59)

◆ queryDATETIME() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryDATETIME ( int &  MM,
int &  dd,
int &  yy,
int &  hh,
int &  mm,
int &  ss 
)

query date and time

Parameters
MMmonth (1-12)
ddday (1-31)
yyyear (00-99)
hhhour (0-23)
mmminute (0-59)
sssecond (0-59)

◆ queryDISPFLD() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryDISPFLD ( int  location,
int &  input,
int &  source 
)

query display field

Parameters
locationdisplay location (1-8)
inputspecifies input to display in that location (0-8) (0=none)
sourcespecifies 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::LakeshoreMonitor218S::queryDISPFLD ( int  location,
int &  input,
int &  source 
)

query display field

Parameters
locationdisplay location (1-8)
inputspecifies input to display in that location (0-8) (0=none)
sourcespecifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data)

◆ queryESE() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::queryFILTER ( int  input,
bool filter,
int &  points,
int &  win 
)

query input filter parameters

Parameters
inputspecifies input (1-8)
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::LakeshoreMonitor218S::queryFILTER ( int  input,
bool filter,
int &  points,
int &  win 
)

query input filter parameters

Parameters
inputspecifies input (1-8)
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)

◆ queryIDN() [1/4]

void Basda::Tempo::LakeshoreMonitor218S::queryIDN ( )

gets the identification of the device

◆ queryIDN() [2/4]

void Basda::Tempo::LakeshoreMonitor218S::queryIDN ( )

gets the identification of the device

◆ queryIDN() [3/4]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::queryINCRV ( int  input,
int &  curve 
)

query input curve number

Parameters
inputspecifies the input (1-8)
curvespecifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)

◆ queryINCRV() [2/2]

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

query input curve number

Parameters
inputspecifies the input (1-8)
curvespecifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)

◆ queryINPUT() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryINPUT ( int  input,
bool onoff 
)

query input control parameter

Parameters
inputspecifies the input (1-8)
onoffinput turned off(false) or on(true);

◆ queryINPUT() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryINPUT ( int  input,
bool onoff 
)

query input control parameter

Parameters
inputspecifies the input (1-8)
onoffinput turned off(false) or on(true);

◆ queryINTYPE() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryINTYPE ( char  group,
int &  type 
)

query input type parameters

Parameters
groupspecifies input group (A=1-4, B=5-8)
typespecifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox)

◆ queryINTYPE() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryINTYPE ( char  group,
int &  type 
)

query input type parameters

Parameters
groupspecifies input group (A=1-4, B=5-8)
typespecifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox)

◆ queryKEYST() [1/2]

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

query keypad status

Parameters
pressedtrue if key is pressed, false otherwise

◆ queryKEYST() [2/2]

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

query keypad status

Parameters
pressedtrue if key is pressed, false otherwise

◆ queryKRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryKRDG ( int  input,
double &  value 
)

query Kelvin reading for a single input

Parameters
inputspecifies the input (0 for all inputs is covered be queryAllKRDG()
valuethe Kelvin value for the selected input

◆ queryKRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryKRDG ( int  input,
double &  value 
)

query Kelvin reading for a single input

Parameters
inputspecifies the input (0 for all inputs is covered be queryAllKRDG()
valuethe Kelvin value for the selected input

◆ queryLINEAR() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLINEAR ( int  input,
double &  varM,
int &  source,
double &  varB 
)

query linear input equation parameters

Parameters
inputspecifies input (1-8)
varMspecifies a value for m in the equation
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units)
varBspecifies a value for b in the equation

◆ queryLINEAR() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLINEAR ( int  input,
double &  varM,
int &  source,
double &  varB 
)

query linear input equation parameters

Parameters
inputspecifies input (1-8)
varMspecifies a value for m in the equation
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units)
varBspecifies a value for b in the equation

◆ queryLOCK() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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

◆ queryLOG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOG ( bool onoff)

query logging status

Parameters
onofflogging is tunred on (true) or off (false)

◆ queryLOG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOG ( bool onoff)

query logging status

Parameters
onofflogging is tunred on (true) or off (false)

◆ queryLOGNUM() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGNUM ( int &  lognumber)

query number of last data log record stored

Parameters
lognumbernumber of last data record stored

◆ queryLOGNUM() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGNUM ( int &  lognumber)

query number of last data log record stored

Parameters
lognumbernumber of last data record stored

◆ queryLOGREAD() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGREAD ( int  num,
int &  input,
int &  source 
)

query log record parameters

Parameters
numnumber of the log to be read (1-8)
inputthe input to log (1-8)
sourcedata source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ queryLOGREAD() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGREAD ( int  num,
int &  input,
int &  source 
)

query log record parameters

Parameters
numnumber of the log to be read (1-8)
inputthe input to log (1-8)
sourcedata source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ queryLOGSET() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGSET ( int &  mode,
bool over,
int &  start,
int &  period,
int &  read 
)

query logging parameters

Parameters
modespecifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event)
overspecifies overwrite mode (true=overwrite data, false=do not overwrite data)
startspecifies start mode (0=clear, 1=continue)
periodspecifies period in seconds (1-3600). If _mode=3 minimum period is 10
readspecifies number of readings per record (1-8)

◆ queryLOGSET() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGSET ( int &  mode,
bool over,
int &  start,
int &  period,
int &  read 
)

query logging parameters

Parameters
modespecifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event)
overspecifies overwrite mode (true=overwrite data, false=do not overwrite data)
startspecifies start mode (0=clear, 1=continue)
periodspecifies period in seconds (1-3600). If _mode=3 minimum period is 10
readspecifies number of readings per record (1-8)

◆ queryLOGVIEW() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGVIEW ( int  num,
int  read,
std::string &  date,
std::string &  time,
double &  reading,
int &  status,
int &  source 
)

query a logged data record

Parameters
numnumber of data record
readnumber of reading
dateDate reading was recorded.
timeTime reading was recorded.
readingReading value logged.
statusRepresents the sum of the bit weighting of the reading status flag bits.
sourceReturns data source recorded. 1 = Kelvin, 2 = Celsius, 3 = sensor units,4 = linear data.

◆ queryLOGVIEW() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLOGVIEW ( int  num,
int  read,
std::string &  date,
std::string &  time,
double &  reading,
int &  status,
int &  source 
)

query a logged data record

Parameters
numnumber of data record
readnumber of reading
dateDate reading was recorded.
timeTime reading was recorded.
readingReading value logged.
statusRepresents the sum of the bit weighting of the reading status flag bits.
sourceReturns data source recorded. 1 = Kelvin, 2 = Celsius, 3 = sensor units,4 = linear data.

◆ queryLRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLRDG ( int  input,
double &  value 
)

query linear equation data for a single input

Parameters
inputspecifies the input (0 for all inputs is covered be queryAllLRDG()
valuethe linear equation data for the selected input

◆ queryLRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryLRDG ( int  input,
double &  value 
)

query linear equation data for a single input

Parameters
inputspecifies the input (0 for all inputs is covered be queryAllLRDG()
valuethe linear equation data for the selected input

◆ queryMNMX() [1/2]

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

query minimum and maximum input function parameters

Parameters
inputspecifies the input (1-8)
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::LakeshoreMonitor218S::queryMNMX ( int  input,
int &  source 
)

query minimum and maximum input function parameters

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

◆ queryMNMXRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryMNMXRDG ( int  input,
double &  minvalue,
double &  maxvalue 
)

query min/max data for an input

Parameters
inputspecifies the input (1-8)
minvalueminimum input data value
maxvaluemaximum input data value

◆ queryMNMXRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryMNMXRDG ( int  input,
double &  minvalue,
double &  maxvalue 
)

query min/max data for an input

Parameters
inputspecifies the input (1-8)
minvalueminimum input data value
maxvaluemaximum input data value

◆ queryMODE() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::queryMODE ( int &  mode)

query remote interface mode

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

◆ queryOPC() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::queryOPC ( )

query operation complete.

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

◆ queryRDGST() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryRDGST ( int  input,
int &  readbitweight 
)

query input status

Parameters
inputspecifies the input (1-8)
readbitweightThe integer returned represents the sum of the bit weighting of the input status flag bits.

◆ queryRDGST() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryRDGST ( int  input,
int &  readbitweight 
)

query input status

Parameters
inputspecifies the input (1-8)
readbitweightThe integer returned represents the sum of the bit weighting of the input status flag bits.

◆ queryRELAY() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryRELAY ( int  relay,
int &  mode,
int &  input,
int &  type 
)

query relay control parameters

Parameters
relayspecifies which relay to query
modecurrent relay mode (0=off, 1=on, 2=alarms)
inputwhich current input alarm activates the relay when in alarm mode (1-8)
typecurrent alarm type (0=low alarm, 1=high alarm, 2=both alarms)

◆ queryRELAY() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryRELAY ( int  relay,
int &  mode,
int &  input,
int &  type 
)

query relay control parameters

Parameters
relayspecifies which relay to query
modecurrent relay mode (0=off, 1=on, 2=alarms)
inputwhich current input alarm activates the relay when in alarm mode (1-8)
typecurrent alarm type (0=low alarm, 1=high alarm, 2=both alarms)

◆ queryRELAYST() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::queryRELAYST ( int &  bitweight)

query relay status

Parameters
bitweightThe integer returned represents the sum of the bit weighting of the relay status.

◆ queryRELAYST() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::queryRELAYST ( int &  bitweight)

query relay status

Parameters
bitweightThe integer returned represents the sum of the bit weighting of the relay status.

◆ querySRDG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::querySRDG ( int  input,
double &  value 
)

query sensor units reading for a single input

Parameters
inputspecifies the input (0-8) (0 for all inputs is covered by queryAllSRDG())
valuethe sensor units reading data for the selected input

◆ querySRDG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::querySRDG ( int  input,
double &  value 
)

query sensor units reading for a single input

Parameters
inputspecifies the input (0-8) (0 for all inputs is covered by queryAllSRDG())
valuethe sensor units reading data for the selected input

◆ querySRE() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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

◆ queryTST() [1/2]

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

enable selftest of the device

Parameters
errorfoundtrue if error was found, false otherwise

◆ queryTST() [2/2]

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

enable selftest of the device

Parameters
errorfoundtrue if error was found, false otherwise

◆ readMsg() [1/2]

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

this function reads the answer from the device

Parameters
rcvanswer from the device

◆ readMsg() [2/2]

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

this function reads the answer from the device

Parameters
rcvanswer from the device

◆ sendMsg() [1/2]

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

this function sends a specific command to the device

Parameters
cmdcommand to send
Returns
number of chars sent

◆ sendMsg() [2/2]

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

this function sends a specific command to the device

Parameters
cmdcommand to send
Returns
number of chars sent

◆ setALARM() [1/2]

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

sets the alarm parameters

Parameters
inputspecifies the input to configure
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::LakeshoreMonitor218S::setALARM ( int  input,
bool  alarm,
int  source,
double  high,
double  low,
double  dead,
bool  latch 
)

sets the alarm parameters

Parameters
inputspecifies the input to configure
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)

◆ setALMB() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setALMB ( bool  beep)

sets the audible alarm beeper on or off

Parameters
beepon(true) or off(false)

◆ setALMB() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setALMB ( bool  beep)

sets the audible alarm beeper on or off

Parameters
beepon(true) or off(false)

◆ setALMRST() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setALMRST ( )

clear alarm status for all inputs

◆ setALMRST() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setALMRST ( )

clear alarm status for all inputs

◆ setANALOG() [1/2]

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

configure analog output parameters

Parameters
outputspecifies the output (1 or 2)
bipolarspecifies analog output (0=positiv only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual)
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::LakeshoreMonitor218S::setANALOG ( int  output,
bool  bipolar,
int  mode,
int  input,
int  source,
double  high,
double  low,
double  manual 
)

configure analog output parameters

Parameters
outputspecifies the output (1 or 2)
bipolarspecifies analog output (0=positiv only, 1=bipolar)
modedata for the analog output to monitor (0=off, 1=input, 2=manual)
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::LakeshoreMonitor218S::setBAUD ( int  baudrate)

sets the serial interface baudrate

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

◆ setBAUD() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setBAUD ( int  baudrate)

sets the serial interface baudrate

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

◆ setCLS() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setCLS ( )

command to clear the interface of the device

◆ setCLS() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setCLS ( )

command to clear the interface of the device

◆ setConnection() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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::LakeshoreMonitor218S::setCRVDEL ( int  curve)

delete user curve

Parameters
curvespecifies which curve to delete (21-28) for inputs 1-8

◆ setCRVDEL() [2/2]

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

delete user curve

Parameters
curvespecifies which curve to delete (21-28) for inputs 1-8

◆ setCRVHDR() [1/2]

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

configure the curve header

Parameters
curvespecifies which curve to configure (21-28) for inputs 1-8
namespecifies curve name (max 15 chars)
snserial number for the curve (max 10 chars)
formatcurve data format (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::LakeshoreMonitor218S::setCRVHDR ( int  curve,
std::string  name,
std::string  sn,
int  format,
double  limit,
int  coeff 
)

configure the curve header

Parameters
curvespecifies which curve to configure (21-28) for inputs 1-8
namespecifies curve name (max 15 chars)
snserial number for the curve (max 10 chars)
formatcurve data format (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::LakeshoreMonitor218S::setCRVPT ( int  curve,
int  index,
double  units,
double  temp 
)

configure curve data point

Parameters
curvespecifies which curve to configure (21-28) for inputs 1-8
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::LakeshoreMonitor218S::setCRVPT ( int  curve,
int  index,
double  units,
double  temp 
)

configure curve data point

Parameters
curvespecifies which curve to configure (21-28) for inputs 1-8
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

◆ setDATETIME() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setDATETIME ( int  MM,
int  dd,
int  yy,
int  hh,
int  mm,
int  ss 
)

sets date and time

Parameters
MMmonth (1-12)
ddday (1-31)
yyyear (00-99)
hhhour (0-23)
mmminute (0-59)
sssecond (0-59)

◆ setDATETIME() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setDATETIME ( int  MM,
int  dd,
int  yy,
int  hh,
int  mm,
int  ss 
)

sets date and time

Parameters
MMmonth (1-12)
ddday (1-31)
yyyear (00-99)
hhhour (0-23)
mmminute (0-59)
sssecond (0-59)

◆ setDFLT() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setDFLT ( )

set to factory defaults

Note
use with causion

◆ setDFLT() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setDFLT ( )

set to factory defaults

Note
use with causion

◆ setDISPFLD() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setDISPFLD ( int  loc,
int  input,
int  source 
)

configure display parameters

Parameters
locdisplay location (1-8)
inputspecifies input to display in that location (0-8) (0=none)
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::LakeshoreMonitor218S::setDISPFLD ( int  loc,
int  input,
int  source 
)

configure display parameters

Parameters
locdisplay location (1-8)
inputspecifies input to display in that location (0-8) (0=none)
sourcespecifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data)

◆ setESE() [1/2]

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

sets the configure status reports in the standard event register

Parameters
weightbit weighting

◆ setESE() [2/2]

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

sets the configure status reports in the standard event register

Parameters
weightbit weighting

◆ setFILTER() [1/2]

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

configure input filter parameters

Parameters
inputspecifies input to configure (1-8)
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::LakeshoreMonitor218S::setFILTER ( int  input,
bool  filter,
int  points,
int  win 
)

configure input filter parameters

Parameters
inputspecifies input to configure (1-8)
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::LakeshoreMonitor218S::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

◆ setIEEE() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::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

◆ setINCRV() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setINCRV ( int  input,
int  curve 
)

configure curve input number

Parameters
inputspecifies which input to configure (1-8)
curvespecifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)

◆ setINCRV() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setINCRV ( int  input,
int  curve 
)

configure curve input number

Parameters
inputspecifies which input to configure (1-8)
curvespecifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves)

◆ setINPUT() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setINPUT ( int  input,
bool  use 
)

configure input control parameter

Parameters
inputspecifies input (1-8)
useturns input off(false) or on(true);

◆ setINPUT() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setINPUT ( int  input,
bool  use 
)

configure input control parameter

Parameters
inputspecifies input (1-8)
useturns input off(false) or on(true);

◆ setINTYPE() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setINTYPE ( char  group,
int  type 
)

configure input type parameters

Parameters
groupspecifies input group (A=1-4, B=5-8)
typespecifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox)

◆ setINTYPE() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setINTYPE ( char  group,
int  type 
)

configure input type parameters

Parameters
groupspecifies input group (A=1-4, B=5-8)
typespecifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox)

◆ setLINEAR() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setLINEAR ( int  input,
double  varM,
int  source,
double  varB 
)

configure input linear equation parameters

Note
the equation used is y = m * x + b
Parameters
inputspecifies input (1-8)
varMspecifies a value for m in the equation
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units)
varBspecifies a value for b in the equation

◆ setLINEAR() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setLINEAR ( int  input,
double  varM,
int  source,
double  varB 
)

configure input linear equation parameters

Note
the equation used is y = m * x + b
Parameters
inputspecifies input (1-8)
varMspecifies a value for m in the equation
sourcespecifies input data (1=Kelvin, 2=Celsius, 3=sensor units)
varBspecifies a value for b in the equation

◆ setLOCK() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::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)

◆ setLOG() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setLOG ( bool  log)

turns logging on or off

Parameters
logtrue=on, false=off

◆ setLOG() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setLOG ( bool  log)

turns logging on or off

Parameters
logtrue=on, false=off

◆ setLOGREAD() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setLOGREAD ( int  num,
int  input,
int  source 
)

configure log records

Parameters
numspecifies the reading number (1-8) within a log record to configure
inputthe input to log (1-8)
sourcedata source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ setLOGREAD() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setLOGREAD ( int  num,
int  input,
int  source 
)

configure log records

Parameters
numspecifies the reading number (1-8) within a log record to configure
inputthe input to log (1-8)
sourcedata source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data)

◆ setLOGSET() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setLOGSET ( int  mode,
bool  over,
int  start,
int  period,
int  read 
)

configure logging parameters

Parameters
modespecifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event)
overspecifies overwrite mode (true=overwrite data, false=do not overwrite data)
startspecifies start mode (0=clear, 1=continue)
periodspecifies period in seconds (1-3600). If _mode=3 minimum period is 10
readspecifies number of readings per record (1-8)

◆ setLOGSET() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setLOGSET ( int  mode,
bool  over,
int  start,
int  period,
int  read 
)

configure logging parameters

Parameters
modespecifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event)
overspecifies overwrite mode (true=overwrite data, false=do not overwrite data)
startspecifies start mode (0=clear, 1=continue)
periodspecifies period in seconds (1-3600). If _mode=3 minimum period is 10
readspecifies number of readings per record (1-8)

◆ setMNMX() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setMNMX ( int  input,
int  source 
)

configure minimun and maximum input function parameters

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

◆ setMNMX() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setMNMX ( int  input,
int  source 
)

configure minimun and maximum input function parameters

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

◆ setMNMXRST() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setMNMXRST ( )

reset all min/max function for all inputs

◆ setMNMXRST() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setMNMXRST ( )

reset all min/max function for all inputs

◆ setMODE() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::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::LakeshoreMonitor218S::setMODE ( int  mode)

configure remote interface mode

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

◆ setOPC() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setOPC ( )

sets operation complete command

◆ setOPC() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setOPC ( )

sets operation complete command

◆ setRELAY() [1/2]

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

configure relay control parameters

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

◆ setRELAY() [2/2]

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

configure relay control parameters

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

◆ setRST() [1/2]

void Basda::Tempo::LakeshoreMonitor218S::setRST ( )

reset the instrument

◆ setRST() [2/2]

void Basda::Tempo::LakeshoreMonitor218S::setRST ( )

reset the instrument

◆ setSCAL() [1/2]

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

generate a SoftCal(TM) curve

Parameters
stdcspecifies 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::LakeshoreMonitor218S::setSCAL ( int  stdc,
int  dest,
std::string  snum,
double  temp1,
double  unit1,
double  temp2,
double  unit2,
double  temp3,
double  unit3 
)

generate a SoftCal(TM) curve

Parameters
stdcspecifies 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

◆ setSRE() [1/2]

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

set the status reports in the service request enable register

Parameters
weightbit weighting

◆ setSRE() [2/2]

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

set the status reports in the service request enable register

Parameters
weightbit weighting

Member Data Documentation

◆ m_answer

std::string Basda::Tempo::LakeshoreMonitor218S::m_answer
private

this string contains the latest answer from the device

◆ m_chat

Nice::ChatLine Basda::Tempo::LakeshoreMonitor218S::m_chat
private

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

◆ m_comands

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

this vector contains the comands supported by the temperature monitor

◆ m_connection

std::string Basda::Tempo::LakeshoreMonitor218S::m_connection
private

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

◆ m_isConnected

bool Basda::Tempo::LakeshoreMonitor218S::m_isConnected
private

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

◆ m_term

std::string Basda::Tempo::LakeshoreMonitor218S::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: