Created
March 4, 2020 15:53
-
-
Save bbarad/f4e8e9efd792be4025cecf458d0c7ed3 to your computer and use it in GitHub Desktop.
Automate GIS Application Time for Cryo FIB Milling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autoscript_sdb_microscope_client import SdbMicroscopeClient | |
import time | |
ip_address = '192.168.0.1' # depends on system setup | |
open_time = 1.5 # seconds | |
microscope = SdbMicroscopeClient() | |
microscope.connect(ip_address) | |
gis_port = microscope.gas.get_gis_port("Pt dep") | |
print(gis_port.get_temperature()) | |
gis_port.open() | |
time.sleep(open_time) | |
gis_port.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment