#include <qcryostreamdevice.h>
Definition at line 10 of file qcryostreamdevice.h.
Enumerator |
---|
UnknownDevice |
|
CryostreamDevice |
|
PhenixDevice |
|
CobraDevice |
|
HelixDevice |
|
Definition at line 47 of file qcryostreamdevice.h.
QCryostreamDevice::QCryostreamDevice |
( |
QPidControllerWPtr |
ctrl, |
|
|
QcepSettingsSaverWPtr |
saver, |
|
|
QString |
deviceName |
|
) |
| |
|
explicit |
Definition at line 178 of file qcryostreamdevice.cpp.
181 m_CryostreamDeviceType(QcepSettingsSaverPtr(),
this,
"cryostreamDeviceType",
UnknownDevice,
"Detected Device Type")
QPidObjectNamer m_ObjectNamer
QPidDevice(QPidControllerWPtr ctrl, QcepSettingsSaverWPtr saver, int deviceType, QString deviceName, int pollIntervalMsec, int timeoutMsec)
void QCryostreamDevice::autoTune |
( |
| ) |
|
|
slot |
bool QCryostreamDevice::canAutoTune |
( |
| ) |
|
|
slot |
void QCryostreamDevice::changeDerivative |
( |
double |
deriv | ) |
|
|
slot |
void QCryostreamDevice::changeIntegral |
( |
double |
integ | ) |
|
|
slot |
void QCryostreamDevice::changeProportional |
( |
double |
prop | ) |
|
|
slot |
void QCryostreamDevice::changeRampRate |
( |
double |
rate | ) |
|
|
slot |
void QCryostreamDevice::changeSetPoint |
( |
double |
setPoint | ) |
|
|
slot |
void QCryostreamDevice::configurationDialog |
( |
| ) |
|
|
virtual |
Implements QPidDevice.
Definition at line 297 of file qcryostreamdevice.cpp.
References m_DeviceDialog.
QSharedPointer< QCryostreamDeviceDialog > QCryostreamDeviceDialogPtr
QSharedPointer< QCryostreamDevice > QCryostreamDevicePtr
QCryostreamDeviceDialogPtr m_DeviceDialog
QByteArray QCryostreamDevice::cryoRate |
( |
double |
rate | ) |
|
|
private |
Definition at line 377 of file qcryostreamdevice.cpp.
Referenced by changeSetPoint().
381 short rateint = (short)(rate*60);
383 res.append((
unsigned char) ((rateint>>8) & 0xff));
384 res.append((
unsigned char) (rateint & 0xff));
QByteArray QCryostreamDevice::cryoTemperature |
( |
double |
temp | ) |
|
|
private |
void QCryostreamDevice::enable |
( |
bool |
on | ) |
|
|
slot |
int QCryostreamDevice::makeWord |
( |
int |
hi, |
|
|
int |
lo |
|
) |
| |
|
privateslot |
void QCryostreamDevice::parseStatusPacket |
( |
| ) |
|
|
private |
Definition at line 209 of file qcryostreamdevice.cpp.
References QPidDevice::cK2K(), CobraDevice, QPidDevice::controller(), CryostreamDevice, HelixDevice, QPidDevice::K2degC(), m_Buffer, makeWord(), PhenixDevice, QPidDevice::printMessage(), and UnknownDevice.
Referenced by readyRead().
217 if ((len == 32 && typ == 1) ||
218 (len == 42 && typ == 2) ||
219 (len == 44 && typ == 150) ||
220 (len == 32 && typ == 100) ||
221 (len == 46 && typ == 200)) {
232 if ((runMode >= 0 && runMode <= 6) &&
233 (phaseID >= 0 && phaseID <= (typ<10?10:9)) &&
234 (alarmCode >= 0 && alarmCode <= 26) &&
235 (temperature - setPoint == temperror)) {
262 ctl->set_Temperature(
K2degC(
cK2K(temperature)));
264 ctl->set_OutputLevel(output);
265 ctl->set_Enabled(runMode==3);
QPidControllerWPtr controller() const
QSharedPointer< QPidController > QPidControllerPtr
int makeWord(int hi, int lo)
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())
void QCryostreamDevice::readoutInitial |
( |
| ) |
|
|
slot |
void QCryostreamDevice::readoutPolling |
( |
| ) |
|
|
slot |
void QCryostreamDevice::readoutTimeout |
( |
| ) |
|
|
slot |
void QCryostreamDevice::readSettings |
( |
QSettings * |
set, |
|
|
QString |
section |
|
) |
| |
|
virtual |
void QCryostreamDevice::readyRead |
( |
| ) |
|
|
slot |
void QCryostreamDevice::sendCommand |
( |
QString |
cmd | ) |
|
|
slot |
void QCryostreamDevice::sendCryoCommand |
( |
int |
cmd, |
|
|
QByteArray |
args = QByteArray() |
|
) |
| |
|
private |
void QCryostreamDevice::writeSettings |
( |
QSettings * |
set, |
|
|
QString |
section |
|
) |
| |
|
virtual |
QByteArray QCryostreamDevice::m_Buffer |
|
private |
int QCryostreamDevice::cryostreamDeviceType |
|
readwrite |
The documentation for this class was generated from the following files: