diff --git a/agent/flsagent.yaml b/agent/flsagent.yaml new file mode 100644 index 0000000..cb9c649 --- /dev/null +++ b/agent/flsagent.yaml @@ -0,0 +1,31 @@ +agent_class: 'FLSAgent' +instance_id: 'fls-1' +processes: + acq: + startup: true + data_settings: { + 'timestamp_field': 'timestamp' + } + data: { + "set_frequency": 100, + "actual_frequency": 100.00307263471768, + "photocurrent": -0.2546461127317887, + "bias_voltage": 1.00006103515625, + "bias_offset": -0.4999389573922598, + "lasers_on": true, + "scan_mode": "fast", + "scan_min_frequency": 60, + "scan_max_frequency": 500, + "scan_step": 0.05, + "scan_direction": -1, + "integration_time": 499.9640615384615, + "timestamp": 1778875096.0714755 + } +tasks: + initialize: {} + run_frequency_sweeps: {} + set_bias: {} + set_frequency: {} + set_integration_time: {} + stop_frequency_sweep: {} + toggle_laser_power: {} diff --git a/src/App.vue b/src/App.vue index 3a7e8da..60fbe92 100644 --- a/src/App.vue +++ b/src/App.vue @@ -153,6 +153,7 @@ import CrateAgent from './panels/CrateAgent.vue'; import DS378Agent from './panels/DS378.vue'; import TauHKAgent from './panels/TauHKAgent.vue'; + import FLSAgent from './panels/FLSAgent.vue'; /* Make a map of components to use in activeComp computed property; see @@ -181,6 +182,7 @@ 'CrateAgent': CrateAgent, 'DS378Agent': DS378Agent, 'TauHKAgent': TauHKAgent, + 'FLSAgent': FLSAgent, }; diff --git a/src/panels/FLSAgent.vue b/src/panels/FLSAgent.vue new file mode 100644 index 0000000..b6fab60 --- /dev/null +++ b/src/panels/FLSAgent.vue @@ -0,0 +1,157 @@ + + + + + +