Here's the debug() function that gets called in readADC. I don't know why it would matter since it worked fine when just clicking a button manually.
void arm_rev0
::debug(QString buffer
) {
/*Write to window
msg.append(buffer);
msg.append("\n");
ui->t_debug->setText(msg);
*/
/*Write to log file*/
log << buffer << '\n';
log.flush();
}
void arm_rev0::debug(QString buffer)
{
/*Write to window
msg.append(buffer);
msg.append("\n");
ui->t_debug->setText(msg);
*/
/*Write to log file*/
log << buffer << '\n';
log.flush();
}
To copy to clipboard, switch view to plain text mode
Bookmarks