NOT IMPLEMENTED YET
    tries to instantiate all the instruments that are imported in /instruments/__init__.py
    and the probes of each instrument that could be instantiated into a .b26 file in the folder path
    Args:
        path: target path for .b26 files

def export_default_probes(path, module_name = '', raise_errors = False):
    """
    NOT IMPLEMENTED YET
    tries to instantiate all the instruments that are imported in /instruments/__init__.py
    and the probes of each instrument that could be instantiated into a .b26 file in the folder path
    Args:
        path: target path for .b26 files
    """

    raise NotImplementedError


    import b26_toolkit.b26_toolkit.instruments as instruments
    from pylabcontrol.core import Probe

    for name, obj in inspect.getmembers(instruments):

        if inspect.isclass(obj):

            try:
                instrument = obj()
                print(('--- created ', obj.__name__, ' -- '))
                for probe_name, probe_info in instrument._PROBES.items():
                    probe = Probe(instrument, probe_name, info = probe_info)
                    filename = os.path.join(path, '{:s}.b26'.format(instrument.name))
                    probe.save(filename)
            except:
                print(('failed to create probe file for: {:s}'.format(obj.__name__)))
                print(('failed to create probe file for: {:s}'.format(obj.__name__)))