Changeset 10984 for fact/tools/Edd
- Timestamp:
- 06/10/11 15:02:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/Edd/Edd.cc
r10928 r10984 7 7 EddLineDisplay changes its background colour in case it display 8 8 a DIM status service 9 10 Note: Currently no limit to number of points in plot, can result in out of memory condition. 9 11 10 12 ============================================================ */ … … 55 57 AddTrace(0,0,0); 56 58 59 // Update interval 60 Timer->setInterval(100); 57 61 SetActive(true); 58 62 } … … 334 338 335 339 // 336 // Environment page 340 // Environment page (For M0, server was called ARDUINO) 337 341 // 338 342 TP_Environment::TP_Environment() { … … 342 346 343 347 // Status display 344 EddLineDisplay *Line = new EddLineDisplay("ARDUINO/Message"); 345 Line->setMaximumWidth(200); 346 Layout->addWidget(Line, 0, 0, 1, 2); 347 348 // Generate plot and data displays 348 EddLineDisplay *Line = new EddLineDisplay("FSCctrl/Message"); 349 Line->setMaximumWidth(300); 350 Layout->addWidget(Line, 0, 0, 1, 4); 351 352 Line = new EddLineDisplay("FSCctrl/Time"); 353 Layout->addWidget(Line, 0, 5, 1, 2); 354 355 // Temperatures 349 356 EddPlot *Plot = new EddPlot(); 350 for (int i=0; i<10; i++) { 351 Line = new EddLineDisplay("ARDUINO/Data", i); 352 Layout->addWidget(Line, i%5+1, i/5, 1, 1); 353 Plot->AddService("ARDUINO/Data", i); 354 } 355 Layout->addWidget(Plot, 0, 2, 9, 7); 357 for (int i=0; i<64; i++) { 358 Line = new EddLineDisplay("FSCctrl/Temperature", i); 359 Line->setMaximumWidth(50); 360 Layout->addWidget(Line, i/8+1, i%8); 361 Plot->AddService("FSCctrl/Temperature", i); 362 } 363 Layout->addWidget(Plot, 0, 10, 22, 15); 364 365 // Voltages and currents 366 for (int i=0; i<40; i++) { 367 Line = new EddLineDisplay("FSCctrl/Voltage", i); 368 Line->setMaximumWidth(50); 369 Layout->addWidget(Line, i/8+10, i%8); 370 371 Line = new EddLineDisplay("FSCctrl/Current", i); 372 Line->setMaximumWidth(50); 373 Layout->addWidget(Line, i/8+16, i%8); 374 } 356 375 357 376 // Night sky monitor 358 377 Line = new EddLineDisplay("SQM/Message"); 359 Line->setMaximumWidth( 200);360 Layout->addWidget(Line, 6, 0, 1, 2);378 Line->setMaximumWidth(300); 379 Layout->addWidget(Line, 22, 0, 1, 4); 361 380 362 381 Line = new EddLineDisplay("SQM/NSB"); 363 Layout->addWidget(Line, 7, 0, 1, 1);382 Layout->addWidget(Line, 22, 5, 1, 2); 364 383 } 365 384 … … 872 891 TabWidget->addTab(new TP_Bias, "Bias"); 873 892 TabWidget->addTab(new TP_Feedback, "Feedback"); 874 TabWidget->addTab(new TP_Environment, " Environment");893 TabWidget->addTab(new TP_Environment, "FSC/SQM"); 875 894 TabWidget->addTab(new TP_Evidence, "Evidence"); 876 895
Note:
See TracChangeset
for help on using the changeset viewer.