def scanRoutine(): "This is the scan routine" # Print scan info pvscan.printScanInfo(exp, exp.scanpvs) pvscan.printMsg('Starting') sleep(0.5) # Collect some initial data first # Scan delay stage and grab images... pvscan.pvNDScan(exp, exp.scanpvs, exp.grabber, exp.shutters)
def scanRoutine(): "This is the scan routine" # Print scan info pvscan.printScanInfo(exp1,scanPv1,scanPv2) pvscan.printMsg('Starting') # Open all shutters, but only if enabled from PV. shutterGroup1.open() # Do WDM PV Scan wdmScan(exp1,scanPv1,scanPv2,scanPv3,scanPv4,grab2) # Close all shutters, but only if enabled from PV. shutterGroup1.close(0)
def scanRoutine(): "This is the scan routine" # Print scan info pvscan.printScanInfo(exp1, scanPv1, scanPv2) pvscan.printMsg('Starting') # Open all shutters, but only if enabled from PV. shutterGroup1.open() # Do WDM PV Scan wdmScan(exp1, scanPv1, scanPv2, scanPv3, scanPv4, grab2) # Close all shutters, but only if enabled from PV. shutterGroup1.close(0)
def scanRoutine(): "This is the scan routine" # Print scan info pvscan.printScanInfo(exp1,scanPv1,scanPv2) pvscan.printMsg('Starting') sleep(0.5) # Collect some initial data first # Open all shutters, but only if enabled from PV. shutterGroup1.open() #shutter1.openCheck() # Scan delay stage and grab images... pvscan.pvNDScan(exp1,scanPv1,scanPv2,grab1,shutter1,shutter2,shutter3) # Close all shutters, but only if enabled from PV. shutterGroup1.close(0)