private string GetFeedBack() { Feedback.Remove(0, Feedback.Length); Thread.Sleep(500); Visa32.viScanf(Vi, "%t", Feedback); return(Feedback.ToString()); }
public int GetVi() { Visa32.viGetDefaultRM(out int defrm); ErrorStatus = Visa32.viOpen(defrm, Address, 1, 3000, out Vi); if (ErrorStatus != 0) { return(0); } return(Vi); }
public string GetCmwInfo() { Visa32.viPrintf(Vi, "*IDN?" + System.Environment.NewLine); return(GetFeedBack()); }