Commit Graph

137 Commits

Author SHA1 Message Date
Ryan Tang 8b7d93a9fe When open digi setting or Scope, update settings from memory 2024-10-28 13:24:38 -04:00
Ryan Tang b8011bc834 [Major] True parallel thread for filling histogram 2024-10-22 12:56:26 -04:00
Ryan Tang d67dc8d3ed add elog port number 2024-10-18 16:30:21 -04:00
Ryan Tang 83fbea2743 bug fix on Histogram2D 2024-10-15 17:23:43 -04:00
Ryan Tang 256390ffaf added SW Decimation on the Digi setting panle for QDC. this setting is not saved in setting file 2024-10-14 17:47:11 -04:00
Ryan Tang 25d074a393 update the master branch from 0ee20bc 2024-09-30 18:38:48 -04:00
Ryan Tang d738971435 add maskText to mask password 2024-09-09 14:22:21 -04:00
Ryan Tang 968259787b when open digitizer, always set no trace recording 2024-09-06 18:16:18 -04:00
carina@hades 3b3a22382b [Major] Scalar cannot be put in Thread, becuase it update QLineEdit of the MainThread and it is not thread-safe 2024-09-04 17:50:59 -04:00
Ryan Tang e79f93e9ab add Locale 2024-08-30 12:27:24 -04:00
Ryan Tang 11ae70db18 remove scope Qtimer for scalar, use the Scope::TellACQOnOff to start/stop work for scalar, singleHostogram, and onlineAnalyzer 2024-08-29 17:15:36 -04:00
Ryan Tang c2265f3cc6 remove TimingThread, Scope::UpdateScope() in Qthread via a worker. ScalarUpdateTimeinMiliSec in macro.h 2024-08-29 16:49:52 -04:00
Ryan Tang b3ace2cc84 [MAJOR] Analayzer::UpdateHistograms moved to a worker that in a thread, only tested with CoincidentAnalyzer, need to change others 2024-08-29 14:45:11 -04:00
Ryan Tang a5914f8ff8 restructure the workers 2024-08-28 17:58:12 -04:00
Ryan Tang a08297d5cc Move updateScalar into a ScalarWorker, which live in a new Thread 2024-08-28 17:22:41 -04:00
Ryan Tang fbd98067da remove some printf, remove Rebin button in SingleSpatra class 2024-08-28 16:53:25 -04:00
Ryan Tang 0a751eaab1 [Major] remove histogram timing thread, make a new worker, move to a thread to fill histograms 2024-08-28 16:45:23 -04:00
Ryan Tang 823adf67eb disable digitizer panel button when ACQ started 2024-08-23 16:24:17 -04:00
Ryan Tang bf989d2c72 allow open digitizer panel when ACQ started 2024-08-22 15:56:19 -04:00
Ryan Tang fa2b1012dd Digiti Panel is not disable when ACQ started, but the value does not change 2024-08-22 13:03:43 -04:00
Ryan Tang 1cb60d1aa4 bugfix NeutronGamma; if scalarThred running + Analyzer created -> start updateHistograms thread 2024-08-22 12:42:08 -04:00
Ryan Tang 6a9f254289 DigiSetting PSD bug fix, add NeutronGamma analyzer 2024-08-20 14:59:22 -04:00
Ryan Tang a58ddbc6d4 bugs fix for online histograms 2024-08-20 11:20:12 -04:00
Ryan Tang 0895ad57ed SingleHistogram add energy Long for PSD, add SplotPolePlotter_MT.C 2024-08-19 18:53:59 -04:00
Ryan Tang 9af7ff721c after SPS test 2024-08-13 12:45:24 -04:00
MUSIC 478d1cdf38 add MUSIC Analyr. Online evt buidr fail... 2024-07-30 11:56:10 -05:00
Ryan Tang cc296f6e94 tested Coincident Analyzer for 20 kHz/channel, backward event builder. added save/load settings for that too 2024-06-28 15:08:58 -04:00
Ryan Tang dde7e39685 added control for using influx and elog 2024-06-27 17:27:28 -04:00
Ryan Tang 5f2a7f067d change MainWindow Class to FSUDAQ Class. fix bug on histThread, fix bug on CoincidentAnalyzer.h 2024-06-26 16:40:40 -04:00
Ryan Tang a9b98c36f3 snapshot 2024-06-11 16:15:50 -04:00
Ryan Tang dcb3d73776 add prefix in RunTimeStamp.dat 2024-06-10 16:22:01 -04:00
Ryan Tang 7ad3ed4af0 bugs fix on scope 2024-05-17 17:45:30 -04:00
Ryan Tang ff5120395b use a4818_list.txt for a4818 PID 2024-05-06 16:42:17 -04:00
Ryan Tang 952b352e8a fix display bug on QDC scope RecordLength 2024-05-06 14:06:00 -04:00
Ryan Tang 8fd4c92c2b Scalar UI update 2024-04-25 17:01:45 -04:00
Ryan Tang dfe4c4738b solved the slow down problem by repaint the main window 2024-04-18 10:06:55 -04:00
Ryan Tang 03c3e79497 added SoftwareDisable Digitizer, Replace SW trigger button with SetNoTrace button 2024-04-09 15:18:48 -04:00
Ryan Tang 6d7daaa13c move saving file size to Scalar 2024-04-09 13:54:44 -04:00
Ryan Tang a0f9c4d727 add DebugPrint() Macro, for detail debug, fixed the histogram always fill old data 2024-03-22 16:47:33 -04:00
Ryan Tang 6a55ceb884 added maxFillTimeMilliSec for filling single spectra 2024-03-22 12:43:17 -04:00
Ryan Tang 55ec7995c7 when the trigger rate is small and Event/Agg is large, the trigger rate would be 0/0 = nan, fixed this. disable digiPlanel button when ACQ started 2024-03-20 15:35:48 -04:00
Ryan Tang bebff94e62 fix RecordLength bug for QDC. Can't 100% trust CAEN manual 2024-03-19 16:13:44 -04:00
Ryan Tang 98cddbd5b3 add ClassDigitizer::CalByteForBufferCAEN() 2024-03-06 20:10:33 -05:00
Ryan Tang b3ab5da207 hide the token from GUI 2024-03-01 20:22:51 -05:00
Ryan Tang eb799802ab added inlfux token for supporting influxDB 2, and update ClassDigitizer for DT5730 model 2024-03-01 19:18:23 -05:00
Ryan Tang 661aa5f928 added AggCount and ReadCount in Scalar. AggCount is the agg decoded. readcount is the number of read attemp 2024-02-26 19:05:16 -05:00
Ryan Tang 3039a20f61 save setting for each digitizer before run 2024-02-26 16:17:41 -05:00
Ryan Tang 93f89d9264 simplify trigger rate calculation 2024-02-23 18:31:39 -05:00
carina@hades 4c4c7f3860 fix bug when no programSettings.txt 2024-02-21 18:50:40 -05:00
carina@hades f1f1de91ef scope bug fix and performance improve 2024-01-25 16:18:47 -05:00