Skip to content

Commit

Permalink
S + C band configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jslaby6 committed Sep 3, 2024
1 parent a6e82fa commit 7a2c451
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LabExT/Measurements/LUNA_OFDR_O.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ def algorithm(self, device, data, instruments, parameters):

self.logger.debug("Starting Luna sweep measurement")

filepath += f"\\{DUT_L:.1f}.txt"
f = open(filepath, "w")
f.close()

result, new_dut_L = self.ova.grab_data(
dut_L = DUT_L,
center_wavelength = center_wavelength,
Expand Down
4 changes: 4 additions & 0 deletions LabExT/Measurements/LUNA_sweep_Cband.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ def algorithm(self, device, data, instruments, parameters):

self.logger.debug("Starting Luna sweep measurement")

filepath += f"\\{DUT_L:.1f}.txt"
f = open(filepath, "w")
f.close()

result, new_dut_L = self.ova.grab_data(
dut_L = DUT_L,
center_wavelength = center_wavelength,
Expand Down
4 changes: 4 additions & 0 deletions LabExT/Measurements/LUNA_sweep_Oband.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def algorithm(self, device, data, instruments, parameters):

self.logger.debug("Starting Luna sweep measurement")

filepath += f"\\{DUT_L:.1f}.txt"
f = open(filepath, "w")
f.close()

result, new_dut_L = self.ova.grab_data(
dut_L = DUT_L,
center_wavelength = center_wavelength,
Expand Down
27 changes: 27 additions & 0 deletions configs/passive_setup_CL_config.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Visa Library Path": "@ivi",
"Instruments":
{
"Laser":
[
{"visa": "GPIB0::23::INSTR", "class": "LaserMainframeKeysight", "channels": [0]}
],
"Power Meter":
[
{"visa": "None", "class": "PowerMeterKoheronPD10R", "channels": [0], "args":{"lj_port": "AIN0"}}
],
"OVA":
[
{"visa": "None", "class": "OpticalVectorAnalyzer", "channels": [0]}
]
},
"Mover":
{
"ThorlabsKCube":
[
{"axis": "X", "sns": 27258584},
{"axis": "Y", "sns": 27258581},
{"axis": "Z", "sns": 27258547}
]
}
}
27 changes: 27 additions & 0 deletions configs/passive_setup_SC_config.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Visa Library Path": "@ivi",
"Instruments":
{
"Laser":
[
{"visa": "GPIB0::21::INSTR", "class": "LaserMainframeKeysight", "channels": [0]}
],
"Power Meter":
[
{"visa": "None", "class": "PowerMeterKoheronPD10R", "channels": [0], "args":{"lj_port": "AIN0"}}
],
"OVA":
[
{"visa": "None", "class": "OpticalVectorAnalyzer", "channels": [0]}
]
},
"Mover":
{
"ThorlabsKCube":
[
{"axis": "X", "sns": 27258584},
{"axis": "Y", "sns": 27258581},
{"axis": "Z", "sns": 27258547}
]
}
}

0 comments on commit 7a2c451

Please sign in to comment.