Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/PyFMI-1.4/src/common/plotting/plot_gui.py   PyFMI(Download)
except ImportError:
    try:
        from pyfmi.common.io import ResultDymolaTextual
        from pyfmi.common.io import ResultDymolaBinary
        from pyfmi.common.io import JIOError
                if n.lower().endswith(".txt"): #Textual file
                    try:
                        self.ResultFiles.append((n,ResultDymolaTextual(O.path.join(dlg.GetDirectory(),n))))
                    except JIOError:
                        self.SetStatusText("Could not load "+n+".") #Change the statusbar

src/p/y/PyFMI-1.4/src/pyfmi/fmi_algorithm_drivers.py   PyFMI(Download)
import pyfmi.fmi as fmi
from pyfmi.common.algorithm_drivers import AlgorithmBase, AssimuloSimResult, OptionBase, InvalidAlgorithmOptionException, InvalidSolverArgumentException, JMResultBase
from pyfmi.common.io import ResultDymolaTextual, ResultHandlerFile, ResultHandlerMemory, ResultHandler
from pyfmi.common.core import TrajectoryLinearInterpolation
from pyfmi.common.core import TrajectoryUserFunction
            write_data(self.simulator,self.write_scaled_result, self.result_file_name)
        # load result file
        res = ResultDymolaTextual(self.result_file_name)
        # create and return result object
        return FMIResult(self.model, self.result_file_name, self.simulator,