From e9efd9caef73455fb7f54656840a4a8391ff450e Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 2 Jun 2022 13:55:01 -0400 Subject: enable current change when setting B field --- examples/eit_with_vcsel.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/eit_with_vcsel.py b/examples/eit_with_vcsel.py index 4783092..f455c1a 100644 --- a/examples/eit_with_vcsel.py +++ b/examples/eit_with_vcsel.py @@ -103,12 +103,13 @@ class BfieldDriver(KeysightE3612A): Iy = By / Bslope_TperA[chY] Iz = Bz / Bslope_TperA[chZ] + logger.info(f'Setting {Bmag=}, {theta=} {phi=} in radians') logger.info(f"Setting {chX=} to {Ix}") logger.info(f"Setting {chY=} to {Iy}") logger.info(f"Setting {chZ=} to {Iz}") - # self.setChanIout(chX, Ix) - # self.setChanIout(chY, Iy) - # self.setChanIout(chZ, Iz) + self.setChanIout(chX, Ix) + self.setChanIout(chY, Iy) + self.setChanIout(chZ, Iz) return Ix, Iy, Iz def setBinDegrees(self, Bmag=50e-6, theta=0, phi=0): -- cgit v1.2.3