TwiceAsNice
2019-02-18
|
#include <LakeshoreMonitor218S.h>
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... | |
Basda::Tempo::LakeshoreMonitor218S::LakeshoreMonitor218S | ( | ) |
Basda::Tempo::LakeshoreMonitor218S::LakeshoreMonitor218S | ( | std::string | connection, |
bool | create | ||
) |
|
virtual |
Basda::Tempo::LakeshoreMonitor218S::LakeshoreMonitor218S | ( | ) |
Basda::Tempo::LakeshoreMonitor218S::LakeshoreMonitor218S | ( | std::string | connection, |
bool | create | ||
) |
|
virtual |
void Basda::Tempo::LakeshoreMonitor218S::closeChatLine | ( | ) |
void Basda::Tempo::LakeshoreMonitor218S::closeChatLine | ( | ) |
void Basda::Tempo::LakeshoreMonitor218S::createChatLine | ( | const std::string & | connection | ) |
void Basda::Tempo::LakeshoreMonitor218S::createChatLine | ( | const std::string & | connection | ) |
void Basda::Tempo::LakeshoreMonitor218S::createChatLine | ( | ) |
void Basda::Tempo::LakeshoreMonitor218S::createChatLine | ( | ) |
|
inline |
|
inline |
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
input | specifies the input |
onoff | sets the alarm for the input to off or on |
source | specifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
highvalue | value the source is checked against to activate high alarm level |
lowvalue | value the source is checked against to activate low alarm level |
deadband | the value that the source must change outside of an alarm condition to deactivate an unlatched alarm |
latch_enabled | Specifies a latched alarm (remains active after alarm condition correction) |
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
input | specifies the input |
onoff | sets the alarm for the input to off or on |
source | specifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
highvalue | value the source is checked against to activate high alarm level |
lowvalue | value the source is checked against to activate low alarm level |
deadband | the value that the source must change outside of an alarm condition to deactivate an unlatched alarm |
latch_enabled | Specifies a latched alarm (remains active after alarm condition correction) |
void Basda::Tempo::LakeshoreMonitor218S::queryALARMST | ( | int | input, |
bool & | highstate, | ||
bool & | lowstate | ||
) |
query the input alarm status
input | specifies the input (1..8) |
highstate | highvalue alarm is on or off |
lowstate | lowvalue alarm is on or off |
void Basda::Tempo::LakeshoreMonitor218S::queryALARMST | ( | int | input, |
bool & | highstate, | ||
bool & | lowstate | ||
) |
query the input alarm status
input | specifies the input (1..8) |
highstate | highvalue alarm is on or off |
lowstate | lowvalue alarm is on or off |
void Basda::Tempo::LakeshoreMonitor218S::queryAllCRDG | ( | std::vector< double > & | data | ) |
query Celsius reading for all inputs
data | specifies the data vector inculding the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryAllCRDG | ( | std::vector< double > & | data | ) |
query Celsius reading for all inputs
data | specifies the data vector inculding the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryAllKRDG | ( | std::vector< double > & | data | ) |
query Kelvin reading for all inputs
data | specifies the data vector including the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryAllKRDG | ( | std::vector< double > & | data | ) |
query Kelvin reading for all inputs
data | specifies the data vector including the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryAllLRDG | ( | std::vector< double > & | data | ) |
query linear equation data reading for all inputs
data | specifies the data vector including the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryAllLRDG | ( | std::vector< double > & | data | ) |
query linear equation data reading for all inputs
data | specifies the data vector including the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryAllSRDG | ( | std::vector< double > & | data | ) |
query sensor units readings for all inputs
data | specifies the data vector including the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryAllSRDG | ( | std::vector< double > & | data | ) |
query sensor units readings for all inputs
data | specifies the data vector including the values of all inputs |
void Basda::Tempo::LakeshoreMonitor218S::queryALMB | ( | bool & | beep | ) |
query the audible alarm parameters
beep | current beep status true=on, false =off |
void Basda::Tempo::LakeshoreMonitor218S::queryALMB | ( | bool & | beep | ) |
query the audible alarm parameters
beep | current beep status true=on, false =off |
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
output | specifies the output |
bipolar | specifies analog output (0=positive only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual) |
input | specifies the input to monitor if _mode=1 |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation) |
high | If mode=1, this parameter represents the data at which the analog output reaches +100% output |
low | If mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else |
manual | if mode=2, this parameter is the output of the analog outpu |
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
output | specifies the output |
bipolar | specifies analog output (0=positive only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual) |
input | specifies the input to monitor if _mode=1 |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation) |
high | If mode=1, this parameter represents the data at which the analog output reaches +100% output |
low | If mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else |
manual | if mode=2, this parameter is the output of the analog outpu |
void Basda::Tempo::LakeshoreMonitor218S::queryAOUT | ( | int | input, |
double & | aoutput | ||
) |
query analog output data
output | specifies the output |
aoutput | current analog output of the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryAOUT | ( | int | input, |
double & | aoutput | ||
) |
query analog output data
output | specifies the output |
aoutput | current analog output of the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryBAUD | ( | int & | baud | ) |
query the current serial interface baud rate
baud | current baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreMonitor218S::queryBAUD | ( | int & | baud | ) |
query the current serial interface baud rate
baud | current baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreMonitor218S::queryCRDG | ( | int | input, |
double & | value | ||
) |
query Celsius reading for a single input (or all inputs)
input | specifies the input (0 for all inputs is covered be queryAllCRDG() |
value | the Celsius value for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryCRDG | ( | int | input, |
double & | value | ||
) |
query Celsius reading for a single input (or all inputs)
input | specifies the input (0 for all inputs is covered be queryAllCRDG() |
value | the Celsius value for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryCRVHDR | ( | int | curve, |
std::string & | name, | ||
std::string & | snum, | ||
int & | format, | ||
double & | limit, | ||
int & | coeff | ||
) |
query curve header
curve | specifies which curve to query (1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
name | actual curve name (max 15 chars) |
snum | actual serial number for the curve (max 10 chars) |
format | actual curve data format (1=mV/K, 2=V/K, 3=Ohm/K, 4=log(Ohm/K) |
limit | actual curve temperature limit in Kelvin |
coeff | actual temperature coefficient (1=negative, 2=positive) |
void Basda::Tempo::LakeshoreMonitor218S::queryCRVHDR | ( | int | curve, |
std::string & | name, | ||
std::string & | snum, | ||
int & | format, | ||
double & | limit, | ||
int & | coeff | ||
) |
query curve header
curve | specifies which curve to query (1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
name | actual curve name (max 15 chars) |
snum | actual serial number for the curve (max 10 chars) |
format | actual curve data format (1=mV/K, 2=V/K, 3=Ohm/K, 4=log(Ohm/K) |
limit | actual curve temperature limit in Kelvin |
coeff | actual temperature coefficient (1=negative, 2=positive) |
void Basda::Tempo::LakeshoreMonitor218S::queryCRVPT | ( | int | curve, |
int | index, | ||
double & | units, | ||
double & | temp | ||
) |
query curve data point
curve | specifies which curve to query (1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
index | specifies the points index in the curve (1-200) |
units | current sensor units for this point up to 6 digits |
temp | current corresponding temperature in Kelvin for this point up to 6 digits |
void Basda::Tempo::LakeshoreMonitor218S::queryCRVPT | ( | int | curve, |
int | index, | ||
double & | units, | ||
double & | temp | ||
) |
query curve data point
curve | specifies which curve to query (1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
index | specifies the points index in the curve (1-200) |
units | current sensor units for this point up to 6 digits |
temp | current corresponding temperature in Kelvin for this point up to 6 digits |
void Basda::Tempo::LakeshoreMonitor218S::queryDATETIME | ( | int & | MM, |
int & | dd, | ||
int & | yy, | ||
int & | hh, | ||
int & | mm, | ||
int & | ss | ||
) |
query date and time
MM | month (1-12) |
dd | day (1-31) |
yy | year (00-99) |
hh | hour (0-23) |
mm | minute (0-59) |
ss | second (0-59) |
void Basda::Tempo::LakeshoreMonitor218S::queryDATETIME | ( | int & | MM, |
int & | dd, | ||
int & | yy, | ||
int & | hh, | ||
int & | mm, | ||
int & | ss | ||
) |
query date and time
MM | month (1-12) |
dd | day (1-31) |
yy | year (00-99) |
hh | hour (0-23) |
mm | minute (0-59) |
ss | second (0-59) |
void Basda::Tempo::LakeshoreMonitor218S::queryDISPFLD | ( | int | location, |
int & | input, | ||
int & | source | ||
) |
query display field
location | display location (1-8) |
input | specifies input to display in that location (0-8) (0=none) |
source | specifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data) |
void Basda::Tempo::LakeshoreMonitor218S::queryDISPFLD | ( | int | location, |
int & | input, | ||
int & | source | ||
) |
query display field
location | display location (1-8) |
input | specifies input to display in that location (0-8) (0=none) |
source | specifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data) |
void Basda::Tempo::LakeshoreMonitor218S::queryESE | ( | int & | bitweight | ) |
gets the configuration of status reports in the event status register
bitweight | current sum of the bit weighting to mask the status flags in the standard status event register |
void Basda::Tempo::LakeshoreMonitor218S::queryESE | ( | int & | bitweight | ) |
gets the configuration of status reports in the event status register
bitweight | current sum of the bit weighting to mask the status flags in the standard status event register |
void Basda::Tempo::LakeshoreMonitor218S::queryESR | ( | int & | bitweight | ) |
gets the standard event status register
bitweight | value representing the sum of the bit weighting of the event flag bits that are set in the Standard Event Status Register |
void Basda::Tempo::LakeshoreMonitor218S::queryESR | ( | int & | bitweight | ) |
gets the standard event status register
bitweight | value representing the sum of the bit weighting of the event flag bits that are set in the Standard Event Status Register |
void Basda::Tempo::LakeshoreMonitor218S::queryFILTER | ( | int | input, |
bool & | filter, | ||
int & | points, | ||
int & | win | ||
) |
query input filter parameters
input | specifies input (1-8) |
filter | current filter status, off(false) or on(true) |
points | current amount of data points for the filtering function (2-64) |
win | what percent of full scale reading limits the filtering function (1-10) |
void Basda::Tempo::LakeshoreMonitor218S::queryFILTER | ( | int | input, |
bool & | filter, | ||
int & | points, | ||
int & | win | ||
) |
query input filter parameters
input | specifies input (1-8) |
filter | current filter status, off(false) or on(true) |
points | current amount of data points for the filtering function (2-64) |
win | what percent of full scale reading limits the filtering function (1-10) |
void Basda::Tempo::LakeshoreMonitor218S::queryIDN | ( | ) |
gets the identification of the device
void Basda::Tempo::LakeshoreMonitor218S::queryIDN | ( | ) |
gets the identification of the device
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
manufacture | Manufacturer ID |
model | Instrument model number |
serialnumber | Serial number |
firmwarerevisionmmddyy | Instrument firmware revision date |
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
manufacture | Manufacturer ID |
model | Instrument model number |
serialnumber | Serial number |
firmwarerevisionmmddyy | Instrument firmware revision date |
void Basda::Tempo::LakeshoreMonitor218S::queryIEEE | ( | int & | terminator, |
bool & | eoi, | ||
int & | address | ||
) |
query the IEEE-488 interface parameters
terminator | currently used terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator) |
eoi | current EOI mode status, disableds(false)/enabled(true) |
address | current IEEE address (1-30) |
void Basda::Tempo::LakeshoreMonitor218S::queryIEEE | ( | int & | terminator, |
bool & | eoi, | ||
int & | address | ||
) |
query the IEEE-488 interface parameters
terminator | currently used terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator) |
eoi | current EOI mode status, disableds(false)/enabled(true) |
address | current IEEE address (1-30) |
void Basda::Tempo::LakeshoreMonitor218S::queryINCRV | ( | int | input, |
int & | curve | ||
) |
query input curve number
input | specifies the input (1-8) |
curve | specifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
void Basda::Tempo::LakeshoreMonitor218S::queryINCRV | ( | int | input, |
int & | curve | ||
) |
query input curve number
input | specifies the input (1-8) |
curve | specifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
void Basda::Tempo::LakeshoreMonitor218S::queryINPUT | ( | int | input, |
bool & | onoff | ||
) |
query input control parameter
input | specifies the input (1-8) |
onoff | input turned off(false) or on(true); |
void Basda::Tempo::LakeshoreMonitor218S::queryINPUT | ( | int | input, |
bool & | onoff | ||
) |
query input control parameter
input | specifies the input (1-8) |
onoff | input turned off(false) or on(true); |
void Basda::Tempo::LakeshoreMonitor218S::queryINTYPE | ( | char | group, |
int & | type | ||
) |
query input type parameters
group | specifies input group (A=1-4, B=5-8) |
type | specifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox) |
void Basda::Tempo::LakeshoreMonitor218S::queryINTYPE | ( | char | group, |
int & | type | ||
) |
query input type parameters
group | specifies input group (A=1-4, B=5-8) |
type | specifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox) |
void Basda::Tempo::LakeshoreMonitor218S::queryKEYST | ( | bool & | pressed | ) |
query keypad status
pressed | true if key is pressed, false otherwise |
void Basda::Tempo::LakeshoreMonitor218S::queryKEYST | ( | bool & | pressed | ) |
query keypad status
pressed | true if key is pressed, false otherwise |
void Basda::Tempo::LakeshoreMonitor218S::queryKRDG | ( | int | input, |
double & | value | ||
) |
query Kelvin reading for a single input
input | specifies the input (0 for all inputs is covered be queryAllKRDG() |
value | the Kelvin value for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryKRDG | ( | int | input, |
double & | value | ||
) |
query Kelvin reading for a single input
input | specifies the input (0 for all inputs is covered be queryAllKRDG() |
value | the Kelvin value for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryLINEAR | ( | int | input, |
double & | varM, | ||
int & | source, | ||
double & | varB | ||
) |
query linear input equation parameters
input | specifies input (1-8) |
varM | specifies a value for m in the equation |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units) |
varB | specifies a value for b in the equation |
void Basda::Tempo::LakeshoreMonitor218S::queryLINEAR | ( | int | input, |
double & | varM, | ||
int & | source, | ||
double & | varB | ||
) |
query linear input equation parameters
input | specifies input (1-8) |
varM | specifies a value for m in the equation |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units) |
varB | specifies a value for b in the equation |
void Basda::Tempo::LakeshoreMonitor218S::queryLOCK | ( | bool & | locked, |
int & | code | ||
) |
query lock-out and lock-out code
locked | current lock status, true means locked, false means unlocked |
code | current lock-out code |
void Basda::Tempo::LakeshoreMonitor218S::queryLOCK | ( | bool & | locked, |
int & | code | ||
) |
query lock-out and lock-out code
locked | current lock status, true means locked, false means unlocked |
code | current lock-out code |
void Basda::Tempo::LakeshoreMonitor218S::queryLOG | ( | bool & | onoff | ) |
query logging status
onoff | logging is tunred on (true) or off (false) |
void Basda::Tempo::LakeshoreMonitor218S::queryLOG | ( | bool & | onoff | ) |
query logging status
onoff | logging is tunred on (true) or off (false) |
void Basda::Tempo::LakeshoreMonitor218S::queryLOGNUM | ( | int & | lognumber | ) |
query number of last data log record stored
lognumber | number of last data record stored |
void Basda::Tempo::LakeshoreMonitor218S::queryLOGNUM | ( | int & | lognumber | ) |
query number of last data log record stored
lognumber | number of last data record stored |
void Basda::Tempo::LakeshoreMonitor218S::queryLOGREAD | ( | int | num, |
int & | input, | ||
int & | source | ||
) |
query log record parameters
num | number of the log to be read (1-8) |
input | the input to log (1-8) |
source | data source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::queryLOGREAD | ( | int | num, |
int & | input, | ||
int & | source | ||
) |
query log record parameters
num | number of the log to be read (1-8) |
input | the input to log (1-8) |
source | data source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::queryLOGSET | ( | int & | mode, |
bool & | over, | ||
int & | start, | ||
int & | period, | ||
int & | read | ||
) |
query logging parameters
mode | specifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event) |
over | specifies overwrite mode (true=overwrite data, false=do not overwrite data) |
start | specifies start mode (0=clear, 1=continue) |
period | specifies period in seconds (1-3600). If _mode=3 minimum period is 10 |
read | specifies number of readings per record (1-8) |
void Basda::Tempo::LakeshoreMonitor218S::queryLOGSET | ( | int & | mode, |
bool & | over, | ||
int & | start, | ||
int & | period, | ||
int & | read | ||
) |
query logging parameters
mode | specifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event) |
over | specifies overwrite mode (true=overwrite data, false=do not overwrite data) |
start | specifies start mode (0=clear, 1=continue) |
period | specifies period in seconds (1-3600). If _mode=3 minimum period is 10 |
read | specifies number of readings per record (1-8) |
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
num | number of data record |
read | number of reading |
date | Date reading was recorded. |
time | Time reading was recorded. |
reading | Reading value logged. |
status | Represents the sum of the bit weighting of the reading status flag bits. |
source | Returns data source recorded. 1 = Kelvin, 2 = Celsius, 3 = sensor units,4 = linear data. |
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
num | number of data record |
read | number of reading |
date | Date reading was recorded. |
time | Time reading was recorded. |
reading | Reading value logged. |
status | Represents the sum of the bit weighting of the reading status flag bits. |
source | Returns data source recorded. 1 = Kelvin, 2 = Celsius, 3 = sensor units,4 = linear data. |
void Basda::Tempo::LakeshoreMonitor218S::queryLRDG | ( | int | input, |
double & | value | ||
) |
query linear equation data for a single input
input | specifies the input (0 for all inputs is covered be queryAllLRDG() |
value | the linear equation data for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryLRDG | ( | int | input, |
double & | value | ||
) |
query linear equation data for a single input
input | specifies the input (0 for all inputs is covered be queryAllLRDG() |
value | the linear equation data for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::queryMNMX | ( | int | input, |
int & | source | ||
) |
query minimum and maximum input function parameters
input | specifies the input (1-8) |
source | currently selected input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::queryMNMX | ( | int | input, |
int & | source | ||
) |
query minimum and maximum input function parameters
input | specifies the input (1-8) |
source | currently selected input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::queryMNMXRDG | ( | int | input, |
double & | minvalue, | ||
double & | maxvalue | ||
) |
query min/max data for an input
input | specifies the input (1-8) |
minvalue | minimum input data value |
maxvalue | maximum input data value |
void Basda::Tempo::LakeshoreMonitor218S::queryMNMXRDG | ( | int | input, |
double & | minvalue, | ||
double & | maxvalue | ||
) |
query min/max data for an input
input | specifies the input (1-8) |
minvalue | minimum input data value |
maxvalue | maximum input data value |
void Basda::Tempo::LakeshoreMonitor218S::queryMODE | ( | int & | mode | ) |
query remote interface mode
mode | current operation mode (0=local, 1=remote, 2=remote with local lock-out) |
void Basda::Tempo::LakeshoreMonitor218S::queryMODE | ( | int & | mode | ) |
query remote interface mode
mode | current operation mode (0=local, 1=remote, 2=remote with local lock-out) |
void Basda::Tempo::LakeshoreMonitor218S::queryOPC | ( | ) |
query operation complete.
void Basda::Tempo::LakeshoreMonitor218S::queryOPC | ( | ) |
query operation complete.
void Basda::Tempo::LakeshoreMonitor218S::queryRDGST | ( | int | input, |
int & | readbitweight | ||
) |
query input status
input | specifies the input (1-8) |
readbitweight | The integer returned represents the sum of the bit weighting of the input status flag bits. |
void Basda::Tempo::LakeshoreMonitor218S::queryRDGST | ( | int | input, |
int & | readbitweight | ||
) |
query input status
input | specifies the input (1-8) |
readbitweight | The integer returned represents the sum of the bit weighting of the input status flag bits. |
void Basda::Tempo::LakeshoreMonitor218S::queryRELAY | ( | int | relay, |
int & | mode, | ||
int & | input, | ||
int & | type | ||
) |
query relay control parameters
relay | specifies which relay to query |
mode | current relay mode (0=off, 1=on, 2=alarms) |
input | which current input alarm activates the relay when in alarm mode (1-8) |
type | current alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreMonitor218S::queryRELAY | ( | int | relay, |
int & | mode, | ||
int & | input, | ||
int & | type | ||
) |
query relay control parameters
relay | specifies which relay to query |
mode | current relay mode (0=off, 1=on, 2=alarms) |
input | which current input alarm activates the relay when in alarm mode (1-8) |
type | current alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreMonitor218S::queryRELAYST | ( | int & | bitweight | ) |
query relay status
bitweight | The integer returned represents the sum of the bit weighting of the relay status. |
void Basda::Tempo::LakeshoreMonitor218S::queryRELAYST | ( | int & | bitweight | ) |
query relay status
bitweight | The integer returned represents the sum of the bit weighting of the relay status. |
void Basda::Tempo::LakeshoreMonitor218S::querySRDG | ( | int | input, |
double & | value | ||
) |
query sensor units reading for a single input
input | specifies the input (0-8) (0 for all inputs is covered by queryAllSRDG()) |
value | the sensor units reading data for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::querySRDG | ( | int | input, |
double & | value | ||
) |
query sensor units reading for a single input
input | specifies the input (0-8) (0 for all inputs is covered by queryAllSRDG()) |
value | the sensor units reading data for the selected input |
void Basda::Tempo::LakeshoreMonitor218S::querySRE | ( | int & | bitweight | ) |
query the configuration of status reports in the service request enable register
bitweight | current sum of the bit weighting to mask the status flags in the status byte register |
void Basda::Tempo::LakeshoreMonitor218S::querySRE | ( | int & | bitweight | ) |
query the configuration of status reports in the service request enable register
bitweight | current sum of the bit weighting to mask the status flags in the status byte register |
void Basda::Tempo::LakeshoreMonitor218S::querySTB | ( | int & | bitweight | ) |
query the status byte
bitweight | current sum of the bit weighting of the status flags that are set in the status byte register |
void Basda::Tempo::LakeshoreMonitor218S::querySTB | ( | int & | bitweight | ) |
query the status byte
bitweight | current sum of the bit weighting of the status flags that are set in the status byte register |
void Basda::Tempo::LakeshoreMonitor218S::queryTST | ( | bool & | errorfound | ) |
enable selftest of the device
errorfound | true if error was found, false otherwise |
void Basda::Tempo::LakeshoreMonitor218S::queryTST | ( | bool & | errorfound | ) |
enable selftest of the device
errorfound | true if error was found, false otherwise |
|
protected |
this function reads the answer from the device
rcv | answer from the device |
|
protected |
this function reads the answer from the device
rcv | answer from the device |
|
protected |
this function sends a specific command to the device
cmd | command to send |
|
protected |
this function sends a specific command to the device
cmd | command to send |
void Basda::Tempo::LakeshoreMonitor218S::setALARM | ( | int | input, |
bool | alarm, | ||
int | source, | ||
double | high, | ||
double | low, | ||
double | dead, | ||
bool | latch | ||
) |
sets the alarm parameters
input | specifies the input to configure |
alarm | sets the alarm for the input to off or on |
source | specifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
high | value the source is checked against to activate high alarm level |
low | value the source is checked against to activate low alarm level |
dead | the value that the source must change outside of an alarm condition to deactivate an unlatched alarm |
latch | Specifies a latched alarm (remains active after alarm condition correction) |
void Basda::Tempo::LakeshoreMonitor218S::setALARM | ( | int | input, |
bool | alarm, | ||
int | source, | ||
double | high, | ||
double | low, | ||
double | dead, | ||
bool | latch | ||
) |
sets the alarm parameters
input | specifies the input to configure |
alarm | sets the alarm for the input to off or on |
source | specifies input data to check (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
high | value the source is checked against to activate high alarm level |
low | value the source is checked against to activate low alarm level |
dead | the value that the source must change outside of an alarm condition to deactivate an unlatched alarm |
latch | Specifies a latched alarm (remains active after alarm condition correction) |
void Basda::Tempo::LakeshoreMonitor218S::setALMB | ( | bool | beep | ) |
sets the audible alarm beeper on or off
beep | on(true) or off(false) |
void Basda::Tempo::LakeshoreMonitor218S::setALMB | ( | bool | beep | ) |
sets the audible alarm beeper on or off
beep | on(true) or off(false) |
void Basda::Tempo::LakeshoreMonitor218S::setALMRST | ( | ) |
clear alarm status for all inputs
void Basda::Tempo::LakeshoreMonitor218S::setALMRST | ( | ) |
clear alarm status for all inputs
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
output | specifies the output (1 or 2) |
bipolar | specifies analog output (0=positiv only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual) |
input | specifies the input to monitor if mode=1 |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation) |
high | If mode=1, this parameter represents the data at which the analog output reaches +100% output |
low | If mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else |
manual | if mode=2, this parameter is the output of the analog output |
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
output | specifies the output (1 or 2) |
bipolar | specifies analog output (0=positiv only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual) |
input | specifies the input to monitor if mode=1 |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear equation) |
high | If mode=1, this parameter represents the data at which the analog output reaches +100% output |
low | If mode=1, this parameter represents the data at which the analog output reaches -100% output if bipolar or 0% else |
manual | if mode=2, this parameter is the output of the analog output |
void Basda::Tempo::LakeshoreMonitor218S::setBAUD | ( | int | baudrate | ) |
sets the serial interface baudrate
baudrate | specifies baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreMonitor218S::setBAUD | ( | int | baudrate | ) |
sets the serial interface baudrate
baudrate | specifies baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreMonitor218S::setCLS | ( | ) |
command to clear the interface of the device
void Basda::Tempo::LakeshoreMonitor218S::setCLS | ( | ) |
command to clear the interface of the device
|
private |
this function is used to set the m_IpInfo variable to a specific string
|
private |
this function is used to set the m_IpInfo variable to a specific string
void Basda::Tempo::LakeshoreMonitor218S::setCRVDEL | ( | int | curve | ) |
delete user curve
curve | specifies which curve to delete (21-28) for inputs 1-8 |
void Basda::Tempo::LakeshoreMonitor218S::setCRVDEL | ( | int | curve | ) |
delete user curve
curve | specifies which curve to delete (21-28) for inputs 1-8 |
void Basda::Tempo::LakeshoreMonitor218S::setCRVHDR | ( | int | curve, |
std::string | name, | ||
std::string | sn, | ||
int | format, | ||
double | limit, | ||
int | coeff | ||
) |
configure the curve header
curve | specifies which curve to configure (21-28) for inputs 1-8 |
name | specifies curve name (max 15 chars) |
sn | serial number for the curve (max 10 chars) |
format | curve data format (2=V/K, 3=Ohm/K, 4=log(Ohm/K) |
limit | curve temperature limit in Kelvin |
coeff | temperature coefficient (1=negative, 2=positive) |
void Basda::Tempo::LakeshoreMonitor218S::setCRVHDR | ( | int | curve, |
std::string | name, | ||
std::string | sn, | ||
int | format, | ||
double | limit, | ||
int | coeff | ||
) |
configure the curve header
curve | specifies which curve to configure (21-28) for inputs 1-8 |
name | specifies curve name (max 15 chars) |
sn | serial number for the curve (max 10 chars) |
format | curve data format (2=V/K, 3=Ohm/K, 4=log(Ohm/K) |
limit | curve temperature limit in Kelvin |
coeff | temperature coefficient (1=negative, 2=positive) |
void Basda::Tempo::LakeshoreMonitor218S::setCRVPT | ( | int | curve, |
int | index, | ||
double | units, | ||
double | temp | ||
) |
configure curve data point
curve | specifies which curve to configure (21-28) for inputs 1-8 |
index | specifies which point index in the curve (1-200) |
units | specifies sensor units for this point to 6 digits |
temp | specifies corresponding temperature in Kelvin for this point to 6 digits |
void Basda::Tempo::LakeshoreMonitor218S::setCRVPT | ( | int | curve, |
int | index, | ||
double | units, | ||
double | temp | ||
) |
configure curve data point
curve | specifies which curve to configure (21-28) for inputs 1-8 |
index | specifies which point index in the curve (1-200) |
units | specifies sensor units for this point to 6 digits |
temp | specifies corresponding temperature in Kelvin for this point to 6 digits |
void Basda::Tempo::LakeshoreMonitor218S::setDATETIME | ( | int | MM, |
int | dd, | ||
int | yy, | ||
int | hh, | ||
int | mm, | ||
int | ss | ||
) |
sets date and time
MM | month (1-12) |
dd | day (1-31) |
yy | year (00-99) |
hh | hour (0-23) |
mm | minute (0-59) |
ss | second (0-59) |
void Basda::Tempo::LakeshoreMonitor218S::setDATETIME | ( | int | MM, |
int | dd, | ||
int | yy, | ||
int | hh, | ||
int | mm, | ||
int | ss | ||
) |
sets date and time
MM | month (1-12) |
dd | day (1-31) |
yy | year (00-99) |
hh | hour (0-23) |
mm | minute (0-59) |
ss | second (0-59) |
void Basda::Tempo::LakeshoreMonitor218S::setDFLT | ( | ) |
set to factory defaults
void Basda::Tempo::LakeshoreMonitor218S::setDFLT | ( | ) |
set to factory defaults
void Basda::Tempo::LakeshoreMonitor218S::setDISPFLD | ( | int | loc, |
int | input, | ||
int | source | ||
) |
configure display parameters
loc | display location (1-8) |
input | specifies input to display in that location (0-8) (0=none) |
source | specifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data) |
void Basda::Tempo::LakeshoreMonitor218S::setDISPFLD | ( | int | loc, |
int | input, | ||
int | source | ||
) |
configure display parameters
loc | display location (1-8) |
input | specifies input to display in that location (0-8) (0=none) |
source | specifies input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data) |
void Basda::Tempo::LakeshoreMonitor218S::setESE | ( | int | weight | ) |
sets the configure status reports in the standard event register
weight | bit weighting |
void Basda::Tempo::LakeshoreMonitor218S::setESE | ( | int | weight | ) |
sets the configure status reports in the standard event register
weight | bit weighting |
void Basda::Tempo::LakeshoreMonitor218S::setFILTER | ( | int | input, |
bool | filter, | ||
int | points, | ||
int | win | ||
) |
configure input filter parameters
input | specifies input to configure (1-8) |
filter | sets filter to off(false) or on(true) |
points | amount of data points for the filtering function (2-64) |
win | Specifies what percent of full scale reading limits the filtering function (1-10). Reading changes greater than this percentage reset the filter |
void Basda::Tempo::LakeshoreMonitor218S::setFILTER | ( | int | input, |
bool | filter, | ||
int | points, | ||
int | win | ||
) |
configure input filter parameters
input | specifies input to configure (1-8) |
filter | sets filter to off(false) or on(true) |
points | amount of data points for the filtering function (2-64) |
win | Specifies what percent of full scale reading limits the filtering function (1-10). Reading changes greater than this percentage reset the filter |
void Basda::Tempo::LakeshoreMonitor218S::setIEEE | ( | int | terminator, |
bool | eoi, | ||
int | address | ||
) |
configure IEEE-488 interface parameters
terminator | specifies the terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator) |
eoi | disables(false)/enables(true) the EOI mode |
address | specifies the IEEE address |
void Basda::Tempo::LakeshoreMonitor218S::setIEEE | ( | int | terminator, |
bool | eoi, | ||
int | address | ||
) |
configure IEEE-488 interface parameters
terminator | specifies the terminator (0=<CR><LF>, 1=<LF><CR>, 2=<LF>, 3=no terminator) |
eoi | disables(false)/enables(true) the EOI mode |
address | specifies the IEEE address |
void Basda::Tempo::LakeshoreMonitor218S::setINCRV | ( | int | input, |
int | curve | ||
) |
configure curve input number
input | specifies which input to configure (1-8) |
curve | specifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
void Basda::Tempo::LakeshoreMonitor218S::setINCRV | ( | int | input, |
int | curve | ||
) |
configure curve input number
input | specifies which input to configure (1-8) |
curve | specifies which curve the input uses (0=none, 1-5=std diode curves, 6-9=std platinum curves, 21-28=user curves) |
void Basda::Tempo::LakeshoreMonitor218S::setINPUT | ( | int | input, |
bool | use | ||
) |
configure input control parameter
input | specifies input (1-8) |
use | turns input off(false) or on(true); |
void Basda::Tempo::LakeshoreMonitor218S::setINPUT | ( | int | input, |
bool | use | ||
) |
configure input control parameter
input | specifies input (1-8) |
use | turns input off(false) or on(true); |
void Basda::Tempo::LakeshoreMonitor218S::setINTYPE | ( | char | group, |
int | type | ||
) |
configure input type parameters
group | specifies input group (A=1-4, B=5-8) |
type | specifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox) |
void Basda::Tempo::LakeshoreMonitor218S::setINTYPE | ( | char | group, |
int | type | ||
) |
configure input type parameters
group | specifies input group (A=1-4, B=5-8) |
type | specifies the input sensor type (0=2.5V Diode, 1 = 7.5V Diode, 2=250Ω Platinum, 3=500Ω Platinum, 4=5kΩ Platinum, 5=Cernox) |
void Basda::Tempo::LakeshoreMonitor218S::setLINEAR | ( | int | input, |
double | varM, | ||
int | source, | ||
double | varB | ||
) |
configure input linear equation parameters
input | specifies input (1-8) |
varM | specifies a value for m in the equation |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units) |
varB | specifies a value for b in the equation |
void Basda::Tempo::LakeshoreMonitor218S::setLINEAR | ( | int | input, |
double | varM, | ||
int | source, | ||
double | varB | ||
) |
configure input linear equation parameters
input | specifies input (1-8) |
varM | specifies a value for m in the equation |
source | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units) |
varB | specifies a value for b in the equation |
void Basda::Tempo::LakeshoreMonitor218S::setLOCK | ( | bool | lock, |
int | code | ||
) |
configure Lock-out and Lock-out code
lock | disables(false)/enables(true) the keypad lock-out |
code | specifies lock-out code (000-999) |
void Basda::Tempo::LakeshoreMonitor218S::setLOCK | ( | bool | lock, |
int | code | ||
) |
configure Lock-out and Lock-out code
lock | disables(false)/enables(true) the keypad lock-out |
code | specifies lock-out code (000-999) |
void Basda::Tempo::LakeshoreMonitor218S::setLOG | ( | bool | log | ) |
turns logging on or off
log | true=on, false=off |
void Basda::Tempo::LakeshoreMonitor218S::setLOG | ( | bool | log | ) |
turns logging on or off
log | true=on, false=off |
void Basda::Tempo::LakeshoreMonitor218S::setLOGREAD | ( | int | num, |
int | input, | ||
int | source | ||
) |
configure log records
num | specifies the reading number (1-8) within a log record to configure |
input | the input to log (1-8) |
source | data source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::setLOGREAD | ( | int | num, |
int | input, | ||
int | source | ||
) |
configure log records
num | specifies the reading number (1-8) within a log record to configure |
input | the input to log (1-8) |
source | data source to log (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::setLOGSET | ( | int | mode, |
bool | over, | ||
int | start, | ||
int | period, | ||
int | read | ||
) |
configure logging parameters
mode | specifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event) |
over | specifies overwrite mode (true=overwrite data, false=do not overwrite data) |
start | specifies start mode (0=clear, 1=continue) |
period | specifies period in seconds (1-3600). If _mode=3 minimum period is 10 |
read | specifies number of readings per record (1-8) |
void Basda::Tempo::LakeshoreMonitor218S::setLOGSET | ( | int | mode, |
bool | over, | ||
int | start, | ||
int | period, | ||
int | read | ||
) |
configure logging parameters
mode | specifies logging mode (0=off, 1=log continuous, 2=log event, 3=print continuous, 4=print event) |
over | specifies overwrite mode (true=overwrite data, false=do not overwrite data) |
start | specifies start mode (0=clear, 1=continue) |
period | specifies period in seconds (1-3600). If _mode=3 minimum period is 10 |
read | specifies number of readings per record (1-8) |
void Basda::Tempo::LakeshoreMonitor218S::setMNMX | ( | int | input, |
int | source | ||
) |
configure minimun and maximum input function parameters
input | specifies input to configure (1-8) |
source | specifies input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::setMNMX | ( | int | input, |
int | source | ||
) |
configure minimun and maximum input function parameters
input | specifies input to configure (1-8) |
source | specifies input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreMonitor218S::setMNMXRST | ( | ) |
reset all min/max function for all inputs
void Basda::Tempo::LakeshoreMonitor218S::setMNMXRST | ( | ) |
reset all min/max function for all inputs
void Basda::Tempo::LakeshoreMonitor218S::setMODE | ( | int | mode | ) |
configure remote interface mode
mode | specifies the operation mode (0=local, 1=remote, 2=remote with local lock-out) |
void Basda::Tempo::LakeshoreMonitor218S::setMODE | ( | int | mode | ) |
configure remote interface mode
mode | specifies the operation mode (0=local, 1=remote, 2=remote with local lock-out) |
void Basda::Tempo::LakeshoreMonitor218S::setOPC | ( | ) |
sets operation complete command
void Basda::Tempo::LakeshoreMonitor218S::setOPC | ( | ) |
sets operation complete command
void Basda::Tempo::LakeshoreMonitor218S::setRELAY | ( | int | relay, |
int | mode, | ||
int | input, | ||
int | type | ||
) |
configure relay control parameters
relay | specifies which relay to configure (1-8) |
mode | specifies relay mode (0=off, 1=on, 2=alarms) |
input | specifies which input alarm activates the relay when in alarm mode (1-8) |
type | specifies the alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreMonitor218S::setRELAY | ( | int | relay, |
int | mode, | ||
int | input, | ||
int | type | ||
) |
configure relay control parameters
relay | specifies which relay to configure (1-8) |
mode | specifies relay mode (0=off, 1=on, 2=alarms) |
input | specifies which input alarm activates the relay when in alarm mode (1-8) |
type | specifies the alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreMonitor218S::setRST | ( | ) |
reset the instrument
void Basda::Tempo::LakeshoreMonitor218S::setRST | ( | ) |
reset the instrument
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
stdc | specifies the standard curve to generate SoftCal from (1,6,7) |
dest | specifies the user curve to store the SoftCal curve (21-28) |
snum | specifies the curve serial number (max 10 chars) |
temp1 | specifies the first temperature point |
unit1 | specifies the first sensor units point |
temp2 | specifies the second temperature point |
unit2 | specifies the second sensor units point |
temp3 | specifies the third temperature point |
unit3 | specifies the third sensor units point |
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
stdc | specifies the standard curve to generate SoftCal from (1,6,7) |
dest | specifies the user curve to store the SoftCal curve (21-28) |
snum | specifies the curve serial number (max 10 chars) |
temp1 | specifies the first temperature point |
unit1 | specifies the first sensor units point |
temp2 | specifies the second temperature point |
unit2 | specifies the second sensor units point |
temp3 | specifies the third temperature point |
unit3 | specifies the third sensor units point |
void Basda::Tempo::LakeshoreMonitor218S::setSRE | ( | int | weight | ) |
set the status reports in the service request enable register
weight | bit weighting |
void Basda::Tempo::LakeshoreMonitor218S::setSRE | ( | int | weight | ) |
set the status reports in the service request enable register
weight | bit weighting |
|
private |
this string contains the latest answer from the device
|
private |
this is the chatline that is used to comunicate with the device
|
private |
this vector contains the comands supported by the temperature monitor
|
private |
this string contains the connection informations (ip adress, port) to build the chatLine
|
private |
this boolean indicates if there is an active connection to a device
|
private |
this string contains the current terminators for the sending of the commands