internal static string GetResultFilePath(string bstInstKey)
        {
            ConnectToAcqClient();
            var status = acqClient.GetSequenceData(bstInstKey, (int)PnwSeqDataTypes.ePnwSeqDataParams, ref data);

            //var result =
            //@"\u0001 D:\\GC_Data\\Sequence\\20171221.seq\u0001\0\0\0$D:\\GC_Data\\Method\\Herman\\H2S+CH4.mthHD:\\GC_Data\\Data\\Wanghao\\Mo catalyst\\alumina cluster\\molar ratio CH4\\1-4\\HF:\\GC_Data\\Data\\Result\\\f20171221_###\0\0\0\u0001\amanager\u0001\0\0\0\u0001\0\0\0\0/\0\0\0\0\0\0?\u001e;Z\u0006\u001f;Z\0\0\0\0";
            //@"\u00010D:\\GC_Data\\Sequence\\20171221-20171221-230634.seq\u0001\0\0\0%D:\\GC_Data\\Method\\Herman\\shutdown.mth\u0010D:\\GC_Data\\Data\\\u0010D:\\GC_Data\\Data\\\f20171221_###\0\0\0\u0001\amanager\u0001\0\0\0\u0001\0\0\0\0\0\0\0\0\0\0\0??;Z??;Z\0\0\0\0"
            //@"\u0001\"D:\\GC_Data\\Sequence\\2017-12-22.seq\u0001\0\0\0$D:\\GC_Data\\Method\\Herman\\H2S+CH4.mth\u0010D:\\GC_Data\\Data\\\u0010D:\\GC_Data\\Data\\\n2017-12-22\0\0\0\u0001\amanager\u0001\0\0\0\u0001\0\0\0\0\0\0\0\0\0\0\0?`<Z?`<Z\0\0\0\0"
            var          resultstring = System.Text.Encoding.ASCII.GetString((byte[])data);
            const string pattern      = @"^.*\.mth.*(?<RawFile>\w{1}:[^:]*)(?<ResultFile>\w{1}:.*)\\f.*$";

            regex = new Regex(pattern);
            var    match = regex.Match(resultstring);
            string path  = match.Groups["ResultFile"].Value;

            return(match.Groups["ResultFile"].Value);
        }
        internal static string GetResultFilePath(string bstInstKey)
        {
            ConnectToAcqClient();

            log.Debug("InstrumentKey: " + bstInstKey);
            log.Debug("DataToGet: " + PnwSeqDataTypes.ePnwSeqDataAll + "  " + (int)PnwSeqDataTypes.ePnwSeqDataAll);

            var status       = _acqClient.GetSequenceData(bstInstKey, (int)PnwSeqDataTypes.ePnwSeqDataAll, ref _data);
            var resultstring = Encoding.ASCII.GetString((byte[])_data);

            log.Debug("ResultFilePathStatus=" + status);
            log.Debug("ResultFilePathRetriveString=" + resultstring);

            //var seq = BytesToStruct((byte[])data,typeof( PnwSeqDataPub));
            const string pattern = @"mth.*?(?<RawFile>\w{1}:[^:]*)(?<ResultFile>\w{1}:([\w\d\\\s`\!\@\#\$\%\^\&\*\+\-=_\./]+))";

            _regex = new Regex(pattern);
            var match = _regex.Match(resultstring);

            return(match.Groups["ResultFile"].Value);
        }