def defaultAOTFLines(self): for i in range(1,6): # set analog lines to default (max). nicontrol.setAnalogLine(self.board, i, self.powerToVoltage(i, 1.0)) # set digital lines to high. nicontrol.setDigitalLine(self.board, i, True)
def defaultAOTFLines(self): for i in range(1, 6): # set analog lines to default (max). nicontrol.setAnalogLine(self.board, i, self.powerToVoltage(i, 1.0)) # set digital lines to high. nicontrol.setDigitalLine(self.board, i, True)
def defaultAOTFLines(self): # set AOTF analog lines to default (max). for i in range(1,4): nicontrol.setAnalogLine(self.board, i, self.powerToVoltage(i, 1.0)) for i in range(10,13): # set AOTF digital (FSK) lines to high. nicontrol.setDigitalLine(self.board, i, True)
def stopFilm(self): # stop the tasks self.cleanup() # reset all the AOTF signals. self.defaultAOTFLines() # set Cube analog modulation line to 0. nicontrol.setAnalogLine(self.board, 0, self.powerToVoltage(3, 0.0))
def prepare(self): # This sets things so we don't get a burst of light at the # begining with all the lasers coming on. # Set all analog channels to zero. for i in range(4): nicontrol.setAnalogLine(self.board, i, 0.0) # Close 752 shutter & set FSK lines on the AOTF. for channel in self.dig_shutter_channels: nicontrol.setDigitalLine(self.board, channel, False)
def prepare(self): # This sets things so we don't get a burst of light at the # begining with all the lasers coming on. for i in range(self.number_channels): nicontrol.setAnalogLine(self.board, i, 0.0)
def defaultAOTFLines(self): for i in range(7): # set analog lines to default (max). nicontrol.setAnalogLine(self.board, i, self.powerToVoltage(i, 1.0))
def defaultAOTFLines(self): for i in range(self.number_channels): # set analog lines to default (max). nicontrol.setAnalogLine(self.board, i, self.powerToVoltage(i, 1.0))