Changeset 11159
- Timestamp:
- 06/24/11 12:23:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11152 r11159 1087 1087 void handleFadFwVersion(const DimData &d) 1088 1088 { 1089 if (!CheckSize(d, 4 0*sizeof(float)))1089 if (!CheckSize(d, 43*sizeof(float))) 1090 1090 return; 1091 1091 1092 1092 const float *ptr = d.ptr<float>(); 1093 fFadFwVersion->setValue( GetFirst(ptr));1093 fFadFwVersion->setValue(ptr[1]); 1094 1094 1095 1095 ostringstream tip; … … 1103 1103 tip << "<tr><th>" << c << "</th>"; 1104 1104 for (int b=0; b<10; b++) 1105 tip << "<td>" << ptr[c*10+b ] << "</td>";1105 tip << "<td>" << ptr[c*10+b+3] << "</td>"; 1106 1106 tip << "</tr>"; 1107 1107 } … … 1109 1109 1110 1110 fFadFwVersion->setToolTip(tip.str().c_str()); 1111 1112 SetLedColor(fFadLEDFwVersion, d.qos?kLedGreen:kLedOrange, d.time); 1111 1113 } 1112 1114 … … 1126 1128 fFadEvtDel->setValue(stat[3]); 1127 1129 fFadEvtTot->setValue(stat[4]); 1128 fFadEvtRead->setValue(stat[6] );1130 fFadEvtRead->setValue(stat[6]/1024.); 1129 1131 fFadEvtConn->setValue(stat[7]); 1130 1132 }
Note:
See TracChangeset
for help on using the changeset viewer.