exopy_hqc_legacy/instruments/starters/legacy_starter.py
def format_connection_infos(self, infos):
        """Use pyvisa to build the canonical resource name.

        """
        from pyvisa.rname import assemble_canonical_name
        infos = {k: v for k, v in infos.items() if v}
        if 'resource_name' in infos:
            return {'resource_name': infos['resource_name']}
        else:
            return {'resource_name': assemble_canonical_name(**infos)}
Use pyvisa to build the canonical resource name.

        
Use pyvisa to build the canonical resource name.
Use pyvisa to build the canonical resource name .
def format_connection_infos(self, infos):
        from pyvisa.rname import assemble_canonical_name
        infos = {k: v for k, v in infos.items() if v}
        if 'resource_name' in infos:
            return {'resource_name': infos['resource_name']}
        else:
            return {'resource_name': assemble_canonical_name(**infos)}
def format_connection_infos ( self , infos ) : from pyvisa . rname import assemble_canonical_name infos = { k : v for k , v in infos . items ( ) if v } if 'resource_name' in infos : return { 'resource_name' : infos [ 'resource_name' ] } else : return { 'resource_name' : assemble_canonical_name ( ** infos ) }
Use pyvisa to build the canonical resource name.
Use pyvisa to build the canonical resource name .
"""Use pyvisa to build the canonical resource name.

        """
self
infos