#include <qwatlowdevice.h>
Definition at line 16 of file qwatlowdevice.h.
QWatlowDevice::QWatlowDevice |
( |
QPidControllerWPtr |
ctrl, |
|
|
QcepSettingsSaverWPtr |
saver, |
|
|
QString |
deviceName |
|
) |
| |
|
explicit |
Definition at line 7 of file qwatlowdevice.cpp.
QPidDevice(QPidControllerWPtr ctrl, QcepSettingsSaverWPtr saver, int deviceType, QString deviceName, int pollIntervalMsec, int timeoutMsec)
QPidObjectNamer m_ObjectNamer
void QWatlowDevice::abandonCommand |
( |
| ) |
|
|
private |
void QWatlowDevice::autoTune |
( |
| ) |
|
|
slot |
bool QWatlowDevice::canAutoTune |
( |
| ) |
|
|
slot |
void QWatlowDevice::changeDerivative |
( |
double |
deriv | ) |
|
|
slot |
void QWatlowDevice::changeIntegral |
( |
double |
integ | ) |
|
|
slot |
void QWatlowDevice::changeProportional |
( |
double |
prop | ) |
|
|
slot |
void QWatlowDevice::changeRampRate |
( |
double |
rate | ) |
|
|
slot |
void QWatlowDevice::changeSetPoint |
( |
double |
setPoint | ) |
|
|
slot |
void QWatlowDevice::completeCommand |
( |
| ) |
|
|
private |
void QWatlowDevice::configurationDialog |
( |
| ) |
|
|
virtual |
Implements QPidDevice.
Definition at line 268 of file qwatlowdevice.cpp.
References m_DeviceDialog.
QSharedPointer< QWatlowDeviceDialog > QWatlowDeviceDialogPtr
QSharedPointer< QWatlowDevice > QWatlowDevicePtr
QWatlowDeviceDialogPtr m_DeviceDialog
void QWatlowDevice::enable |
( |
bool |
on | ) |
|
|
slot |
QString QWatlowDevice::errorMessage |
( |
int |
val | ) |
|
|
private |
Definition at line 220 of file qwatlowdevice.cpp.
Referenced by completeCommand().
223 case 0:
return "No error";
224 case 1:
return "Transmit buffer overflow";
225 case 2:
return "Receive buffer overflow";
226 case 3:
return "Framing error";
227 case 4:
return "Overrun error";
228 case 5:
return "Parity error";
229 case 6:
return "Talking out of turn";
230 case 7:
return "Invalid reply error";
231 case 8:
return "Noise error";
232 case 20:
return "Command not found";
233 case 21:
return "Prompt not found";
234 case 22:
return "Incomplete command line";
235 case 23:
return "Invalid character";
236 case 24:
return "Number of chars. overflow";
237 case 25:
return "Input out of limit";
238 case 26:
return "Read only command";
239 case 27:
return "Write allowed only";
240 case 28:
return "Prompt not active";
241 case 30:
return "Request to RUN invalid";
242 case 31:
return "Request to HOLD invalid";
243 case 32:
return "Command invalid in RUN Mode";
244 case 33:
return "Command invalid in HOLD Mode";
245 case 34:
return "Output 3 is not an Event";
246 case 35:
return "Output 4 is not an Event";
247 case 38:
return "Asterisk not allowed";
248 case 39:
return "Infinite loop error";
250 return "Unkown Error";
void QWatlowDevice::getParameter |
( |
QString |
param | ) |
|
|
slot |
void QWatlowDevice::issueCommand |
( |
| ) |
|
|
private |
void QWatlowDevice::newParameterValue |
( |
QString |
param, |
|
|
double |
value |
|
) |
| |
|
signal |
void QWatlowDevice::onDsrChanged |
( |
bool |
status | ) |
|
|
slot |
void QWatlowDevice::onGraphingTimeout |
( |
| ) |
|
|
slot |
Definition at line 383 of file qwatlowdevice.cpp.
References QPidDevice::controller(), and QPidDevice::graphedChannelValues().
388 QDateTime ts(QDateTime::currentDateTime());
390 res.append(ts.toTime_t());
391 res.append(ts.date().day());
392 res.append(ts.time().hour());
393 res.append(ts.time().minute());
394 res.append(ts.time().second());
396 res.append(ctl->get_Temperature());
397 res.append(ctl->get_OutputLevel());
398 res.append(ctl->get_RampPoint());
QPidControllerWPtr controller() const
void graphedChannelValues(QcepDoubleList values)
QSharedPointer< QPidController > QPidControllerPtr
void QWatlowDevice::onLoggingTimeout |
( |
| ) |
|
|
slot |
Definition at line 403 of file qwatlowdevice.cpp.
References QPidDevice::controller(), and QPidDevice::loggedChannelValues().
408 QDateTime ts(QDateTime::currentDateTime());
410 res.append(ts.toTime_t());
411 res.append(ts.date().day());
412 res.append(ts.time().hour());
413 res.append(ts.time().minute());
414 res.append(ts.time().second());
416 res.append(ctl->get_Temperature());
417 res.append(ctl->get_OutputLevel());
418 res.append(ctl->get_RampPoint());
QPidControllerWPtr controller() const
QSharedPointer< QPidController > QPidControllerPtr
void loggedChannelValues(QcepDoubleList values)
void QWatlowDevice::onReadyRead |
( |
| ) |
|
|
slot |
void QWatlowDevice::onTimeout |
( |
| ) |
|
|
slot |
void QWatlowDevice::pushCommand |
( |
QString |
cmd | ) |
|
|
slot |
void QWatlowDevice::readoutInitial |
( |
| ) |
|
|
slot |
Definition at line 33 of file qwatlowdevice.cpp.
References QPidDevice::graphedChannelNames(), and QPidDevice::loggedChannelNames().
37 channels.append(
"Epoch");
38 channels.append(
"Day");
39 channels.append(
"Hours");
40 channels.append(
"Minutes");
41 channels.append(
"Seconds");
42 channels.append(
"Temperature");
43 channels.append(
"OutputLevel");
44 channels.append(
"SetPoint");
void graphedChannelNames(QStringList names)
void loggedChannelNames(QStringList names)
void QWatlowDevice::readoutPolling |
( |
| ) |
|
|
slot |
void QWatlowDevice::readoutTimeout |
( |
| ) |
|
|
slot |
void QWatlowDevice::readSettings |
( |
QSettings * |
set, |
|
|
QString |
section |
|
) |
| |
|
virtual |
void QWatlowDevice::sendCommand |
( |
QString |
cmd | ) |
|
|
slot |
void QWatlowDevice::setParameter |
( |
QString |
param, |
|
|
double |
val |
|
) |
| |
|
slot |
void QWatlowDevice::start |
( |
| ) |
|
|
slot |
void QWatlowDevice::stop |
( |
| ) |
|
|
slot |
void QWatlowDevice::timerEvent |
( |
QTimerEvent * |
| ) |
|
|
slot |
void QWatlowDevice::writeOutput |
( |
QString |
cmd | ) |
|
void QWatlowDevice::writeSettings |
( |
QSettings * |
set, |
|
|
QString |
section |
|
) |
| |
|
virtual |
QStringList QWatlowDevice::m_CommandQueue |
|
private |
QTimer QWatlowDevice::m_CommandTimer |
|
private |
QString QWatlowDevice::m_Parameter |
|
private |
QString QWatlowDevice::m_Reply |
|
private |
int QWatlowDevice::m_TimerID |
|
private |
The documentation for this class was generated from the following files: