44FOLDER_PATH = r"C:\\Users\bar.kristal\Documents\GitHub\Python\Tests\functionality_test"
55FOLDER_NAME = "Log"
66TEST_NAME = "test1"
7+
8+ T32_APP_CMM_PATH = r"T:\\barkristal\DVF101\SPI\scripts\dvf101_app.cmm"
79#################################################################
810
911execfile (r"C:\Users\bar.kristal\Documents\GitHub\Python\init.py" )
3739########################
3840## Excel:
3941
40- # wb1, full_path = create_excel_file(Dir_Name, Excel_Log_Name" )
42+ # wb1, full_path = create_excel_file(DIR_NAME, LOG_NAME_EXCEL )
4143# ws1 = wb1.create_sheet("new sheet is the new shit!")
4244# ws1.cell(row=1,column=1).value="write something"
4345# wb1.save(full_path)
4850########################
4951## Power Supply:
5052
51- # pwr_sply = QL355TPPwrSply('GPIB0::29::INSTR', RESOURCE_MANAGER)
53+ # pwr_sply = QL355TPPwrSply(POWER_SUPLLY_ADDRESS, RESOURCE_MANAGER)
5254# print pwr_sply.name
53- # pwr_sply.set_volt(1,5)
55+ # pwr_sply.channel_on('1')
56+ # pwr_sply.set_volt(1,4.3)
5457# pwr_sply.read_current(1)
5558# pwr_sply.sense(2,1)
56- # pwr_sply.channel_on('1')
59+ #
60+ # pwr_sply.set_current_lim(1,1.32)
5761# pwr_sply.close()
5862
5963########################
9599########################
96100## Blue oven:
97101
98- # termotron = Termotron3800(TERMOTRON_TCP_IP)
99- # termotron.stop_chamber()
100- # termotron.set_temp(23)
101- # termotron.wait_for_temp(29)
102- # print termotron.read_temp()
103- # time.sleep(3)
104- # termotron.stop_chamber()
102+ termotron = Termotron3800 (TERMOTRON_TCP_IP )
103+ termotron .stop_chamber ()
104+ termotron .set_temp (23 )
105+ termotron .wait_for_temp (29 )
106+ print termotron .read_temp ()
107+ time .sleep (3 )
108+ termotron .stop_chamber ()
0 commit comments