>>> import time >>> labjack = LabjackFactory.getLabjack() >>> labjack.initializeLJ() >>> labjack.setDAC0Voltage(0.0) >>> labjack.setDAC1Voltage(0.0) >>> voltage = 0.0 >>> for i in range(2000): ... voltage += 0.001 ... labjack.setDAC0Voltage(voltage) ... labjack.setDAC1Voltage(voltage) ... time.sleep(0.001) >>> labjack.setDAC0Voltage(0.0) >>> labjack.setDAC1Voltage(0.0) |