Skip to content

Instantly share code, notes, and snippets.

@bbarad
Created March 4, 2020 15:53
Show Gist options
  • Save bbarad/f4e8e9efd792be4025cecf458d0c7ed3 to your computer and use it in GitHub Desktop.
Save bbarad/f4e8e9efd792be4025cecf458d0c7ed3 to your computer and use it in GitHub Desktop.
Automate GIS Application Time for Cryo FIB Milling
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