def serial_get(self):
frmwk_c1218_settings = {<EOL>'<STR_LIT>': self.advanced_options['<STR_LIT>'],<EOL>'<STR_LIT>': self.advanced_options['<STR_LIT>']<EOL>}<EOL>frmwk_serial_settings = termineter.utilities.get_default_serial_settings()<EOL>frmwk_serial_settings['<STR_LIT>'] = self.advanced_options['<STR_LIT>']<EOL>frmwk_serial_settings['<STR_LIT>'] = self.advanced_options['<STR_LIT>']<EOL>frmwk_serial_settings['<STR_LIT>'] = self.advanced_options['<STR_LIT>']<EOL>self.logger.info('<STR_LIT>' + self.options['<STR_LIT>'])<EOL>try:<EOL><INDENT>self.serial_connection = c1218.connection.Connection(self.options['<STR_LIT>'], c1218_settings=frmwk_c1218_settings, serial_settings=frmwk_serial_settings, enable_cache=self.advanced_options['<STR_LIT>'])<EOL><DEDENT>except Exception as error:<EOL><INDENT>self.logger.error('<STR_LIT>')<EOL>raise error<EOL><DEDENT>return self.serial_connection<EOL>
Create the serial connection from the framework settings and return
it, setting the framework instance in the process.