We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coud be possible to receive info about the syntax that should be used in the "ID & registers" field for Batch processing?
The text was updated successfully, but these errors were encountered:
void BatchProcessor::runBatch() { const int func = stringToHex( embracedString( ui->functionCode->currentText() ) ); const QStringList slaves = ui->slaveEdit->text().split( ';' ); QTextStream out( &m_outputFile ); foreach( const QString &slaveCfg, slaves ) { if( slaveCfg.contains( ':' ) ) { const int slaveID = slaveCfg.split( ':' ).first().toInt(); const QStringList addresses = slaveCfg.split( ':' ).last().split( ',' ); foreach( const QString &addr, addresses ) { out << QDateTime::currentDateTime().toTime_t() << slaveID << ", " << addr.toInt() << ", " << sendModbusRequest( slaveID, func, addr.toInt() ) << endl; } } } }
I'm not currently sure about how it works in deep.
#ID:#Addr,#Addr
#ID:#Addr,#Addr;#ID:#Addr,#Addr;#ID:#Addr,#Addr;#ID:#Addr,#Addr
Sorry, something went wrong.
No branches or pull requests
coud be possible to receive info about the syntax that should be used in the "ID & registers" field for Batch processing?
The text was updated successfully, but these errors were encountered: