From 127c3a800193a1cc5d244b4d1760ced7412053f7 Mon Sep 17 00:00:00 2001 From: Matthew Hasselfield Date: Mon, 15 Dec 2025 12:12:59 -0500 Subject: [PATCH 01/10] tauHKAgent: preliminary version --- agent/tauhkagent.yaml | 23 +++++ src/App.vue | 2 + src/components/OpDropdown.vue | 10 +++ src/panels/tauHKAgent.vue | 157 ++++++++++++++++++++++++++++++++++ 4 files changed, 192 insertions(+) create mode 100644 agent/tauhkagent.yaml create mode 100644 src/panels/tauHKAgent.vue diff --git a/agent/tauhkagent.yaml b/agent/tauhkagent.yaml new file mode 100644 index 0000000..84a55ca --- /dev/null +++ b/agent/tauhkagent.yaml @@ -0,0 +1,23 @@ +agent_class: 'tauHKAgent' +instance_id: 'tauhk-1' +processes: + advertise: + startup: true + data: + settables: + global_options: + restart: [] + rtd_0: + logdac: [int, [0, 15]] + something: [float, [0, 15.1]] + uvolts: [bool, []] + choosable: [enum, {a: 1, b: 2}] + receive_data: + startup: true + data_settings: + timestamp_field: timestamp + data: + timestamp: 1601925677.6914878 + rtd_0_logdac: 12.0 +tasks: + generic_send: {} diff --git a/src/App.vue b/src/App.vue index 1d52074..8a39147 100644 --- a/src/App.vue +++ b/src/App.vue @@ -152,6 +152,7 @@ import HWPSupervisor from './panels/HWPSupervisor.vue'; import CrateAgent from './panels/CrateAgent.vue'; import DS378Agent from './panels/DS378.vue'; + import tauHKAgent from './panels/tauHKAgent.vue'; /* Make a map of components to use in activeComp computed property; see @@ -179,6 +180,7 @@ 'HWPSupervisor': HWPSupervisor, 'CrateAgent': CrateAgent, 'DS378Agent': DS378Agent, + 'tauHKAgent': tauHKAgent, }; diff --git a/src/components/OpDropdown.vue b/src/components/OpDropdown.vue index 6fec50a..4442458 100644 --- a/src/components/OpDropdown.vue +++ b/src/components/OpDropdown.vue @@ -22,6 +22,16 @@ + + + diff --git a/src/panels/tauHKAgent.vue b/src/panels/tauHKAgent.vue new file mode 100644 index 0000000..e280a72 --- /dev/null +++ b/src/panels/tauHKAgent.vue @@ -0,0 +1,157 @@ + + + + + From 08fa3cf5419ddcc9666a91a6879ff73dd17de408 Mon Sep 17 00:00:00 2001 From: Simon Tartakovsky Date: Mon, 15 Dec 2025 16:39:21 -0500 Subject: [PATCH 02/10] added prototype excitation upload command and a crate status --- src/panels/tauHKAgent.vue | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/panels/tauHKAgent.vue b/src/panels/tauHKAgent.vue index e280a72..6d2d340 100644 --- a/src/panels/tauHKAgent.vue +++ b/src/panels/tauHKAgent.vue @@ -18,11 +18,15 @@ v-bind:value="panel.connection_ok"> - + +
@@ -67,6 +71,14 @@
+ +

Upload Excitations

+ + + + @@ -100,6 +112,7 @@ } }, receive_data: { auto: true}, + start_crate: { auto: true}, }), first_pop: true, settables: {}, @@ -115,6 +128,12 @@ } return [false, "No data"]; }, + crate_ok() { + let status = this.ops.start_crate.session.data?.is_alive; + if (status === undefined) return [false, "Never Started"]; + let message = this.ops.start_crate.session.data?.latest_log; + return [status, message]; + }, channels() { return Object.keys(this.settables); }, From 4c71652f694941de947f181cbedfc30882179e7a Mon Sep 17 00:00:00 2001 From: Simon Tartakovsky Date: Wed, 18 Feb 2026 18:18:57 -0500 Subject: [PATCH 03/10] changed instanceid to cryo-tauhk-1 to match deploy on site --- agent/tauhkagent.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/tauhkagent.yaml b/agent/tauhkagent.yaml index 84a55ca..0ebcc20 100644 --- a/agent/tauhkagent.yaml +++ b/agent/tauhkagent.yaml @@ -1,5 +1,5 @@ agent_class: 'tauHKAgent' -instance_id: 'tauhk-1' +instance_id: 'cryo-tauhk-1' processes: advertise: startup: true From e418cb8f2a21861deb5f0d350f1b0ee743ea67b3 Mon Sep 17 00:00:00 2001 From: Simon Tartakovsky Date: Wed, 18 Feb 2026 18:21:15 -0500 Subject: [PATCH 04/10] updated agent class to match deployed config --- agent/tauhkagent.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/tauhkagent.yaml b/agent/tauhkagent.yaml index 0ebcc20..9e0b3d2 100644 --- a/agent/tauhkagent.yaml +++ b/agent/tauhkagent.yaml @@ -1,4 +1,4 @@ -agent_class: 'tauHKAgent' +agent_class: 'TauHKAgent' instance_id: 'cryo-tauhk-1' processes: advertise: From 3aa9e45d6bfdb520b1eb9132beeb2ffaa827a323 Mon Sep 17 00:00:00 2001 From: Matthew Hasselfield Date: Thu, 19 Feb 2026 09:21:50 -0500 Subject: [PATCH 05/10] Couple bugfixes --- src/panels/tauHKAgent.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/panels/tauHKAgent.vue b/src/panels/tauHKAgent.vue index 6d2d340..471c8dd 100644 --- a/src/panels/tauHKAgent.vue +++ b/src/panels/tauHKAgent.vue @@ -6,7 +6,7 @@
- tauHKAgent + TauHKAgent

Connection

Date: Thu, 19 Feb 2026 11:16:10 -0500 Subject: [PATCH 06/10] Rename to TauHKAgent --- src/App.vue | 4 ++-- src/panels/tauHKAgent.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8a39147..3a7e8da 100644 --- a/src/App.vue +++ b/src/App.vue @@ -152,7 +152,7 @@ import HWPSupervisor from './panels/HWPSupervisor.vue'; import CrateAgent from './panels/CrateAgent.vue'; import DS378Agent from './panels/DS378.vue'; - import tauHKAgent from './panels/tauHKAgent.vue'; + import TauHKAgent from './panels/TauHKAgent.vue'; /* Make a map of components to use in activeComp computed property; see @@ -180,7 +180,7 @@ 'HWPSupervisor': HWPSupervisor, 'CrateAgent': CrateAgent, 'DS378Agent': DS378Agent, - 'tauHKAgent': tauHKAgent, + 'TauHKAgent': TauHKAgent, }; diff --git a/src/panels/tauHKAgent.vue b/src/panels/tauHKAgent.vue index 471c8dd..013db07 100644 --- a/src/panels/tauHKAgent.vue +++ b/src/panels/tauHKAgent.vue @@ -94,7 +94,7 @@ From 0db6e0fccd13918f8f775b4f0c776380bda6c00b Mon Sep 17 00:00:00 2001 From: Matthew Hasselfield Date: Thu, 19 Feb 2026 12:47:47 -0500 Subject: [PATCH 10/10] Bunch of fixes... --- agent/tauhkagent.yaml | 9 +++++ src/panels/TauHKAgent.vue | 81 +++++++++++++++++++++------------------ 2 files changed, 52 insertions(+), 38 deletions(-) diff --git a/agent/tauhkagent.yaml b/agent/tauhkagent.yaml index 3a74671..32afaa9 100644 --- a/agent/tauhkagent.yaml +++ b/agent/tauhkagent.yaml @@ -152,6 +152,15 @@ processes: "RTD_100mK_6_resistance": 5963.305, "DIODE_OT1_4K_1_temperature": 8.546854, "DIODE_OT1_4K_1_voltage": 1.4125684, + "DIODE_4K_10_enabled_chop": false, + "DIODE_4K_11_enabled_dc": true, + "DIODE_4K_11_enabled_chop": false, + "DIODE_4K_12_enabled_dc": true, + "DIODE_4K_12_enabled_chop": false, + "DIODE_40K_17_enabled_dc": true, + "DIODE_40K_17_enabled_chop": false, + "DIODE_40K_18_enabled_dc": true, + "DIODE_40K_18_enabled_chop": false, } tasks: generic_send: {} diff --git a/src/panels/TauHKAgent.vue b/src/panels/TauHKAgent.vue index 79a9ddd..a631008 100644 --- a/src/panels/TauHKAgent.vue +++ b/src/panels/TauHKAgent.vue @@ -82,47 +82,50 @@

Latest Readings

-
+
Group
-
+
+
-
+
Text Filter
-
- Value - Field +
+ Value + Field
- + {{ item.value }} - {{ item.name }} + {{ item.name }}
@@ -177,6 +180,7 @@ filter: "", hideT: false, hideR: false, + hideO: false, }, } }, @@ -210,12 +214,13 @@ return 'unknown'; }, statusVars() { - let sdata = this.ops.receive_data.session.data; - let annotated = []; - if (!sdata) - return annotated; + let data = this.ops.receive_data.session.data; + if (!data) + return []; - let data = sdata; + let annotated = []; + let simple_spec = [ + '100mK_', '1K_', '4K_', '40K_', '80K_']; for (const [key, value] of Object.entries(data)) { let d = { @@ -228,20 +233,16 @@ }, }; - if (key.includes('10K_')) - d.props.specialization = '10k-only'; - if (key.includes('1K_')) - d.props.specialization = '1k-only'; - if (key.includes('100mK_')) - d.props.specialization = '100mk-only'; - if (key.includes('RTD_')) - d.props.specialization = 'rtd-only'; - if (key.includes('DIODE_')) - d.props.specialization = 'diode-only'; + for (const spec of simple_spec) + if (key.includes(spec)) + d.props.specialization = spec; + if (key.includes('temperature')) d.props.type = 'T'; else if (key.includes('resistance') || key.includes('voltage')) d.props.type = 'R'; + else + d.props.type = 'O'; annotated.push(d); } @@ -272,32 +273,36 @@