pysilcam/config.py
def updatePathLength(settings, logger):
    '''Adjusts the path length of systems with the actuator installed and RS232
    connected.

    Args:
        settings (PySilcamSettings): Settings read from a .ini file
                                     settings.logfile is optional
                                     settings.loglevel mest exist
        logger (logger object)     : logger object created using
                                     configure_logger()
    '''
    try:
        logger.info('Updating path length')
        pl = scog.PathLength(settings.PostProcess.com_port)
        pl.gap_to_mm(settings.PostProcess.path_length)
        pl.finish()
    except:
        logger.warning('Could not open port. Path length will not be adjusted.')
Adjusts the path length of systems with the actuator installed and RS232
    connected.

    Args:
        settings (PySilcamSettings): Settings read from a .ini file
                                     settings.logfile is optional
                                     settings.loglevel mest exist
        logger (logger object)     : logger object created using
                                     configure_logger()
    
Adjusts the path length of systems with the actuator installed and RS232
connected.
Adjusts the path length of systems with the actuator installed and RS232 connected .
def updatePathLength(settings, logger):
    try:
        logger.info('Updating path length')
        pl = scog.PathLength(settings.PostProcess.com_port)
        pl.gap_to_mm(settings.PostProcess.path_length)
        pl.finish()
    except:
        logger.warning('Could not open port. Path length will not be adjusted.')
def updatePathLength ( settings , logger ) : try : logger . info ( 'Updating path length' ) pl = scog . PathLength ( settings . PostProcess . com_port ) pl . gap_to_mm ( settings . PostProcess . path_length ) pl . finish ( ) except : logger . warning ( 'Could not open port. Path length will not be adjusted.' )
Adjusts the path length of systems with the actuator installed and RS232
connected.
Adjusts the path length of systems with the actuator installed and RS232 connected .
'''Adjusts the path length of systems with the actuator installed and RS232
    connected.

    Args:
        settings (PySilcamSettings): Settings read from a .ini file
                                     settings.logfile is optional
                                     settings.loglevel mest exist
        logger (logger object)     : logger object created using
                                     configure_logger()
    '''
settings
Settings read from a .ini file
settings.logfile is optional
settings.loglevel mest exist
Settings read from a . ini file settings . logfile is optional settings . loglevel mest exist
logger
logger object created using
configure_logger()
logger object created using configure_logger ()