Using gnuplot in tikzpicture environment using pgf-package

It´s been at while but i couldn´t find the time untill now. So here ist what i have done to solve my problem.

Example

\documentclass [12pt, a4paper, headinclude, titlepage]{scrartcl}                
\usepackage[ngerman]{babel}                                                     
\usepackage[fixlanguage]{babelbib}
\selectbiblanguage{german}
\usepackage[utf8]{inputenc}                                                     
\usepackage[T1]{fontenc}    
\usepackage[a4paper]{geometry}                                                                                                                                                  
\usepackage[fleqn]{amsmath}                                                                                                                 
\usepackage{pgfplots}                                                           
\usepackage{pgf}
\usepackage{tikz}                                                               
\usepackage{float}                                                              

\pgfplotsset{width=7cm, compat=newest}

\begin{document}
\begin{figure}[H] 
\centering
\begin{tikzpicture}
 \begin{axis}
     [  ylabel=$\kappa$ / (S/m) , xlabel=c / (mol/m$^3$), title=\textbf{c gegen $\kappa$}, 
        xmin=0, xmax=130,
        ymin=0,  ymax=0.3,
        width=0.6\textwidth, height=0.45\textwidth, x axis line style={-}, y axis line                     style={-},
      ]     
         \addplot [only marks, gray, raw gnuplot, id=raw3] function{plot 'Daten.txt' u 1:2};
             \addplot [orange, dashed, raw gnuplot, id=raw3] function{plot 'ber.txt' u 1:3};
     \end{axis} 
\end{tikzpicture}
\caption{Auftragung der Messwerte c gegen $\kappa$ (grau) und der berechneten Werte (orange)}
\end{figure}
\end{document}

My configurations: - Gnuplot and LaTeX installed - path variable checked (windows) - included "-shell-escape" in the pdfLaTeX option (easy in texstudio) - ensured that the name of the texfile includes no space, umlauts or other special characters; otherwise the .table file is not created. - If the memory of LaTeX is exceeded, swaped the plot in an extra file and included it in the main file

Run pdfLaTeX twice and voila there should be a plot like the one below.

Here is the plot: plot createt with gnuplot in latex