hello sir thank you i solved the problem.. it was a very silly mistake kfast was the item number but i incremented ksast i think thats why there was this error. I used the code from some previous post which i found on this forum to auto create incrementing names with numbers. This is what i did now.
for( int i=0 ; i<300; i++ )
{
defineparameters.append(QString("Thermo Couple_%1").arg(i));
}
ParamsLW->insertItem(kfast,listWidgetdataat(j)); // kfast =0;
ksast++; // supposed to be kfast++;
ParamsLW->insertItem(kfast,listWidgetdataat(j)); // kfast =0;
ksast++; // supposed to be kfast++;
To copy to clipboard, switch view to plain text mode
thank you sir problem is solved.
Bookmarks