6 require "./hitachicontrol"
11 @@vem = VEM.create("hitachi")
19 @@vem.set_stageA(3, 0, 0, 0)
23 @@vem.set_stageR(1, 0, 0, 0)
26 def test_set_spotsizeA
27 @@vem.set_spotsizeA(10)
30 def test_set_spotsizeR
31 @@vem.set_spotsizeR(1)
34 def test_set_magnificationR
35 puts @@vem.set_magnificationR(1)
38 def test_set_image_beam_shift
39 puts @@vem.set_image_beam_shift(1, 0)
43 puts @@vem.set_focus(0)
47 puts @@vem.set_defocusR(1)
50 def test_set_reset_defocus
51 puts @@vem.set_reset_defocus
54 def test_set_condenser_stg
55 puts @@vem.set_condenser_stg(0, 0)
58 def test_set_object_stg
59 puts @@vem.set_object_stg(0, 0)
64 @@vem.acquisition_init(4, 0.07, 0)
75 #test.test_set_magnificationR
81 test.test_set_spotsizeA
82 test.test_set_spotsizeR
89 #test.test_set_magnificationR
90 #test.test_set_image_beam_shift
92 #test.test_set_defocusR
93 #test.test_set_reset_defocus
94 #test.test_set_condenser_stg
95 #test.test_set_object_stg