TwiceAsNice
2019-02-18
|
#include <LakeshoreController331S.h>
Public Member Functions | |
LakeshoreController331S () | |
LakeshoreController331S (std::string connection, bool create) | |
virtual | ~LakeshoreController331S () |
void | createChatLine (const std::string &connection) |
void | createChatLine () |
void | closeChatLine () |
std::string | getAnswer () |
void | setCLS () |
command to clear the interface of the device More... | |
void | setESE (int weight) |
sets the configure status reports in the standard event register More... | |
void | queryESE (int &bitweight) |
gets the configuration of status reports in the event status register More... | |
void | queryESR (int &bitweight) |
gets the standard event status register More... | |
void | queryIDN () |
gets the identification of the device More... | |
void | queryIDN (std::string &manufacture, std::string &model, std::string &serialnumber, std::string &firmwarerevisionmmddyy) |
gets the identification of the device and splits it into its parts More... | |
void | setOPC () |
sets operation complete command More... | |
void | queryOPC () |
query operation complete. More... | |
void | setRST () |
reset the instrument More... | |
void | setSRE (int weight) |
set the status reports in the service request enable register More... | |
void | querySRE (int &bitweight) |
query the configuration of status reports in the service request enable register More... | |
void | querySTB (int &bitweight) |
query the status byte More... | |
void | queryTST (bool &errorfound) |
enable selftest of the device More... | |
void | setALARM (char input, bool alarm, int source, double high, double low, double dead, bool latch) |
sets the alarm parameters More... | |
void | queryALARM (char input, bool &onoff, int &source, double &highvalue, double &lowvalue, double &deadband, bool &latch_enabled) |
query the input alarm parameters More... | |
void | queryALARMST (char input, bool &highstate, bool &lowstate) |
query the input alarm status More... | |
void | setALMRST () |
clear alarm status for all inputs More... | |
void | setANALOG (bool bipolar, int mode, char input, int source, double high, double low, double manual) |
configure analog output parameters More... | |
void | queryANALOG (bool &bipolar, int &mode, std::string &input, int &source, double &high, double &low, double &manual) |
query analog output parameters More... | |
void | queryAOUT (double &aoutput) |
query analog output data 2nd loop More... | |
void | setBAUD (int baud) |
sets the serial interface baud rate More... | |
void | queryBAUD (int &baud) |
query the current serial interface baud rate More... | |
void | setBEEP (bool beep) |
sets the Alarm Beeper More... | |
void | queryBEEP (bool &beep) |
query the alarm beeper status More... | |
void | setBRIGT (int bright) |
sets the display brightness More... | |
void | queryBRIGT (int &bright) |
query the display brightness More... | |
void | setCMODE (int loop, int mode) |
set the control loop mode More... | |
void | queryCMODE (int loop, int &mode) |
query the control loop mode More... | |
void | queryCRDG (char input, double &value) |
query the celsius reading from an input More... | |
void | setCRVDEL (int curve) |
delete a user specified curve More... | |
void | setCRVHDR (int curve, std::string name, std::string snum, int format, double limit, int coeff) |
configure the curve header More... | |
void | queryCRVHDR (int curve, std::string &name, std::string &snum, int &format, double &limit, int &coeff) |
query curve header More... | |
void | setCRVPT (int curve, int index, double units, double temp) |
configure curve data point More... | |
void | queryCRVPT (int curve, int index, double &units, double &temp) |
query curve data point More... | |
void | setCSET (int loop, char input, int units, bool pwrup, int curpwr) |
configure the control loop parameter More... | |
void | queryCSET (int loop, std::string &input, int &units, bool &pwrup, int &curpwr) |
query control loop parameters More... | |
void | setDFLT () |
set to factory defaults More... | |
void | setDISPFLD (int location, int item, int source) |
configure display parameters More... | |
void | queryDISPFLD (int location, int &item, int &source) |
query display field More... | |
void | setEMUL (bool emulation) |
sets 330 emulation mode on or off More... | |
void | queryEMUL (bool &onoff) |
checks whether 330 emulation mode is active or not More... | |
void | setFILTER (char input, bool filter, int points, int win) |
configure input filter parameters More... | |
void | queryFILTER (char input, bool &filter, int &points, int &win) |
query input filter parameters More... | |
void | queryHTR (double &output) |
query heater output More... | |
void | queryHTRST (int &status) |
query heater status More... | |
void | setIEEE (int terminator, bool eoi, int address) |
configure IEEE-488 interface parameters More... | |
void | queryIEEE (int &terminator, bool &eoi, int &address) |
query the IEEE-488 interface parameters More... | |
void | setINCRV (char input, int curve) |
configure curve input number More... | |
void | queryINCRV (char input, int &curve) |
query input curve number More... | |
void | setINTYPE (char input, int type, bool compensation) |
set input type parameter More... | |
void | queryINTYPE (char input, int &type, bool &compensation) |
query the input type parameters More... | |
void | queryKEYST (bool &pressed) |
query keypad status More... | |
void | queryKRDG (char input, double &value) |
query Kelvin reading for an input More... | |
void | queryLDAT (char input, double &value) |
query linear input equation data More... | |
void | setLINEAR (char input, int equ, double varM, int srcX, int srcB, double varB) |
set the input linear equation parameter More... | |
void | queryLINEAR (char input, int &equ, double &varM, int &srcX, int &srcB, double &varB) |
get the linear equation parameter More... | |
void | setLOCK (bool lock, int code) |
configure Lock-out and Lock-out code More... | |
void | queryLOCK (bool &locked, int &code) |
query lock-out and lock-out code More... | |
void | queryMDAT (char input, double &minvalue, double &maxvalue) |
query the minimum/maximum data More... | |
void | setMNMX (char input, int source) |
configure minimum and maximum input function parameters More... | |
void | queryMNMX (char input, int &source) |
query minimum and maximum input function parameters More... | |
void | setMNMXRST () |
reset all min/max function for all inputs More... | |
void | setMODE (int mode) |
configure remote interface mode More... | |
void | queryMODE (int &mode) |
query remote interface mode More... | |
void | setMOUT (int loop, double value) |
set the control loop manual heater power (MHP) output More... | |
void | queryMOUT (int loop, double &value) |
get the control loop manual heater power (MHP) output More... | |
void | setPID (int loop, double valueP, double valueI, double valueD) |
set the control loop PID values More... | |
void | queryPID (int loop, double &valueP, double &valueI, double &valueD) |
get the control loop PID values More... | |
void | setRAMP (int loop, bool onoff, double rate) |
set the control setpoint ramp parameter More... | |
void | queryRAMP (int loop, bool &onoff, double &rate) |
get the control setpoint ramp parameter More... | |
void | queryRAMPST (int loop, bool &status) |
get control setpoint ramp status More... | |
void | queryRANGE (int &range) |
get the currently applied heater range from loop 1 More... | |
void | setRANGE (int range) |
set the heater range for loop 1 More... | |
void | queryRDGST (char input, int &bitweight) |
get input reading status More... | |
void | setRELAY (int relay, int mode, char input, int type) |
configure relay control parameters More... | |
void | queryRELAY (int relay, int &mode, std::string &input, int &type) |
query relay control parameters More... | |
void | queryRELAYST (int type, bool &onoff) |
query relay status More... | |
void | queryREV (std::string &firmwarerevision) |
query input firmware revision More... | |
void | setSCAL (int std, int dest, std::string snum, double temp1, double unit1, double temp2, double unit2, double temp3, double unit3) |
generate a SoftCal(TM) curve More... | |
void | setSETP (int loop, double setpoint) |
set control setpoint More... | |
void | querySETP (int loop, double &setpoint) |
query the control setpoint More... | |
void | querySRDG (char input, double &value) |
query the sensor unit input reading More... | |
void | queryTEMP (double &valuekelvin) |
query the thermocouple junction temperature More... | |
void | queryTUNEST (bool &activetuning) |
query the control tuning status More... | |
void | setZONE (int loop, int zone, double top, double valueP, double valueI, double valueD, double mout, int range) |
set the control loop zone table parameter More... | |
void | queryZONE (int loop, int zone, double &top, double &valueP, double &valueI, double &valueD, double &mout, int &range) |
query the control loop zone parameter More... | |
LakeshoreController331S () | |
LakeshoreController331S (std::string connection, bool create) | |
virtual | ~LakeshoreController331S () |
void | createChatLine (const std::string &connection) |
void | createChatLine () |
void | closeChatLine () |
std::string | getAnswer () |
void | setCLS () |
command to clear the interface of the device More... | |
void | setESE (int weight) |
sets the configure status reports in the standard event register More... | |
void | queryESE (int &bitweight) |
gets the configuration of status reports in the event status register More... | |
void | queryESR (int &bitweight) |
gets the standard event status register More... | |
void | queryIDN () |
gets the identification of the device More... | |
void | queryIDN (std::string &manufacture, std::string &model, std::string &serialnumber, std::string &firmwarerevisionmmddyy) |
gets the identification of the device and splits it into its parts More... | |
void | setOPC () |
sets operation complete command More... | |
void | queryOPC () |
query operation complete. More... | |
void | setRST () |
reset the instrument More... | |
void | setSRE (int weight) |
set the status reports in the service request enable register More... | |
void | querySRE (int &bitweight) |
query the configuration of status reports in the service request enable register More... | |
void | querySTB (int &bitweight) |
query the status byte More... | |
void | queryTST (bool &errorfound) |
enable selftest of the device More... | |
void | setALARM (char input, bool alarm, int source, double high, double low, double dead, bool latch) |
sets the alarm parameters More... | |
void | queryALARM (char input, bool &onoff, int &source, double &highvalue, double &lowvalue, double &deadband, bool &latch_enabled) |
query the input alarm parameters More... | |
void | queryALARMST (char input, bool &highstate, bool &lowstate) |
query the input alarm status More... | |
void | setALMRST () |
clear alarm status for all inputs More... | |
void | setANALOG (bool bipolar, int mode, char input, int source, double high, double low, double manual) |
configure analog output parameters More... | |
void | queryANALOG (bool &bipolar, int &mode, std::string &input, int &source, double &high, double &low, double &manual) |
query analog output parameters More... | |
void | queryAOUT (double &aoutput) |
query analog output data 2nd loop More... | |
void | setBAUD (int baud) |
sets the serial interface baud rate More... | |
void | queryBAUD (int &baud) |
query the current serial interface baud rate More... | |
void | setBEEP (bool beep) |
sets the Alarm Beeper More... | |
void | queryBEEP (bool &beep) |
query the alarm beeper status More... | |
void | setBRIGT (int bright) |
sets the display brightness More... | |
void | queryBRIGT (int &bright) |
query the display brightness More... | |
void | setCMODE (int loop, int mode) |
set the control loop mode More... | |
void | queryCMODE (int loop, int &mode) |
query the control loop mode More... | |
void | queryCRDG (char input, double &value) |
query the celsius reading from an input More... | |
void | setCRVDEL (int curve) |
delete a user specified curve More... | |
void | setCRVHDR (int curve, std::string name, std::string snum, int format, double limit, int coeff) |
configure the curve header More... | |
void | queryCRVHDR (int curve, std::string &name, std::string &snum, int &format, double &limit, int &coeff) |
query curve header More... | |
void | setCRVPT (int curve, int index, double units, double temp) |
configure curve data point More... | |
void | queryCRVPT (int curve, int index, double &units, double &temp) |
query curve data point More... | |
void | setCSET (int loop, char input, int units, bool pwrup, int curpwr) |
configure the control loop parameter More... | |
void | queryCSET (int loop, std::string &input, int &units, bool &pwrup, int &curpwr) |
query control loop parameters More... | |
void | setDFLT () |
set to factory defaults More... | |
void | setDISPFLD (int location, int item, int source) |
configure display parameters More... | |
void | queryDISPFLD (int location, int &item, int &source) |
query display field More... | |
void | setEMUL (bool emulation) |
sets 330 emulation mode on or off More... | |
void | queryEMUL (bool &onoff) |
checks whether 330 emulation mode is active or not More... | |
void | setFILTER (char input, bool filter, int points, int win) |
configure input filter parameters More... | |
void | queryFILTER (char input, bool &filter, int &points, int &win) |
query input filter parameters More... | |
void | queryHTR (double &output) |
query heater output More... | |
void | queryHTRST (int &status) |
query heater status More... | |
void | setIEEE (int terminator, bool eoi, int address) |
configure IEEE-488 interface parameters More... | |
void | queryIEEE (int &terminator, bool &eoi, int &address) |
query the IEEE-488 interface parameters More... | |
void | setINCRV (char input, int curve) |
configure curve input number More... | |
void | queryINCRV (char input, int &curve) |
query input curve number More... | |
void | setINTYPE (char input, int type, bool compensation) |
set input type parameter More... | |
void | queryINTYPE (char input, int &type, bool &compensation) |
query the input type parameters More... | |
void | queryKEYST (bool &pressed) |
query keypad status More... | |
void | queryKRDG (char input, double &value) |
query Kelvin reading for an input More... | |
void | queryLDAT (char input, double &value) |
query linear input equation data More... | |
void | setLINEAR (char input, int equ, double varM, int srcX, int srcB, double varB) |
set the input linear equation parameter More... | |
void | queryLINEAR (char input, int &equ, double &varM, int &srcX, int &srcB, double &varB) |
get the linear equation parameter More... | |
void | setLOCK (bool lock, int code) |
configure Lock-out and Lock-out code More... | |
void | queryLOCK (bool &locked, int &code) |
query lock-out and lock-out code More... | |
void | queryMDAT (char input, double &minvalue, double &maxvalue) |
query the minimum/maximum data More... | |
void | setMNMX (char input, int source) |
configure minimum and maximum input function parameters More... | |
void | queryMNMX (char input, int &source) |
query minimum and maximum input function parameters More... | |
void | setMNMXRST () |
reset all min/max function for all inputs More... | |
void | setMODE (int mode) |
configure remote interface mode More... | |
void | queryMODE (int &mode) |
query remote interface mode More... | |
void | setMOUT (int loop, double value) |
set the control loop manual heater power (MHP) output More... | |
void | queryMOUT (int loop, double &value) |
get the control loop manual heater power (MHP) output More... | |
void | setPID (int loop, double valueP, double valueI, double valueD) |
set the control loop PID values More... | |
void | queryPID (int loop, double &valueP, double &valueI, double &valueD) |
get the control loop PID values More... | |
void | setRAMP (int loop, bool onoff, double rate) |
set the control setpoint ramp parameter More... | |
void | queryRAMP (int loop, bool &onoff, double &rate) |
get the control setpoint ramp parameter More... | |
void | queryRAMPST (int loop, bool &status) |
get control setpoint ramp status More... | |
void | queryRANGE (int &range) |
get the currently applied heater range from loop 1 More... | |
void | setRANGE (int range) |
set the heater range for loop 1 More... | |
void | queryRDGST (char input, int &bitweight) |
get input reading status More... | |
void | setRELAY (int relay, int mode, char input, int type) |
configure relay control parameters More... | |
void | queryRELAY (int relay, int &mode, std::string &input, int &type) |
query relay control parameters More... | |
void | queryRELAYST (int type, bool &onoff) |
query relay status More... | |
void | queryREV (std::string &firmwarerevision) |
query input firmware revision More... | |
void | setSCAL (int std, int dest, std::string snum, double temp1, double unit1, double temp2, double unit2, double temp3, double unit3) |
generate a SoftCal(TM) curve More... | |
void | setSETP (int loop, double setpoint) |
set control setpoint More... | |
void | querySETP (int loop, double &setpoint) |
query the control setpoint More... | |
void | querySRDG (char input, double &value) |
query the sensor unit input reading More... | |
void | queryTEMP (double &valuekelvin) |
query the thermocouple junction temperature More... | |
void | queryTUNEST (bool &activetuning) |
query the control tuning status More... | |
void | setZONE (int loop, int zone, double top, double valueP, double valueI, double valueD, double mout, int range) |
set the control loop zone table parameter More... | |
void | queryZONE (int loop, int zone, double &top, double &valueP, double &valueI, double &valueD, double &mout, int &range) |
query the control loop zone parameter More... | |
Protected Member Functions | |
int | sendMsg (const std::string &cmd) |
this function sends a specific comand to the device More... | |
void | readMsg (std::string &rcv) |
this function reads the answer from the device More... | |
int | sendMsg (const std::string &cmd) |
this function sends a specific comand to the device More... | |
void | readMsg (std::string &rcv) |
this function reads the answer from the device More... | |
Private Member Functions | |
void | setConnection (std::string connection) |
this function is used to set the m_IpInfo variable to a specific string More... | |
void | setConnection (std::string connection) |
this function is used to set the m_IpInfo variable to a specific string More... | |
Private Attributes | |
std::vector< std::string > | m_comands |
this vector contains the comands supported by the temperature monitor More... | |
Nice::ChatLine | m_chat |
this is the chatline that is used to comunicate with the device More... | |
std::string | m_connection |
this string contains the connection informations (ip adress, port) to build the chatLine More... | |
bool | m_isConnected |
this boolean indicates if there is an active connection to a device More... | |
std::string | m_answer |
this string contains the latest answer from the device More... | |
std::string | m_term |
this string contains the current terminators for the sending of the commands More... | |
Basda::Tempo::LakeshoreController331S::LakeshoreController331S | ( | ) |
Basda::Tempo::LakeshoreController331S::LakeshoreController331S | ( | std::string | connection, |
bool | create | ||
) |
|
virtual |
Basda::Tempo::LakeshoreController331S::LakeshoreController331S | ( | ) |
Basda::Tempo::LakeshoreController331S::LakeshoreController331S | ( | std::string | connection, |
bool | create | ||
) |
|
virtual |
void Basda::Tempo::LakeshoreController331S::closeChatLine | ( | ) |
void Basda::Tempo::LakeshoreController331S::closeChatLine | ( | ) |
void Basda::Tempo::LakeshoreController331S::createChatLine | ( | const std::string & | connection | ) |
void Basda::Tempo::LakeshoreController331S::createChatLine | ( | const std::string & | connection | ) |
void Basda::Tempo::LakeshoreController331S::createChatLine | ( | ) |
void Basda::Tempo::LakeshoreController331S::createChatLine | ( | ) |
|
inline |
|
inline |
void Basda::Tempo::LakeshoreController331S::queryALARM | ( | char | input, |
bool & | onoff, | ||
int & | source, | ||
double & | highvalue, | ||
double & | lowvalue, | ||
double & | deadband, | ||
bool & | latch_enabled | ||
) |
query the input alarm parameters
input | specifies the input (A or B) |
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::LakeshoreController331S::queryALARM | ( | char | input, |
bool & | onoff, | ||
int & | source, | ||
double & | highvalue, | ||
double & | lowvalue, | ||
double & | deadband, | ||
bool & | latch_enabled | ||
) |
query the input alarm parameters
input | specifies the input (A or B) |
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::LakeshoreController331S::queryALARMST | ( | char | input, |
bool & | highstate, | ||
bool & | lowstate | ||
) |
query the input alarm status
input | specifies the input (A or B) |
highstate | highvalue alarm is on or off |
lowstate | lowvalue alarm is on or off |
void Basda::Tempo::LakeshoreController331S::queryALARMST | ( | char | input, |
bool & | highstate, | ||
bool & | lowstate | ||
) |
query the input alarm status
input | specifies the input (A or B) |
highstate | highvalue alarm is on or off |
lowstate | lowvalue alarm is on or off |
void Basda::Tempo::LakeshoreController331S::queryANALOG | ( | bool & | bipolar, |
int & | mode, | ||
std::string & | input, | ||
int & | source, | ||
double & | high, | ||
double & | low, | ||
double & | manual | ||
) |
query analog output parameters
bipolar | specifies analog output (0=positive only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop) |
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::LakeshoreController331S::queryANALOG | ( | bool & | bipolar, |
int & | mode, | ||
std::string & | input, | ||
int & | source, | ||
double & | high, | ||
double & | low, | ||
double & | manual | ||
) |
query analog output parameters
bipolar | specifies analog output (0=positive only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop) |
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::LakeshoreController331S::queryAOUT | ( | double & | aoutput | ) |
query analog output data 2nd loop
aoutput | current analog output of the 2nd loop |
void Basda::Tempo::LakeshoreController331S::queryAOUT | ( | double & | aoutput | ) |
query analog output data 2nd loop
aoutput | current analog output of the 2nd loop |
void Basda::Tempo::LakeshoreController331S::queryBAUD | ( | int & | baud | ) |
query the current serial interface baud rate
baud | current baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreController331S::queryBAUD | ( | int & | baud | ) |
query the current serial interface baud rate
baud | current baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreController331S::queryBEEP | ( | bool & | beep | ) |
query the alarm beeper status
beep | current beep status true=on, false =off |
void Basda::Tempo::LakeshoreController331S::queryBEEP | ( | bool & | beep | ) |
query the alarm beeper status
beep | current beep status true=on, false =off |
void Basda::Tempo::LakeshoreController331S::queryBRIGT | ( | int & | bright | ) |
query the display brightness
bright | currently used brightness (0=25%, 1=50%, 2=75%, 3=100%) |
void Basda::Tempo::LakeshoreController331S::queryBRIGT | ( | int & | bright | ) |
query the display brightness
bright | currently used brightness (0=25%, 1=50%, 2=75%, 3=100%) |
void Basda::Tempo::LakeshoreController331S::queryCMODE | ( | int | loop, |
int & | mode | ||
) |
query the control loop mode
loop | specifies which loop to query (1 or 2) |
mode | currently used mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P) |
void Basda::Tempo::LakeshoreController331S::queryCMODE | ( | int | loop, |
int & | mode | ||
) |
query the control loop mode
loop | specifies which loop to query (1 or 2) |
mode | currently used mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P) |
void Basda::Tempo::LakeshoreController331S::queryCRDG | ( | char | input, |
double & | value | ||
) |
query the celsius reading from an input
input | specifies the input (A or B) |
value | current temperature in Celsius |
void Basda::Tempo::LakeshoreController331S::queryCRDG | ( | char | input, |
double & | value | ||
) |
query the celsius reading from an input
input | specifies the input (A or B) |
value | current temperature in Celsius |
void Basda::Tempo::LakeshoreController331S::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-41) |
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::LakeshoreController331S::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-41) |
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::LakeshoreController331S::queryCRVPT | ( | int | curve, |
int | index, | ||
double & | units, | ||
double & | temp | ||
) |
query curve data point
curve | specifies which curve to query (1-41) |
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::LakeshoreController331S::queryCRVPT | ( | int | curve, |
int | index, | ||
double & | units, | ||
double & | temp | ||
) |
query curve data point
curve | specifies which curve to query (1-41) |
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::LakeshoreController331S::queryCSET | ( | int | loop, |
std::string & | input, | ||
int & | units, | ||
bool & | pwrup, | ||
int & | curpwr | ||
) |
query control loop parameters
loop | specifies loop (1 or 2) |
input | currently selected input to control from (A or B) |
units | currently selected setpoint units (1=Kelvin, 2=Celsius, 3=sensor units) |
pwrup | currently selected control loop status on power up, true if enabled, false if disabled |
curpwr | does the heater output display in current(1) or power(2) |
void Basda::Tempo::LakeshoreController331S::queryCSET | ( | int | loop, |
std::string & | input, | ||
int & | units, | ||
bool & | pwrup, | ||
int & | curpwr | ||
) |
query control loop parameters
loop | specifies loop (1 or 2) |
input | currently selected input to control from (A or B) |
units | currently selected setpoint units (1=Kelvin, 2=Celsius, 3=sensor units) |
pwrup | currently selected control loop status on power up, true if enabled, false if disabled |
curpwr | does the heater output display in current(1) or power(2) |
void Basda::Tempo::LakeshoreController331S::queryDISPFLD | ( | int | location, |
int & | item, | ||
int & | source | ||
) |
query display field
location | display field (1-4) |
item | current item displayed in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output) |
source | current input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data) |
void Basda::Tempo::LakeshoreController331S::queryDISPFLD | ( | int | location, |
int & | item, | ||
int & | source | ||
) |
query display field
location | display field (1-4) |
item | current item displayed in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output) |
source | current input data to display (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data, 5=minimum data, 6=maximum data) |
void Basda::Tempo::LakeshoreController331S::queryEMUL | ( | bool & | onoff | ) |
checks whether 330 emulation mode is active or not
onoff | true if emulation is emabled, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryEMUL | ( | bool & | onoff | ) |
checks whether 330 emulation mode is active or not
onoff | true if emulation is emabled, false otherwise |
void Basda::Tempo::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::queryFILTER | ( | char | input, |
bool & | filter, | ||
int & | points, | ||
int & | win | ||
) |
query input filter parameters
input | specifies input (A or B) |
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::LakeshoreController331S::queryFILTER | ( | char | input, |
bool & | filter, | ||
int & | points, | ||
int & | win | ||
) |
query input filter parameters
input | specifies input (A or B) |
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::LakeshoreController331S::queryHTR | ( | double & | output | ) |
query heater output
output | current heater output value |
void Basda::Tempo::LakeshoreController331S::queryHTR | ( | double & | output | ) |
query heater output
output | current heater output value |
void Basda::Tempo::LakeshoreController331S::queryHTRST | ( | int & | status | ) |
query heater status
status | current heater status |
void Basda::Tempo::LakeshoreController331S::queryHTRST | ( | int & | status | ) |
query heater status
status | current heater status |
void Basda::Tempo::LakeshoreController331S::queryIDN | ( | ) |
gets the identification of the device
void Basda::Tempo::LakeshoreController331S::queryIDN | ( | ) |
gets the identification of the device
void Basda::Tempo::LakeshoreController331S::queryIDN | ( | std::string & | manufacture, |
std::string & | model, | ||
std::string & | serialnumber, | ||
std::string & | firmwarerevisionmmddyy | ||
) |
gets the identification of the device and splits it into its parts
manufacture | Manufacturer ID |
model | Instrument model number |
serialnumber | Serial number |
firmwarerevisionmmddyy | Instrument firmware revision date |
void Basda::Tempo::LakeshoreController331S::queryIDN | ( | std::string & | manufacture, |
std::string & | model, | ||
std::string & | serialnumber, | ||
std::string & | firmwarerevisionmmddyy | ||
) |
gets the identification of the device and splits it into its parts
manufacture | Manufacturer ID |
model | Instrument model number |
serialnumber | Serial number |
firmwarerevisionmmddyy | Instrument firmware revision date |
void Basda::Tempo::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::queryINCRV | ( | char | input, |
int & | curve | ||
) |
query input curve number
input | specifies the input (A or B) |
curve | currently used curve of the input (0=none, 1-20=std curves, 21-41=user curves) |
void Basda::Tempo::LakeshoreController331S::queryINCRV | ( | char | input, |
int & | curve | ||
) |
query input curve number
input | specifies the input (A or B) |
curve | currently used curve of the input (0=none, 1-20=std curves, 21-41=user curves) |
void Basda::Tempo::LakeshoreController331S::queryINTYPE | ( | char | input, |
int & | type, | ||
bool & | compensation | ||
) |
query the input type parameters
input | specifies the input (A or B) |
type | current input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA]) |
compensation | currently compensation is on(true) or off(false) |
void Basda::Tempo::LakeshoreController331S::queryINTYPE | ( | char | input, |
int & | type, | ||
bool & | compensation | ||
) |
query the input type parameters
input | specifies the input (A or B) |
type | current input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA]) |
compensation | currently compensation is on(true) or off(false) |
void Basda::Tempo::LakeshoreController331S::queryKEYST | ( | bool & | pressed | ) |
query keypad status
pressed | true if key is pressed, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryKEYST | ( | bool & | pressed | ) |
query keypad status
pressed | true if key is pressed, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryKRDG | ( | char | input, |
double & | value | ||
) |
query Kelvin reading for an input
input | specifies the input (A or B) |
value | current temperature in Kelvin |
void Basda::Tempo::LakeshoreController331S::queryKRDG | ( | char | input, |
double & | value | ||
) |
query Kelvin reading for an input
input | specifies the input (A or B) |
value | current temperature in Kelvin |
void Basda::Tempo::LakeshoreController331S::queryLDAT | ( | char | input, |
double & | value | ||
) |
query linear input equation data
input | specifies input (A or B) |
value | current linear equation value |
void Basda::Tempo::LakeshoreController331S::queryLDAT | ( | char | input, |
double & | value | ||
) |
query linear input equation data
input | specifies input (A or B) |
value | current linear equation value |
void Basda::Tempo::LakeshoreController331S::queryLINEAR | ( | char | input, |
int & | equ, | ||
double & | varM, | ||
int & | srcX, | ||
int & | srcB, | ||
double & | varB | ||
) |
get the linear equation parameter
input | specifies input (A or B) |
equ | currently selected linear equation to use (1=(y = mx + b), 2=(y = m(x + b))) |
varM | current value for m in the equation |
srcX | current input data (1=Kelvin, 2=Celsius, 3=sensor units) |
srcB | what is currently used for b in the equation (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2) |
varB | current value for b in the equation if srcB=1 |
void Basda::Tempo::LakeshoreController331S::queryLINEAR | ( | char | input, |
int & | equ, | ||
double & | varM, | ||
int & | srcX, | ||
int & | srcB, | ||
double & | varB | ||
) |
get the linear equation parameter
input | specifies input (A or B) |
equ | currently selected linear equation to use (1=(y = mx + b), 2=(y = m(x + b))) |
varM | current value for m in the equation |
srcX | current input data (1=Kelvin, 2=Celsius, 3=sensor units) |
srcB | what is currently used for b in the equation (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2) |
varB | current value for b in the equation if srcB=1 |
void Basda::Tempo::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::queryMDAT | ( | char | input, |
double & | minvalue, | ||
double & | maxvalue | ||
) |
query the minimum/maximum data
input | specifies input (A or B) |
minvalue | minimum input data value |
maxvalue | maximum input data value |
void Basda::Tempo::LakeshoreController331S::queryMDAT | ( | char | input, |
double & | minvalue, | ||
double & | maxvalue | ||
) |
query the minimum/maximum data
input | specifies input (A or B) |
minvalue | minimum input data value |
maxvalue | maximum input data value |
void Basda::Tempo::LakeshoreController331S::queryMNMX | ( | char | input, |
int & | source | ||
) |
query minimum and maximum input function parameters
input | specifies the input (A or B) |
source | currently selected input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreController331S::queryMNMX | ( | char | input, |
int & | source | ||
) |
query minimum and maximum input function parameters
input | specifies the input (A or B) |
source | currently selected input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreController331S::queryMODE | ( | int & | mode | ) |
query remote interface mode
mode | current operation mode (0=local, 1=remote, 2=remote with local lock-out) |
void Basda::Tempo::LakeshoreController331S::queryMODE | ( | int & | mode | ) |
query remote interface mode
mode | current operation mode (0=local, 1=remote, 2=remote with local lock-out) |
void Basda::Tempo::LakeshoreController331S::queryMOUT | ( | int | loop, |
double & | value | ||
) |
get the control loop manual heater power (MHP) output
loop | specifies loop to query (1 or 2) |
value | cuurent value of the manual output (in percent) |
void Basda::Tempo::LakeshoreController331S::queryMOUT | ( | int | loop, |
double & | value | ||
) |
get the control loop manual heater power (MHP) output
loop | specifies loop to query (1 or 2) |
value | cuurent value of the manual output (in percent) |
void Basda::Tempo::LakeshoreController331S::queryOPC | ( | ) |
query operation complete.
void Basda::Tempo::LakeshoreController331S::queryOPC | ( | ) |
query operation complete.
void Basda::Tempo::LakeshoreController331S::queryPID | ( | int | loop, |
double & | valueP, | ||
double & | valueI, | ||
double & | valueD | ||
) |
get the control loop PID values
loop | specifies the loop (1 or 2) |
valueP | the current value for proportional (gain) (0.1-1000) |
valueI | the current value for integral (reset) (0.1-1000) |
valueD | the current value for derivative (rate) (0-200) |
void Basda::Tempo::LakeshoreController331S::queryPID | ( | int | loop, |
double & | valueP, | ||
double & | valueI, | ||
double & | valueD | ||
) |
get the control loop PID values
loop | specifies the loop (1 or 2) |
valueP | the current value for proportional (gain) (0.1-1000) |
valueI | the current value for integral (reset) (0.1-1000) |
valueD | the current value for derivative (rate) (0-200) |
void Basda::Tempo::LakeshoreController331S::queryRAMP | ( | int | loop, |
bool & | onoff, | ||
double & | rate | ||
) |
get the control setpoint ramp parameter
loop | specifies the loop (1 or 2) |
onoff | currently ramping switched off(false) or on(true) |
rate | current setpoint ramp rate in Kelvin per minute from 0.1 to 100 |
void Basda::Tempo::LakeshoreController331S::queryRAMP | ( | int | loop, |
bool & | onoff, | ||
double & | rate | ||
) |
get the control setpoint ramp parameter
loop | specifies the loop (1 or 2) |
onoff | currently ramping switched off(false) or on(true) |
rate | current setpoint ramp rate in Kelvin per minute from 0.1 to 100 |
void Basda::Tempo::LakeshoreController331S::queryRAMPST | ( | int | loop, |
bool & | status | ||
) |
get control setpoint ramp status
loop | specifies the loop (1 or 2) |
status | true if currently ramping, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryRAMPST | ( | int | loop, |
bool & | status | ||
) |
get control setpoint ramp status
loop | specifies the loop (1 or 2) |
status | true if currently ramping, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryRANGE | ( | int & | range | ) |
get the currently applied heater range from loop 1
range | the current range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W)) |
void Basda::Tempo::LakeshoreController331S::queryRANGE | ( | int & | range | ) |
get the currently applied heater range from loop 1
range | the current range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W)) |
void Basda::Tempo::LakeshoreController331S::queryRDGST | ( | char | input, |
int & | bitweight | ||
) |
get input reading status
input | specifies input (A or B) |
bitweight | current status bit weighting value |
void Basda::Tempo::LakeshoreController331S::queryRDGST | ( | char | input, |
int & | bitweight | ||
) |
get input reading status
input | specifies input (A or B) |
bitweight | current status bit weighting value |
void Basda::Tempo::LakeshoreController331S::queryRELAY | ( | int | relay, |
int & | mode, | ||
std::string & | input, | ||
int & | type | ||
) |
query relay control parameters
relay | specifies which relay to query (1 or 2) |
mode | current relay mode (0=off, 1=on, 2=alarms) |
input | currently selected input that an alarm activates the relay when in alarm mode (A or B) |
type | current alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreController331S::queryRELAY | ( | int | relay, |
int & | mode, | ||
std::string & | input, | ||
int & | type | ||
) |
query relay control parameters
relay | specifies which relay to query (1 or 2) |
mode | current relay mode (0=off, 1=on, 2=alarms) |
input | currently selected input that an alarm activates the relay when in alarm mode (A or B) |
type | current alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreController331S::queryRELAYST | ( | int | type, |
bool & | onoff | ||
) |
query relay status
type | specifies relay type to query (0=low alarm, 1=high alarm) |
onoff | current relay status, on is true, off is false |
void Basda::Tempo::LakeshoreController331S::queryRELAYST | ( | int | type, |
bool & | onoff | ||
) |
query relay status
type | specifies relay type to query (0=low alarm, 1=high alarm) |
onoff | current relay status, on is true, off is false |
void Basda::Tempo::LakeshoreController331S::queryREV | ( | std::string & | firmwarerevision | ) |
query input firmware revision
firmwarerevision | current firmware revision number as string |
void Basda::Tempo::LakeshoreController331S::queryREV | ( | std::string & | firmwarerevision | ) |
query input firmware revision
firmwarerevision | current firmware revision number as string |
void Basda::Tempo::LakeshoreController331S::querySETP | ( | int | loop, |
double & | setpoint | ||
) |
query the control setpoint
loop | specifies the loop (1 or 2) |
setpoint | current value for the setpoint |
void Basda::Tempo::LakeshoreController331S::querySETP | ( | int | loop, |
double & | setpoint | ||
) |
query the control setpoint
loop | specifies the loop (1 or 2) |
setpoint | current value for the setpoint |
void Basda::Tempo::LakeshoreController331S::querySRDG | ( | char | input, |
double & | value | ||
) |
query the sensor unit input reading
input | specifies the input (A or B) |
value | current sensor units value |
void Basda::Tempo::LakeshoreController331S::querySRDG | ( | char | input, |
double & | value | ||
) |
query the sensor unit input reading
input | specifies the input (A or B) |
value | current sensor units value |
void Basda::Tempo::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::queryTEMP | ( | double & | valuekelvin | ) |
query the thermocouple junction temperature
valuekelvin | current temperature value in Kelvin |
void Basda::Tempo::LakeshoreController331S::queryTEMP | ( | double & | valuekelvin | ) |
query the thermocouple junction temperature
valuekelvin | current temperature value in Kelvin |
void Basda::Tempo::LakeshoreController331S::queryTST | ( | bool & | errorfound | ) |
enable selftest of the device
errorfound | true if error was found, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryTST | ( | bool & | errorfound | ) |
enable selftest of the device
errorfound | true if error was found, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryTUNEST | ( | bool & | activetuning | ) |
query the control tuning status
activetuning | true if active tuning is on, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryTUNEST | ( | bool & | activetuning | ) |
query the control tuning status
activetuning | true if active tuning is on, false otherwise |
void Basda::Tempo::LakeshoreController331S::queryZONE | ( | int | loop, |
int | zone, | ||
double & | top, | ||
double & | valueP, | ||
double & | valueI, | ||
double & | valueD, | ||
double & | mout, | ||
int & | range | ||
) |
query the control loop zone parameter
loop | specifies the loop (1 or 2) |
zone | specifies the zone (1-10) |
top | current top temperature value for this zone |
valueP | current P value for this zone (0.1-1000) |
valueI | current I value for this zone (0.1-1000) |
valueD | current D value for this zone (0-200) |
mout | current manual output value for this zone (0-100) |
range | current heater range for this zone if _loop=1 (0-3) |
void Basda::Tempo::LakeshoreController331S::queryZONE | ( | int | loop, |
int | zone, | ||
double & | top, | ||
double & | valueP, | ||
double & | valueI, | ||
double & | valueD, | ||
double & | mout, | ||
int & | range | ||
) |
query the control loop zone parameter
loop | specifies the loop (1 or 2) |
zone | specifies the zone (1-10) |
top | current top temperature value for this zone |
valueP | current P value for this zone (0.1-1000) |
valueI | current I value for this zone (0.1-1000) |
valueD | current D value for this zone (0-200) |
mout | current manual output value for this zone (0-100) |
range | current heater range for this zone if _loop=1 (0-3) |
|
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 comand to the device
cmd | comand to send |
|
protected |
this function sends a specific comand to the device
cmd | comand to send |
void Basda::Tempo::LakeshoreController331S::setALARM | ( | char | input, |
bool | alarm, | ||
int | source, | ||
double | high, | ||
double | low, | ||
double | dead, | ||
bool | latch | ||
) |
sets the alarm parameters
input | specifies the input to configure (A or B) |
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::LakeshoreController331S::setALARM | ( | char | input, |
bool | alarm, | ||
int | source, | ||
double | high, | ||
double | low, | ||
double | dead, | ||
bool | latch | ||
) |
sets the alarm parameters
input | specifies the input to configure (A or B) |
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::LakeshoreController331S::setALMRST | ( | ) |
clear alarm status for all inputs
void Basda::Tempo::LakeshoreController331S::setALMRST | ( | ) |
clear alarm status for all inputs
void Basda::Tempo::LakeshoreController331S::setANALOG | ( | bool | bipolar, |
int | mode, | ||
char | input, | ||
int | source, | ||
double | high, | ||
double | low, | ||
double | manual | ||
) |
configure analog output parameters
bipolar | specifies analog output (0=positive only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop) |
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::LakeshoreController331S::setANALOG | ( | bool | bipolar, |
int | mode, | ||
char | input, | ||
int | source, | ||
double | high, | ||
double | low, | ||
double | manual | ||
) |
configure analog output parameters
bipolar | specifies analog output (0=positive only, 1=bipolar) |
mode | data for the analog output to monitor (0=off, 1=input, 2=manual, 3=loop) |
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::LakeshoreController331S::setBAUD | ( | int | baud | ) |
sets the serial interface baud rate
baud | specifies baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreController331S::setBAUD | ( | int | baud | ) |
sets the serial interface baud rate
baud | specifies baud rate (0=300, 1=1200, 2=9600) |
void Basda::Tempo::LakeshoreController331S::setBEEP | ( | bool | beep | ) |
sets the Alarm Beeper
beep | true=on, false =off |
void Basda::Tempo::LakeshoreController331S::setBEEP | ( | bool | beep | ) |
sets the Alarm Beeper
beep | true=on, false =off |
void Basda::Tempo::LakeshoreController331S::setBRIGT | ( | int | bright | ) |
sets the display brightness
bright | specifies the brightness (0=25%, 1=50%, 2=75%, 3=100%) |
void Basda::Tempo::LakeshoreController331S::setBRIGT | ( | int | bright | ) |
sets the display brightness
bright | specifies the brightness (0=25%, 1=50%, 2=75%, 3=100%) |
void Basda::Tempo::LakeshoreController331S::setCLS | ( | ) |
command to clear the interface of the device
void Basda::Tempo::LakeshoreController331S::setCLS | ( | ) |
command to clear the interface of the device
void Basda::Tempo::LakeshoreController331S::setCMODE | ( | int | loop, |
int | mode | ||
) |
set the control loop mode
loop | specifies which loop to configure (1 or 2) |
mode | specifies the mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P) |
void Basda::Tempo::LakeshoreController331S::setCMODE | ( | int | loop, |
int | mode | ||
) |
set the control loop mode
loop | specifies which loop to configure (1 or 2) |
mode | specifies the mode (1=manual PID, 2=zone, 3=open loop, 4=autotune PID, 5=autotune PI, 6=autotune P) |
|
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::LakeshoreController331S::setCRVDEL | ( | int | curve | ) |
delete a user specified curve
curve | specifies the curve to delete (21-41) |
void Basda::Tempo::LakeshoreController331S::setCRVDEL | ( | int | curve | ) |
delete a user specified curve
curve | specifies the curve to delete (21-41) |
void Basda::Tempo::LakeshoreController331S::setCRVHDR | ( | int | curve, |
std::string | name, | ||
std::string | snum, | ||
int | format, | ||
double | limit, | ||
int | coeff | ||
) |
configure the curve header
curve | specifies which curve to configure (21-41) |
name | specifies curve name (max 15 chars) |
snum | serial number for the curve (max 10 chars) |
format | curve data format (1=mV/K, 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::LakeshoreController331S::setCRVHDR | ( | int | curve, |
std::string | name, | ||
std::string | snum, | ||
int | format, | ||
double | limit, | ||
int | coeff | ||
) |
configure the curve header
curve | specifies which curve to configure (21-41) |
name | specifies curve name (max 15 chars) |
snum | serial number for the curve (max 10 chars) |
format | curve data format (1=mV/K, 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::LakeshoreController331S::setCRVPT | ( | int | curve, |
int | index, | ||
double | units, | ||
double | temp | ||
) |
configure curve data point
curve | specifies which curve to configure (21-41) |
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::LakeshoreController331S::setCRVPT | ( | int | curve, |
int | index, | ||
double | units, | ||
double | temp | ||
) |
configure curve data point
curve | specifies which curve to configure (21-41) |
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::LakeshoreController331S::setCSET | ( | int | loop, |
char | input, | ||
int | units, | ||
bool | pwrup, | ||
int | curpwr | ||
) |
configure the control loop parameter
loop | specifies which loop to configure (1 or 2) |
input | specifies which input to control from (A or B) |
units | specifies setpoint units (1=Kelvin, 2=Celsius, 3=sensor units) |
pwrup | enables(true)/disables(false) control loop on power-up |
curpwr | specifies whether the heater output displays in current(1) or power(2) |
void Basda::Tempo::LakeshoreController331S::setCSET | ( | int | loop, |
char | input, | ||
int | units, | ||
bool | pwrup, | ||
int | curpwr | ||
) |
configure the control loop parameter
loop | specifies which loop to configure (1 or 2) |
input | specifies which input to control from (A or B) |
units | specifies setpoint units (1=Kelvin, 2=Celsius, 3=sensor units) |
pwrup | enables(true)/disables(false) control loop on power-up |
curpwr | specifies whether the heater output displays in current(1) or power(2) |
void Basda::Tempo::LakeshoreController331S::setDFLT | ( | ) |
set to factory defaults
void Basda::Tempo::LakeshoreController331S::setDFLT | ( | ) |
set to factory defaults
void Basda::Tempo::LakeshoreController331S::setDISPFLD | ( | int | location, |
int | item, | ||
int | source | ||
) |
configure display parameters
location | display location (1-4) |
item | specifies item to display in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output) |
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::LakeshoreController331S::setDISPFLD | ( | int | location, |
int | item, | ||
int | source | ||
) |
configure display parameters
location | display location (1-4) |
item | specifies item to display in the field (0=off, 1=input A, 2=input B, 3=setpoint, 4=heater output) |
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::LakeshoreController331S::setEMUL | ( | bool | emulation | ) |
sets 330 emulation mode on or off
emulation | true=on, false=off |
void Basda::Tempo::LakeshoreController331S::setEMUL | ( | bool | emulation | ) |
sets 330 emulation mode on or off
emulation | true=on, false=off |
void Basda::Tempo::LakeshoreController331S::setESE | ( | int | weight | ) |
sets the configure status reports in the standard event register
weight | bit weighting |
void Basda::Tempo::LakeshoreController331S::setESE | ( | int | weight | ) |
sets the configure status reports in the standard event register
weight | bit weighting |
void Basda::Tempo::LakeshoreController331S::setFILTER | ( | char | input, |
bool | filter, | ||
int | points, | ||
int | win | ||
) |
configure input filter parameters
input | specifies input to configure (A or B) |
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::LakeshoreController331S::setFILTER | ( | char | input, |
bool | filter, | ||
int | points, | ||
int | win | ||
) |
configure input filter parameters
input | specifies input to configure (A or B) |
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::LakeshoreController331S::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 (1-30) |
void Basda::Tempo::LakeshoreController331S::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 (1-30) |
void Basda::Tempo::LakeshoreController331S::setINCRV | ( | char | input, |
int | curve | ||
) |
configure curve input number
input | specifies which input to configure (A or B) |
curve | specifies which curve the input uses (0=none, 1-20=std curves, 21-41=user curves) |
void Basda::Tempo::LakeshoreController331S::setINCRV | ( | char | input, |
int | curve | ||
) |
configure curve input number
input | specifies which input to configure (A or B) |
curve | specifies which curve the input uses (0=none, 1-20=std curves, 21-41=user curves) |
void Basda::Tempo::LakeshoreController331S::setINTYPE | ( | char | input, |
int | type, | ||
bool | compensation | ||
) |
set input type parameter
input | specifies the input (A or B) |
type | specifies the input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA]) |
compensation | specifies whether input compensation is on(true) or off(false). (Reversal for thermal EMF compensation if input is resistive, room compensation if input is thermocouple. Always off if input is a diode) |
void Basda::Tempo::LakeshoreController331S::setINTYPE | ( | char | input, |
int | type, | ||
bool | compensation | ||
) |
set input type parameter
input | specifies the input (A or B) |
type | specifies the input sensor type (0=Silicon Diode, 1=GaAlAs Diode, 2=100 Ω Platinum/250, 3=100 Ω Platinum/500, 4=1000 Ω Platinum, 5=NTC RTD, 6=Thermocouple 25 mV, 7=Thermocouple 50 mV, 3=100 Ω Platinum/500, 8=[2.5 V, 1 mA], 9=[7.5 V, 1 mA]) |
compensation | specifies whether input compensation is on(true) or off(false). (Reversal for thermal EMF compensation if input is resistive, room compensation if input is thermocouple. Always off if input is a diode) |
void Basda::Tempo::LakeshoreController331S::setLINEAR | ( | char | input, |
int | equ, | ||
double | varM, | ||
int | srcX, | ||
int | srcB, | ||
double | varB | ||
) |
set the input linear equation parameter
input | specifies input (A or B) |
equ | specifies the linear equation to use (1=(y = mx + b), 2=(y = m(x + b))) |
varM | specifies a value for m in the equation |
srcX | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units) |
srcB | specifies what use for b in the equation (to use a setpoint, set to same value as _srcX) (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2) |
varB | specifies value for b in the equation if _srcB=1 |
void Basda::Tempo::LakeshoreController331S::setLINEAR | ( | char | input, |
int | equ, | ||
double | varM, | ||
int | srcX, | ||
int | srcB, | ||
double | varB | ||
) |
set the input linear equation parameter
input | specifies input (A or B) |
equ | specifies the linear equation to use (1=(y = mx + b), 2=(y = m(x + b))) |
varM | specifies a value for m in the equation |
srcX | specifies input data (1=Kelvin, 2=Celsius, 3=sensor units) |
srcB | specifies what use for b in the equation (to use a setpoint, set to same value as _srcX) (1=a value, 2=+SP1, 3=-SP1, 4=+SP2, 5=-SP2) |
varB | specifies value for b in the equation if _srcB=1 |
void Basda::Tempo::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::setMNMX | ( | char | input, |
int | source | ||
) |
configure minimum and maximum input function parameters
input | specifies input to configure (A or B) |
source | specifies input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreController331S::setMNMX | ( | char | input, |
int | source | ||
) |
configure minimum and maximum input function parameters
input | specifies input to configure (A or B) |
source | specifies input data to process through max/min (1=Kelvin, 2=Celsius, 3=sensor units, 4=linear data) |
void Basda::Tempo::LakeshoreController331S::setMNMXRST | ( | ) |
reset all min/max function for all inputs
void Basda::Tempo::LakeshoreController331S::setMNMXRST | ( | ) |
reset all min/max function for all inputs
void Basda::Tempo::LakeshoreController331S::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::LakeshoreController331S::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::LakeshoreController331S::setMOUT | ( | int | loop, |
double | value | ||
) |
set the control loop manual heater power (MHP) output
loop | specifies loop to configure (1 or 2) |
value | specifies value for manual output (in percent) |
void Basda::Tempo::LakeshoreController331S::setMOUT | ( | int | loop, |
double | value | ||
) |
set the control loop manual heater power (MHP) output
loop | specifies loop to configure (1 or 2) |
value | specifies value for manual output (in percent) |
void Basda::Tempo::LakeshoreController331S::setOPC | ( | ) |
sets operation complete command
void Basda::Tempo::LakeshoreController331S::setOPC | ( | ) |
sets operation complete command
void Basda::Tempo::LakeshoreController331S::setPID | ( | int | loop, |
double | valueP, | ||
double | valueI, | ||
double | valueD | ||
) |
set the control loop PID values
loop | specifies the loop (1 or 2) |
valueP | specifies the value for proportional (gain) (0.1-1000) |
valueI | specifies the value for integral (reset) (0.1-1000) |
valueD | specifies the value for derivative (rate) (0-200) |
void Basda::Tempo::LakeshoreController331S::setPID | ( | int | loop, |
double | valueP, | ||
double | valueI, | ||
double | valueD | ||
) |
set the control loop PID values
loop | specifies the loop (1 or 2) |
valueP | specifies the value for proportional (gain) (0.1-1000) |
valueI | specifies the value for integral (reset) (0.1-1000) |
valueD | specifies the value for derivative (rate) (0-200) |
void Basda::Tempo::LakeshoreController331S::setRAMP | ( | int | loop, |
bool | onoff, | ||
double | rate | ||
) |
set the control setpoint ramp parameter
loop | specifies teh oop (1 or 2) |
onoff | specifies whether ramping is off(false) or on(true) |
rate | specifies setpoint ramp rate in Kelvin per minute from 0.1 to 100 |
void Basda::Tempo::LakeshoreController331S::setRAMP | ( | int | loop, |
bool | onoff, | ||
double | rate | ||
) |
set the control setpoint ramp parameter
loop | specifies teh oop (1 or 2) |
onoff | specifies whether ramping is off(false) or on(true) |
rate | specifies setpoint ramp rate in Kelvin per minute from 0.1 to 100 |
void Basda::Tempo::LakeshoreController331S::setRANGE | ( | int | range | ) |
set the heater range for loop 1
range | the new range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W)) |
void Basda::Tempo::LakeshoreController331S::setRANGE | ( | int | range | ) |
set the heater range for loop 1
range | the new range (0 = Off, 1 = Low (0.5 W), 2 = Medium (5 W), 3 = High (50 W)) |
void Basda::Tempo::LakeshoreController331S::setRELAY | ( | int | relay, |
int | mode, | ||
char | input, | ||
int | type | ||
) |
configure relay control parameters
relay | specifies which relay to configure (1 or 2) |
mode | specifies relay mode (0=off, 1=on, 2=alarms) |
input | specifies which input alarm activates the relay when in alarm mode (A or B) |
type | specifies the alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreController331S::setRELAY | ( | int | relay, |
int | mode, | ||
char | input, | ||
int | type | ||
) |
configure relay control parameters
relay | specifies which relay to configure (1 or 2) |
mode | specifies relay mode (0=off, 1=on, 2=alarms) |
input | specifies which input alarm activates the relay when in alarm mode (A or B) |
type | specifies the alarm type (0=low alarm, 1=high alarm, 2=both alarms) |
void Basda::Tempo::LakeshoreController331S::setRST | ( | ) |
reset the instrument
void Basda::Tempo::LakeshoreController331S::setRST | ( | ) |
reset the instrument
void Basda::Tempo::LakeshoreController331S::setSCAL | ( | int | std, |
int | dest, | ||
std::string | snum, | ||
double | temp1, | ||
double | unit1, | ||
double | temp2, | ||
double | unit2, | ||
double | temp3, | ||
double | unit3 | ||
) |
generate a SoftCal(TM) curve
std | 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::LakeshoreController331S::setSCAL | ( | int | std, |
int | dest, | ||
std::string | snum, | ||
double | temp1, | ||
double | unit1, | ||
double | temp2, | ||
double | unit2, | ||
double | temp3, | ||
double | unit3 | ||
) |
generate a SoftCal(TM) curve
std | 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::LakeshoreController331S::setSETP | ( | int | loop, |
double | setpoint | ||
) |
set control setpoint
loop | specifies the loop (1 or 2) |
setpoint | specifies the value for the setpoint |
void Basda::Tempo::LakeshoreController331S::setSETP | ( | int | loop, |
double | setpoint | ||
) |
set control setpoint
loop | specifies the loop (1 or 2) |
setpoint | specifies the value for the setpoint |
void Basda::Tempo::LakeshoreController331S::setSRE | ( | int | weight | ) |
set the status reports in the service request enable register
weight | bit weighting |
void Basda::Tempo::LakeshoreController331S::setSRE | ( | int | weight | ) |
set the status reports in the service request enable register
weight | bit weighting |
void Basda::Tempo::LakeshoreController331S::setZONE | ( | int | loop, |
int | zone, | ||
double | top, | ||
double | valueP, | ||
double | valueI, | ||
double | valueD, | ||
double | mout, | ||
int | range | ||
) |
set the control loop zone table parameter
loop | specifies the loop (1 or 2) |
zone | specifies the zone in the table (1-10) |
top | specifies the top temperature of this zone |
valueP | specifies P for this zone (0.1-1000) |
valueI | specifies I for this zone (0.1-1000) |
valueD | specifies D for this zone (0-200) |
mout | specifies the manual output for this zone (0-100) |
range | specifies the heater range for this zone if _loop=1 (0-3) |
void Basda::Tempo::LakeshoreController331S::setZONE | ( | int | loop, |
int | zone, | ||
double | top, | ||
double | valueP, | ||
double | valueI, | ||
double | valueD, | ||
double | mout, | ||
int | range | ||
) |
set the control loop zone table parameter
loop | specifies the loop (1 or 2) |
zone | specifies the zone in the table (1-10) |
top | specifies the top temperature of this zone |
valueP | specifies P for this zone (0.1-1000) |
valueI | specifies I for this zone (0.1-1000) |
valueD | specifies D for this zone (0-200) |
mout | specifies the manual output for this zone (0-100) |
range | specifies the heater range for this zone if _loop=1 (0-3) |
|
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