Beispiel #1
0
 public string MyMakeStr(byte[] b)
 {
     //string s="";
     //SuperCom.CopyByteArrayToString(ref s, b);
     //return s;
     return(SuperCom.CopyZeroTerminatedBufferToString(b));
 }
Beispiel #2
0
        public String HNGetLastError()
        {
            short wErrorLen;

            byte[] szErrorText = new byte[128];
            szErrorText[0] = 0;
            wErrorLen      = 0;

            SuperCom.PLSV2.Heidenhain.HN_GetLastError(CommId, szErrorText, ref wErrorLen);
            return(SuperCom.CopyZeroTerminatedBufferToString(szErrorText));
        }