diff --git a/.gitattributes b/.gitattributes index cff89c9..5c7e1a8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -578,5 +578,19 @@ /Figures/Co_Mo_phasediagram_davydovThermodynamicAssessmentCoMo1999.png filter=lfs diff=lfs merge=lfs -text /Thesis.bbl-SAVE-ERROR filter=lfs diff=lfs merge=lfs -text /Electrochemical/HIPed_Stellite1_EIS_LPR/test_ReStart_ReStart_ReStart_ReStart.cor filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/C\#实例/TestLib/.vs/TestLib/v16/Browse.VC.db filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/C\#实例/TestLib/bin/Debug/GraphControl.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/C\#实例/TestLib/bin/Release/GraphControl.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/C\#实例/TestLib/lib/GraphControl.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/C\#实例/TestLib2/bin/Debug/GraphControl.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/C\#实例/TestLib2/lib/GraphControl.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/CSStudio6Lib.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/64/CSStudio6Lib.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib接口说明书.docx filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/cv.png filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/swv.png filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/CSStudio6Lib.dll filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/TestLibForVC.exe filter=lfs diff=lfs merge=lfs -text +/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.aps filter=lfs diff=lfs merge=lfs -text *.jp*g filter=lfs diff=lfs merge=lfs -text *.tif filter=lfs diff=lfs merge=lfs -text diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/.vs/TestLib/v16/.suo b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/.vs/TestLib/v16/.suo new file mode 100644 index 0000000..d92ab0c Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/.vs/TestLib/v16/.suo differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/.vs/TestLib/v16/Browse.VC.db b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/.vs/TestLib/v16/Browse.VC.db new file mode 100644 index 0000000..5270df6 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/.vs/TestLib/v16/Browse.VC.db @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cce9511fdb8f16249c43c58461f8b4dd42846442135fa7d4a544b000b4c1efa +size 331776 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/App.config b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/App.config similarity index 53% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/App.config rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/App.config index 343984d..e707b32 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/App.config +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/App.config @@ -2,5 +2,5 @@ - + diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/CTConvert.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/CTConvert.cs similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/CTConvert.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/CTConvert.cs diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/CorGraph.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/CorGraph.cs similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/CorGraph.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/CorGraph.cs diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.Designer.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.Designer.cs new file mode 100644 index 0000000..9800eba --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.Designer.cs @@ -0,0 +1,349 @@ +namespace TestLib +{ + partial class MainForm + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要修改 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.btnSreach = new System.Windows.Forms.Button(); + this.btnOcp = new System.Windows.Forms.Button(); + this.lblTime = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.txtTime = new System.Windows.Forms.TextBox(); + this.txtE1 = new System.Windows.Forms.TextBox(); + this.txtE2 = new System.Windows.Forms.TextBox(); + this.txtE3 = new System.Windows.Forms.TextBox(); + this.txtE4 = new System.Windows.Forms.TextBox(); + this.txtE5 = new System.Windows.Forms.TextBox(); + this.txtFreq = new System.Windows.Forms.TextBox(); + this.btnStop = new System.Windows.Forms.Button(); + this.pnlGraph = new System.Windows.Forms.Panel(); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.btnPotS = new System.Windows.Forms.Button(); + this.btnGalS = new System.Windows.Forms.Button(); + this.btnLSV = new System.Windows.Forms.Button(); + this.btnCV = new System.Windows.Forms.Button(); + this.btnEis = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // btnSreach + // + this.btnSreach.Location = new System.Drawing.Point(17, 13); + this.btnSreach.Name = "btnSreach"; + this.btnSreach.Size = new System.Drawing.Size(61, 29); + this.btnSreach.TabIndex = 0; + this.btnSreach.Text = "搜索设备"; + this.btnSreach.UseVisualStyleBackColor = true; + this.btnSreach.Click += new System.EventHandler(this.btnSreach_Click); + // + // btnOcp + // + this.btnOcp.Location = new System.Drawing.Point(86, 13); + this.btnOcp.Name = "btnOcp"; + this.btnOcp.Size = new System.Drawing.Size(61, 29); + this.btnOcp.TabIndex = 0; + this.btnOcp.Text = "开路电位"; + this.btnOcp.UseVisualStyleBackColor = true; + this.btnOcp.Click += new System.EventHandler(this.btnOcp_Click); + // + // lblTime + // + this.lblTime.AutoSize = true; + this.lblTime.Location = new System.Drawing.Point(20, 64); + this.lblTime.Name = "lblTime"; + this.lblTime.Size = new System.Drawing.Size(35, 12); + this.lblTime.TabIndex = 1; + this.lblTime.Text = "时长:"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(107, 64); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(41, 12); + this.label1.TabIndex = 1; + this.label1.Text = "电位1:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(200, 64); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(41, 12); + this.label2.TabIndex = 1; + this.label2.Text = "电位2:"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(293, 64); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(41, 12); + this.label3.TabIndex = 1; + this.label3.Text = "电位3:"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(386, 64); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(41, 12); + this.label4.TabIndex = 1; + this.label4.Text = "电位4:"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(479, 64); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(59, 12); + this.label5.TabIndex = 1; + this.label5.Text = "电位变化:"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(590, 64); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(35, 12); + this.label6.TabIndex = 1; + this.label6.Text = "采样:"; + // + // txtTime + // + this.txtTime.Location = new System.Drawing.Point(20, 84); + this.txtTime.Name = "txtTime"; + this.txtTime.Size = new System.Drawing.Size(67, 21); + this.txtTime.TabIndex = 2; + this.txtTime.Text = "100"; + // + // txtE1 + // + this.txtE1.Location = new System.Drawing.Point(107, 84); + this.txtE1.Name = "txtE1"; + this.txtE1.Size = new System.Drawing.Size(67, 21); + this.txtE1.TabIndex = 2; + this.txtE1.Text = "0.1"; + // + // txtE2 + // + this.txtE2.Location = new System.Drawing.Point(200, 84); + this.txtE2.Name = "txtE2"; + this.txtE2.Size = new System.Drawing.Size(67, 21); + this.txtE2.TabIndex = 2; + this.txtE2.Text = "-0.5"; + // + // txtE3 + // + this.txtE3.Location = new System.Drawing.Point(293, 84); + this.txtE3.Name = "txtE3"; + this.txtE3.Size = new System.Drawing.Size(67, 21); + this.txtE3.TabIndex = 2; + this.txtE3.Text = "0.2"; + // + // txtE4 + // + this.txtE4.Location = new System.Drawing.Point(386, 84); + this.txtE4.Name = "txtE4"; + this.txtE4.Size = new System.Drawing.Size(67, 21); + this.txtE4.TabIndex = 2; + this.txtE4.Text = "0.6"; + // + // txtE5 + // + this.txtE5.Location = new System.Drawing.Point(479, 84); + this.txtE5.Name = "txtE5"; + this.txtE5.Size = new System.Drawing.Size(67, 21); + this.txtE5.TabIndex = 2; + this.txtE5.Text = "10"; + // + // txtFreq + // + this.txtFreq.Location = new System.Drawing.Point(590, 84); + this.txtFreq.Name = "txtFreq"; + this.txtFreq.Size = new System.Drawing.Size(67, 21); + this.txtFreq.TabIndex = 2; + this.txtFreq.Text = "10"; + // + // btnStop + // + this.btnStop.Location = new System.Drawing.Point(651, 13); + this.btnStop.Name = "btnStop"; + this.btnStop.Size = new System.Drawing.Size(83, 29); + this.btnStop.TabIndex = 0; + this.btnStop.Text = "停止"; + this.btnStop.UseVisualStyleBackColor = true; + this.btnStop.Click += new System.EventHandler(this.btnStop_Click); + // + // pnlGraph + // + this.pnlGraph.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnlGraph.Location = new System.Drawing.Point(6, 112); + this.pnlGraph.Name = "pnlGraph"; + this.pnlGraph.Size = new System.Drawing.Size(742, 463); + this.pnlGraph.TabIndex = 3; + this.pnlGraph.SizeChanged += new System.EventHandler(this.pnlGraph_SizeChanged); + // + // timer1 + // + this.timer1.Interval = 1000; + this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + // + // btnPotS + // + this.btnPotS.Location = new System.Drawing.Point(156, 12); + this.btnPotS.Name = "btnPotS"; + this.btnPotS.Size = new System.Drawing.Size(51, 29); + this.btnPotS.TabIndex = 0; + this.btnPotS.Text = "恒电位"; + this.btnPotS.UseVisualStyleBackColor = true; + this.btnPotS.Click += new System.EventHandler(this.btnPotS_Click); + // + // btnGalS + // + this.btnGalS.Location = new System.Drawing.Point(214, 13); + this.btnGalS.Name = "btnGalS"; + this.btnGalS.Size = new System.Drawing.Size(51, 29); + this.btnGalS.TabIndex = 0; + this.btnGalS.Text = "恒电流"; + this.btnGalS.UseVisualStyleBackColor = true; + this.btnGalS.Click += new System.EventHandler(this.btnGalS_Click); + // + // btnLSV + // + this.btnLSV.Location = new System.Drawing.Point(271, 12); + this.btnLSV.Name = "btnLSV"; + this.btnLSV.Size = new System.Drawing.Size(51, 29); + this.btnLSV.TabIndex = 0; + this.btnLSV.Text = "LSV"; + this.btnLSV.UseVisualStyleBackColor = true; + this.btnLSV.Click += new System.EventHandler(this.btnLSV_Click); + // + // btnCV + // + this.btnCV.Location = new System.Drawing.Point(328, 13); + this.btnCV.Name = "btnCV"; + this.btnCV.Size = new System.Drawing.Size(51, 29); + this.btnCV.TabIndex = 0; + this.btnCV.Text = "CV"; + this.btnCV.UseVisualStyleBackColor = true; + this.btnCV.Click += new System.EventHandler(this.btnCV_Click); + // + // btnEis + // + this.btnEis.Location = new System.Drawing.Point(388, 12); + this.btnEis.Name = "btnEis"; + this.btnEis.Size = new System.Drawing.Size(51, 29); + this.btnEis.TabIndex = 0; + this.btnEis.Text = "EIS"; + this.btnEis.UseVisualStyleBackColor = true; + this.btnEis.Click += new System.EventHandler(this.btnEis_Click); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(445, 13); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(51, 29); + this.button1.TabIndex = 0; + this.button1.Text = "阶梯波"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(749, 574); + this.Controls.Add(this.pnlGraph); + this.Controls.Add(this.txtFreq); + this.Controls.Add(this.txtE5); + this.Controls.Add(this.txtE4); + this.Controls.Add(this.txtE3); + this.Controls.Add(this.txtE2); + this.Controls.Add(this.txtE1); + this.Controls.Add(this.txtTime); + this.Controls.Add(this.label6); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.lblTime); + this.Controls.Add(this.btnStop); + this.Controls.Add(this.btnEis); + this.Controls.Add(this.button1); + this.Controls.Add(this.btnCV); + this.Controls.Add(this.btnLSV); + this.Controls.Add(this.btnGalS); + this.Controls.Add(this.btnPotS); + this.Controls.Add(this.btnOcp); + this.Controls.Add(this.btnSreach); + this.Name = "MainForm"; + this.Text = "测试程序"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button btnSreach; + private System.Windows.Forms.Button btnOcp; + private System.Windows.Forms.Label lblTime; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox txtTime; + private System.Windows.Forms.TextBox txtE1; + private System.Windows.Forms.TextBox txtE2; + private System.Windows.Forms.TextBox txtE3; + private System.Windows.Forms.TextBox txtE4; + private System.Windows.Forms.TextBox txtE5; + private System.Windows.Forms.TextBox txtFreq; + private System.Windows.Forms.Button btnStop; + private System.Windows.Forms.Panel pnlGraph; + private System.Windows.Forms.Timer timer1; + private System.Windows.Forms.Button btnPotS; + private System.Windows.Forms.Button btnGalS; + private System.Windows.Forms.Button btnLSV; + private System.Windows.Forms.Button btnCV; + private System.Windows.Forms.Button btnEis; + private System.Windows.Forms.Button button1; + } +} + diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.cs new file mode 100644 index 0000000..176c439 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.cs @@ -0,0 +1,295 @@ +using CSStudio6Lib; +using GraphControl; +using GraphControl.GraphElements; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading; +using System.Windows.Forms; + +namespace TestLib +{ + public partial class MainForm : Form + { + private ICSStudio6 m_spDev = new CSStudio6(); + CSStudio6Class + public Graph graph = new Graph(); + private GraphLine line1 = null; + public Graph graph2 = new Graph(); + private GraphLine line2 = null; + public MainForm() + { + InitializeComponent(); + + string sVer = m_spDev.GetLibVersion(); + + InitGraph(); + } + + + private void InitGraph() + { + graph.offsetLeft = 80; + graph.offsetRight = 20; + graph.offsetTop = 20; + graph.offsetBottom = 50; + graph.IsDrawCursor = true; + graph.Dock = DockStyle.Fill; + graph.YAxisTitleColor = Color.Red; + line1 = new GraphLine(AxisAssosiatedType.Left); + line1.lineColor = Color.Red; + line1.markColor = Color.Red; + line1.markStyle = PointStyle.cycle_empty; + graph.YAxisTitle = line1.Name = line1.legend = "电位(V)"; + graph.XAxisTitle = "Time/s"; + line1.IsDrawLengend = false; + graph.AxisManager.IsAutoAll = true; + graph.AxisManager.IsShowXGrid = graph.AxisManager.IsShowYGrid = true; + graph.AxisManager.YAxisColor = line1.lineColor; + graph.AddNewGraphElement(line1); + graph.SetActiveElement(line1.Name); + graph.AxisManager.Axises[0].MinValue = 0; + + graph2.offsetLeft = 80; + graph2.offsetRight = 20; + graph2.offsetTop = 20; + graph2.offsetBottom = 50; + graph2.IsDrawCursor = true; + graph2.Dock = DockStyle.Fill; + graph2.YAxisTitleColor = Color.Red; + line2 = new GraphLine(AxisAssosiatedType.Left); + line2.lineColor = Color.Red; + line2.markColor = Color.Red; + line2.markStyle = PointStyle.cycle_empty; + graph2.YAxisTitle = line2.Name = line2.legend = "电流(A)"; + graph2.XAxisTitle = "Time/s"; + line2.IsDrawLengend = false; + graph2.AxisManager.IsAutoAll = true; + graph2.AxisManager.IsShowXGrid = graph2.AxisManager.IsShowYGrid = true; + graph2.AxisManager.YAxisColor = line2.lineColor; + graph2.AddNewGraphElement(line2); + graph2.SetActiveElement(line2.Name); + graph2.AxisManager.Axises[0].MinValue = 0; + + pnlGraph.Controls.Add(graph); + pnlGraph.Controls.Add(graph2); + + pnlGraph_SizeChanged(null, null); + } + + private void btnSreach_Click(object sender, EventArgs e) + { + if (!m_spDev.FindDeviceInCom()) + { + return; + } + Text = m_spDev.GetSerialNumber(); + } + + private void btnOcp_Click(object sender, EventArgs e) + { + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + //m_spDev.SetOcpParams(60,50); + //m_spDev.DeviceStart(); + DateTime dtStart = DateTime.Now; + //Console.WriteLine("60s 50Hz 测试开始:"+ dtStart.ToString("HH:mm:ss:fff") + " 数据量:"+m_spDev.GetValuesCount()); + //while(!m_spDev.ExpIsEnd()) + //{ + // Thread.Sleep(10); + //} + //Console.WriteLine("60s 50Hz 测试结束:" + DateTime.Now.ToString("HH:mm:ss:fff") + " 数据量:" + m_spDev.GetValuesCount()); + //Console.WriteLine("时长:" + (DateTime.Now - dtStart).TotalSeconds.ToString("f4") + "s"); + + //m_spDev.SetOcpParams(60, 100); + //m_spDev.DeviceStart(); + //dtStart = DateTime.Now; + //Console.WriteLine("60s 100Hz 测试开始:" + dtStart.ToString("HH:mm:ss:fff") + " 数据量:" + m_spDev.GetValuesCount()); + //while (!m_spDev.ExpIsEnd()) + //{ + // Thread.Sleep(10); + //} + //Console.WriteLine("60s 100Hz 测试结束:" + DateTime.Now.ToString("HH:mm:ss:fff") + " 数据量:" + m_spDev.GetValuesCount()); + //Console.WriteLine("时长:" + (DateTime.Now - dtStart).TotalSeconds.ToString("f4") + "s"); + + m_spDev.SetOcpParams(60,2000); + m_spDev.DeviceStart(); + dtStart = DateTime.Now; + Console.WriteLine("60s 2000Hz 测试开始:" + dtStart.ToString("HH:mm:ss:fff") + " 数据量:" + m_spDev.GetValuesCount()); + while (!m_spDev.ExpIsEnd()) + { + Thread.Sleep(10); + } + Console.WriteLine("60s 2000Hz 测试结束:" + DateTime.Now.ToString("HH:mm:ss:fff") + " 数据量:" + m_spDev.GetValuesCount()); + Console.WriteLine("时长:" + (DateTime.Now - dtStart).TotalSeconds.ToString("f4") + "s"); + + //m_spDev.SetOcpParams(100, 60); + //m_spDev.DeviceStart(); + //dtStart = DateTime.Now; + //Console.WriteLine("100s 60Hz 测试开始:" + dtStart.ToString("HH:mm:ss:fff") + " 数据量:" + m_spDev.GetValuesCount()); + //while (!m_spDev.ExpIsEnd()) + //{ + // Thread.Sleep(10); + //} + //Console.WriteLine("100s 60Hz 测试结束:" + DateTime.Now.ToString("HH:mm:ss:fff") + " 数据量:" + m_spDev.GetValuesCount()); + //Console.WriteLine("时长:" + (DateTime.Now - dtStart).TotalSeconds.ToString("f4") + "s"); + } + + + private object m_objLock = new object(); + private void Clear() + { + if (line1 == null) return; + + lock(m_objLock) + { + line1.Clear(); + line2.Clear(); + } + this.graph.Invalidate(); + this.graph2.Invalidate(); + } + + private void btnStop_Click(object sender, EventArgs e) + { + if (!m_spDev.DeviceIsOpen()) return; + + m_spDev.DeviceStop(); + timer1.Stop(); + + m_bIsEis = false; + } + + private void pnlGraph_SizeChanged(object sender, EventArgs e) + { + int nWidth = pnlGraph.Width; + int nHeith = pnlGraph.Height; + + if (this.graph == null) return; + + this.graph.Dock = DockStyle.None; + this.graph2.Dock = DockStyle.None; + + this.graph.Location = new Point(0, 0); + this.graph.Size = new Size(nWidth, nHeith / 2); + + this.graph2.Location = new Point(0, nHeith / 2 + 0); + this.graph2.Size = new Size(nWidth, nHeith / 2); + this.graph.Invalidate(); + this.graph2.Invalidate(); + } + + private void timer1_Tick(object sender, EventArgs e) + { + if (m_spDev == null || m_spDev.DeviceIsOpen() == false) return; + + if(!m_bIsEis) + { + int nCount = m_spDev.GetValuesCount(); + if (nCount <= 0) return; + + object dEs = new object(); + object dIs = new object(); + object dTs = new object(); + m_spDev.GetValues(out dEs, out dIs, out dTs); + + List listE = (dEs as double[]).ToList(); + List listI = (dIs as double[]).ToList(); + List listT = (dTs as double[]).ToList(); + + line1.Add(listT, listE); + line2.Add(listT, listI); + } + else + { + int nCount = m_spDev.GetEisValueCount(); + if (nCount <= 0) return; + + object dEs = new object(); + object dIs = new object(); + object dTs = new object(); + object dZs = new object(); + object dAs = new object(); + m_spDev.GetEisValues(out dEs, out dIs, out dTs,out dZs,out dAs); + + List listE = (dEs as double[]).ToList(); + List listI = (dIs as double[]).ToList(); + List listT = (dTs as double[]).ToList(); + List listA = (dAs as double[]).ToList(); + + line1.Add(listE, listI); + line2.Add(listE, listA); + } + + this.graph.Invalidate(); + this.graph2.Invalidate(); + } + + private void btnPotS_Click(object sender, EventArgs e) + { + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + m_spDev.SetVoltRange(true, 2); + m_spDev.SetPotStaticParams(3, float.Parse(txtE1.Text), float.Parse(txtTime.Text), float.Parse(txtFreq.Text)); + m_spDev.DeviceStart(); + timer1.Start(); + } + + private void btnGalS_Click(object sender, EventArgs e) + { + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + m_spDev.SetGalStaticParams(3, float.Parse(txtE1.Text)/1000, float.Parse(txtTime.Text), float.Parse(txtFreq.Text)); + m_spDev.DeviceStart(); + timer1.Start(); + } + + private void btnLSV_Click(object sender, EventArgs e) + { + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + m_spDev.SetLSVAParams(3, float.Parse(txtE1.Text), float.Parse(txtE4.Text), float.Parse(txtE5.Text)/1000, float.Parse(txtFreq.Text)); + m_spDev.DeviceStart(); + timer1.Start(); + } + + private void btnCV_Click(object sender, EventArgs e) + { + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + //m_spDev.SetIRValue(true, 200); + m_spDev.SetCVParams(3, float.Parse(txtE1.Text), float.Parse(txtE2.Text), float.Parse(txtE3.Text), float.Parse(txtE4.Text), float.Parse(txtE5.Text) / 1000, float.Parse(txtFreq.Text),5); + m_spDev.DeviceStart(); + timer1.Start(); + } + + private bool m_bIsEis = false; + private void btnEis_Click(object sender, EventArgs e) + { + m_bIsEis = true; + + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + float fValue = 0; + m_spDev.GetOcpValue(out fValue); + m_spDev.SetEISVSfrqParams(100000,0.1f,fValue,10,60); + m_spDev.DeviceStart(); + timer1.Start(); + } + + private void button1_Click(object sender, EventArgs e) + { + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + //m_spDev.SetIRValue(true, 200); + m_spDev.SetPotSquareParams(3, 0.1f, 5, 0.2f, 5, 0.3f, 5, 0.4f, 5, 100, 10); + m_spDev.DeviceStart(); + timer1.Start(); + } + } +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.resx b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.resx similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.resx rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/MainForm.resx diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Program.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Program.cs similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Program.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Program.cs diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/AssemblyInfo.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/AssemblyInfo.cs similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/AssemblyInfo.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/AssemblyInfo.cs diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Resources.Designer.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Resources.Designer.cs similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Resources.Designer.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Resources.Designer.cs diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Resources.resx b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Resources.resx similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Resources.resx rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Resources.resx diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Settings.Designer.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Settings.Designer.cs similarity index 97% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Settings.Designer.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Settings.Designer.cs index f6c804f..95dfbb4 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Settings.Designer.cs +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace TestLib.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Settings.settings b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Settings.settings similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/Properties/Settings.settings rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/Properties/Settings.settings diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/TestLib.csproj b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.csproj similarity index 91% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/TestLib.csproj rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.csproj index a52c73a..0e052a9 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/TestLib.csproj +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.csproj @@ -9,7 +9,7 @@ Properties TestLib TestLib - v3.5 + v4.5 512 true @@ -23,6 +23,7 @@ DEBUG;TRACE prompt 4 + false AnyCPU @@ -32,8 +33,13 @@ TRACE prompt 4 + false + + False + lib\GraphControl.dll + @@ -81,15 +87,9 @@ - - - {46e19d3d-816f-4fda-b44e-33c37cde7934} - GraphControl - - - {A6FA3840-0F80-4F1F-8216-01F58F792828} + {56C545EB-986F-4730-997F-A163DB97CE74} 1 0 0 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/TestLib.csproj.user b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.csproj.user similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/TestLib.csproj.user rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.csproj.user diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.sln b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.sln new file mode 100644 index 0000000..5898d92 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/TestLib.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.33927.289 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLib", "TestLib.csproj", "{8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D6D1D1CA-4871-46C5-9686-A09111041D2E} + EndGlobalSection +EndGlobal diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/GraphControl.dll similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.dll rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/GraphControl.dll diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.exe b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.exe new file mode 100644 index 0000000..fe3b841 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.exe differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.exe.config b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.exe.config similarity index 53% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.exe.config rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.exe.config index 343984d..e707b32 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.exe.config +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.exe.config @@ -2,5 +2,5 @@ - + diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.pdb new file mode 100644 index 0000000..1434656 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Debug/TestLib.pdb differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/lib/GraphControl.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/GraphControl.dll similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/lib/GraphControl.dll rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/GraphControl.dll diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/Interop.CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/Interop.CSStudio6Lib.dll new file mode 100644 index 0000000..6c7757e Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/Interop.CSStudio6Lib.dll differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.exe b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/TestLib.exe similarity index 90% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.exe rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/TestLib.exe index a7a8f30..5154765 100644 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.exe and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/TestLib.exe differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.exe.config b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/TestLib.exe.config similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.exe.config rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/bin/Release/TestLib.exe.config diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/lib/GraphControl.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/lib/GraphControl.dll new file mode 100644 index 0000000..1869e8b --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/lib/GraphControl.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35d41867fd368a8a950c6f09c96755cfd954f2a11ae96aed29e846d50e63e47f +size 298496 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/.AssemblyReference.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/.AssemblyReference.cache new file mode 100644 index 0000000..d3a6073 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/.AssemblyReference.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs new file mode 100644 index 0000000..e5dc9b8 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")] diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..42f29e1 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7edd434 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/Interop.CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/Interop.CSStudio6Lib.dll new file mode 100644 index 0000000..daa46b1 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/Interop.CSStudio6Lib.dll differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..3015041 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.MainForm.resources b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.MainForm.resources differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.Properties.Resources.resources b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.Properties.Resources.resources differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.AssemblyReference.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.AssemblyReference.cache new file mode 100644 index 0000000..f5e894a Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.AssemblyReference.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.CopyComplete b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.CoreCompileInputs.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..3a40731 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +5b823f4605e9e6222ea6b0dda7e929f5deb2d669 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.FileListAbsolute.txt b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b210ab4 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.FileListAbsolute.txt @@ -0,0 +1,28 @@ +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Debug\TestLib.exe.config +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Debug\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Debug\TestLib.pdb +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Debug\GraphControl.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\Interop.CSStudio6Lib.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.csproj.ResolveComReference.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.MainForm.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.Properties.Resources.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.csproj.GenerateResource.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.pdb +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.csproj.CoreCompileInputs.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.csproj.CopyComplete +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Debug\TestLib.csproj.AssemblyReference.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\bin\Debug\TestLib.exe.config +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\bin\Debug\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\bin\Debug\TestLib.pdb +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\bin\Debug\GraphControl.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.csproj.AssemblyReference.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\Interop.CSStudio6Lib.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.csproj.ResolveComReference.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.MainForm.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.Properties.Resources.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.csproj.GenerateResource.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.csproj.CoreCompileInputs.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.csproj.CopyComplete +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib\obj\Debug\TestLib.pdb diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.GenerateResource.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.GenerateResource.cache new file mode 100644 index 0000000..068bcbc Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.GenerateResource.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.ResolveComReference.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.ResolveComReference.cache new file mode 100644 index 0000000..31826a3 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.csproj.ResolveComReference.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.exe b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.exe new file mode 100644 index 0000000..fe3b841 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.exe differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.pdb new file mode 100644 index 0000000..1434656 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/TestLib.pdb differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/build.force b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Debug/build.force new file mode 100644 index 0000000..e69de29 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs new file mode 100644 index 0000000..e5dc9b8 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")] diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/DesignTimeResolveAssemblyReferences.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..31d26de Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..6276b15 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/Interop.CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/Interop.CSStudio6Lib.dll new file mode 100644 index 0000000..82a279e Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/Interop.CSStudio6Lib.dll differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TempPE/Properties.Resources.Designer.cs.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..977f6e2 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.MainForm.resources b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.MainForm.resources new file mode 100644 index 0000000..06c24d0 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.MainForm.resources differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.Properties.Resources.resources b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.Properties.Resources.resources new file mode 100644 index 0000000..06c24d0 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.Properties.Resources.resources differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.AssemblyReference.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.AssemblyReference.cache new file mode 100644 index 0000000..6214f14 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.AssemblyReference.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.CopyComplete b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.CoreCompileInputs.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..ae503cd --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +e9181ae1824ebd5fca510c1067f790436894da04 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.FileListAbsolute.txt b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..6b4acac --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.csproj.AssemblyReference.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.csproj.ResolveComReference.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.MainForm.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.Properties.Resources.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.csproj.GenerateResource.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.csproj.CoreCompileInputs.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Release\TestLib.exe.config +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Release\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Release\TestLib.pdb +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Release\GraphControl.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\bin\Release\Interop.CSStudio6Lib.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\Interop.CSStudio6Lib.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.csproj.CopyComplete +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\CSStudio6Lib\TestLib\obj\Release\TestLib.pdb diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.GenerateResource.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.GenerateResource.cache new file mode 100644 index 0000000..1e9f8a4 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.GenerateResource.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.ResolveComReference.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.ResolveComReference.cache new file mode 100644 index 0000000..ce0435b Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csproj.ResolveComReference.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csprojAssemblyReference.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csprojAssemblyReference.cache new file mode 100644 index 0000000..fb34018 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.csprojAssemblyReference.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.exe b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.exe new file mode 100644 index 0000000..5154765 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/TestLib.exe differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/build.force b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib/obj/Release/build.force new file mode 100644 index 0000000..e69de29 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/.vs/TestLib/v16/.suo b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/.vs/TestLib/v16/.suo new file mode 100644 index 0000000..4777564 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/.vs/TestLib/v16/.suo differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/CSStudio6.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/CSStudio6.cs new file mode 100644 index 0000000..8c79ef9 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/CSStudio6.cs @@ -0,0 +1,11 @@ +using System; +using System.Runtime.InteropServices; + +namespace CSStudio6Lib +{ + [CoClass(typeof(CSStudio6Class)), Guid("FD052593-A6E0-4266-B8A8-4715834ADB63")] + [ComImport] + public interface CSStudio6 : ICSStudio6 + { + } +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/CSStudio6Class.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/CSStudio6Class.cs new file mode 100644 index 0000000..7b9fdd9 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/CSStudio6Class.cs @@ -0,0 +1,246 @@ +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace CSStudio6Lib +{ + [ClassInterface(ClassInterfaceType.None), Guid("82423ECF-EFC0-47E0-8AB0-35ADE2CD3EEF"), TypeLibType(TypeLibTypeFlags.FCanCreate)] + [ComImport] + public class CSStudio6Class : ICSStudio6, CSStudio6 + { + [DispId(1)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool FindDevice(); + + [DispId(2)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool FindDeviceInLan(); + + [DispId(3)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool FindDeviceInCom(); + + [DispId(4)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool FindDeviceByName([MarshalAs(UnmanagedType.BStr)] string strName); + + [DispId(5)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool DeviceIsOpen(); + + [DispId(6)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern void DeviceDisconnect(); + + [DispId(7)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool DeviceStart(); + + [DispId(8)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool DeviceStop(); + + [DispId(9)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool DevicePause(); + + [DispId(10)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool DeviceContinue(); + + [DispId(11)] + [MethodImpl(MethodImplOptions.InternalCall)] + [return: MarshalAs(UnmanagedType.BStr)] + public virtual extern string GetLastError(); + + [DispId(12)] + [MethodImpl(MethodImplOptions.InternalCall)] + [return: MarshalAs(UnmanagedType.BStr)] + public virtual extern string GetSerialNumber(); + + [DispId(13)] + [MethodImpl(MethodImplOptions.InternalCall)] + [return: MarshalAs(UnmanagedType.BStr)] + public virtual extern string GetLibVersion(); + + [DispId(14)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetCurrentRange(bool isAutoRange, int nRange, int nMinRange, int nMaxRange, bool isOnlyInc); + + [DispId(15)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetVoltRange(bool isAuto, int nRange); + + [DispId(16)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetGNDMode(bool isVirMode); + + [DispId(17)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetIRValue(bool isEnable, float fValue); + + [DispId(18)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEisFilter(int nHigh, int nMid, int nLow); + + [DispId(19)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetOcpValue(out double ocpValue); + + [DispId(20)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetOcpParams(float fTestTime, float fFreq); + + [DispId(21)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetPotStaticParams(float fWaitTime, float fPotValue, float fTestTime, float fFreq); + + [DispId(22)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetGalStaticParams(float fWaitTime, float fCurrentValue, float fTestTime, float fFreq); + + [DispId(23)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetLSVAParams(float fWaitTime, float fInitE, float fFinalE, float fScanRate, float fFrq); + + [DispId(24)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetCVParams(float fWaitTime, float fInitE, float fStepE1, float fStepE2, float fFinalE, float fScanRate, float fFrq, uint nCycles); + + [DispId(25)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetSCVAParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, uint nCycles, uint nSampleWidth, float fJumpTime); + + [DispId(26)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetSWVAParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fFrequency, uint nSampleWidth); + + [DispId(27)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEISVSfrqParams(float fInitFreq, float fFinalFreq, float fSineBias, float fSineAmp, uint nPoints); + + [DispId(28)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern int GetValuesCount(); + + [DispId(29)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetValue(int nIndex, out double dVoltValue, out double dCurrValue, out double dTimeValue); + + [DispId(30)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetLastValue(out double dVoltValue, out double dCurrValue, out double dTimeValue); + + [DispId(31)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetValues([MarshalAs(UnmanagedType.Struct)] out object dVoltValues, [MarshalAs(UnmanagedType.Struct)] out object dCurrValues, [MarshalAs(UnmanagedType.Struct)] out object dTimeValues); + + [DispId(32)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern int GetEisValueCount(); + + [DispId(33)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetEisValue(int nIndex, out double dFreqValue, out double dRealValue, out double dImaginaryValue, out double dZValue, out double dPhaseAngleValue); + + [DispId(34)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetLastEisValue(out double dFreqValue, out double dRealValue, out double dImaginaryValue, out double dZValue, out double dPhaseAngleValue); + + [DispId(35)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetEisValues([MarshalAs(UnmanagedType.Struct)] out object dFreqValues, [MarshalAs(UnmanagedType.Struct)] out object dRealValues, [MarshalAs(UnmanagedType.Struct)] out object dImaginaryValues, [MarshalAs(UnmanagedType.Struct)] out object dZValues, [MarshalAs(UnmanagedType.Struct)] out object dPhaseAngleValues); + + [DispId(36)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern void ClearData(); + + [DispId(37)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool ExpIsEnd(); + + [DispId(38)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetMsgHandle(int nHandle); + + [DispId(39)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool DeviceStartST(); + + [DispId(40)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool GetOcpValueEx(out double ocpValue, out double currentValue); + + [DispId(41)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetACVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fACFreq, float fSamplePeriod); + + [DispId(42)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetSHACVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fACFreq, float fSamplePeriod); + + [DispId(43)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetFTACVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fACFreq, float fSamplePeriod); + + [DispId(44)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEISVSfrqGalParams(float fInitFreq, float fFinalFreq, float fSineBiasI, float fSineAmpI, uint nPoints); + + [DispId(45)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEISVSPotParams(float fFreq, float fSineAmp, float fInitE, float fFinalE, float fIncE); + + [DispId(46)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEISVSTimeParams(float fFreq, float fSineBias, float fSineAmp, float fPeriod, float fTime); + + [DispId(47)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetStaticChange(int nMode, float fValue); + + [DispId(48)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEarthMode(bool isSet); + + [DispId(49)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEISVSTimeGalParams(float fFreq, float fSineBiasI, float fSineAmpI, float fPeriod, float fTime); + + [DispId(50)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetPotSquareParams(float fWaitTime, float fInitE, float fInitTime, float fStepE1, float fStepE1Time, float fStepE2, float fStepE2Time, float fFinalE, float fFinalTime, float fFrq, uint nCycles); + + [DispId(51)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetGalSquareParams(float fWaitTime, float fInitI, float fInitTime, float fStepI1, float fStepI1Time, float fStepI2, float fStepI2Time, float fFinalI, float fFinalTime, float fFrq, uint nCycles); + + [DispId(52)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEINoiseParams(float fWaitTime, float fTestTime, float fFreq); + [DispId(53)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetDPVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fPulseWidth, float fPulsePeriod, uint nSampleWidth); + [DispId(54)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetNPVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fPulseWidth, float fPulsePeriod, uint nSampleWidth); + [DispId(55)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetDNPVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fPulseWidth1, float fPulseWidth2, float fPulsePeriod, uint nSampleWidth); + [DispId(56)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool DeviceReset(); + [DispId(57)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool CallEisResultValue(out double dRsValue, out double dRpValue, out double dCValue); + [DispId(58)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetDevFilter(int nFilter); + [DispId(59)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEisBiasGain(bool bBiasE, int nBiasGainE, bool bBiasI, int nBiasGainI); + [DispId(60)] + [MethodImpl(MethodImplOptions.InternalCall)] + public virtual extern bool SetEisACAttenuation(bool bACAttenuation, int nACRatio); + } +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/ICSStudio6.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/ICSStudio6.cs new file mode 100644 index 0000000..577c106 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CSStudioLib/ICSStudio6.cs @@ -0,0 +1,132 @@ +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace CSStudio6Lib +{ + [Guid("FD052593-A6E0-4266-B8A8-4715834ADB63"), TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FNonExtensible | TypeLibTypeFlags.FDispatchable)] + [ComImport] + public interface ICSStudio6 + { + [DispId(1)] + bool FindDevice(); + [DispId(2)] + bool FindDeviceInLan(); + [DispId(3)] + bool FindDeviceInCom(); + [DispId(4)] + bool FindDeviceByName(string strName); + [DispId(5)] + bool DeviceIsOpen(); + [DispId(6)] + void DeviceDisconnect(); + [DispId(7)] + bool DeviceStart(); + [DispId(8)] + bool DeviceStop(); + [DispId(9)] + bool DevicePause(); + [DispId(10)] + bool DeviceContinue(); + [DispId(11)] + string GetLastError(); + [DispId(12)] + string GetSerialNumber(); + [DispId(13)] + string GetLibVersion(); + [DispId(14)] + bool SetCurrentRange(bool isAutoRange, int nRange, int nMinRange, int nMaxRange, bool isOnlyInc); + [DispId(15)] + bool SetVoltRange(bool isAuto, int nRange); + [DispId(16)] + bool SetGNDMode(bool isVirMode); + [DispId(17)] + bool SetIRValue(bool isEnable, float fValue); + [DispId(18)] + bool SetEisFilter(int nHigh, int nMid, int nLow); + [DispId(19)] + bool GetOcpValue(out double ocpValue); + [DispId(20)] + bool SetOcpParams(float fTestTime, float fFreq); + [DispId(21)] + bool SetPotStaticParams(float fWaitTime, float fPotValue, float fTestTime, float fFreq); + [DispId(22)] + bool SetGalStaticParams(float fWaitTime, float fCurrentValue, float fTestTime, float fFreq); + [DispId(23)] + bool SetLSVAParams(float fWaitTime, float fInitE, float fFinalE, float fScanRate, float fFrq); + [DispId(24)] + bool SetCVParams(float fWaitTime, float fInitE, float fStepE1, float fStepE2, float fFinalE, float fScanRate, float fFrq, uint nCycles); + [DispId(25)] + bool SetSCVAParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, uint nCycles, uint nSampleWidth, float fJumpTime); + [DispId(26)] + bool SetSWVAParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fFrequency, uint nSampleWidth); + [DispId(27)] + bool SetEISVSfrqParams(float fInitFreq, float fFinalFreq, float fSineBias, float fSineAmp, uint nPoints); + [DispId(28)] + int GetValuesCount(); + [DispId(29)] + bool GetValue(int nIndex, out double dVoltValue, out double dCurrValue, out double dTimeValue); + [DispId(30)] + bool GetLastValue(out double dVoltValue, out double dCurrValue, out double dTimeValue); + [DispId(31)] + bool GetValues(out object dVoltValues, out object dCurrValues, out object dTimeValues); + [DispId(32)] + int GetEisValueCount(); + [DispId(33)] + bool GetEisValue(int nIndex, out double dFreqValue, out double dRealValue, out double dImaginaryValue, out double dZValue, out double dPhaseAngleValue); + [DispId(34)] + bool GetLastEisValue(out double dFreqValue, out double dRealValue, out double dImaginaryValue, out double dZValue, out double dPhaseAngleValue); + [DispId(35)] + bool GetEisValues(out object dFreqValues, out object dRealValues, out object dImaginaryValues, out object dZValues, out object dPhaseAngleValues); + [DispId(36)] + void ClearData(); + [DispId(37)] + bool ExpIsEnd(); + [DispId(38)] + bool SetMsgHandle(int nHandle); + [DispId(39)] + bool DeviceStartST(); + [DispId(40)] + bool GetOcpValueEx(out double ocpValue, out double currentValue); + [DispId(41)] + bool SetACVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fACFreq, float fSamplePeriod); + [DispId(42)] + bool SetSHACVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fACFreq, float fSamplePeriod); + [DispId(43)] + bool SetFTACVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fACFreq, float fSamplePeriod); + [DispId(44)] + bool SetEISVSfrqGalParams(float fInitFreq, float fFinalFreq, float fSineBiasI, float fSineAmpI, uint nPoints); + [DispId(45)] + bool SetEISVSPotParams(float fFreq, float fSineAmp, float fInitE, float fFinalE, float fIncE); + [DispId(46)] + bool SetEISVSTimeParams(float fFreq, float fSineBias, float fSineAmp, float fPeriod, float fTime); + [DispId(47)] + bool SetStaticChange(int nMode, float fValue); + [DispId(48)] + bool SetEarthMode(bool isSet); + [DispId(49)] + bool SetEISVSTimeGalParams(float fFreq, float fSineBiasI, float fSineAmpI, float fPeriod, float fTime); + [DispId(50)] + bool SetPotSquareParams(float fWaitTime, float fInitE, float fInitTime, float fStepE1, float fStepE1Time, float fStepE2, float fStepE2Time, float fFinalE, float fFinalTime, float fFrq, uint nCycles); + [DispId(51)] + bool SetGalSquareParams(float fWaitTime, float fInitI, float fInitTime, float fStepI1, float fStepI1Time, float fStepI2, float fStepI2Time, float fFinalI, float fFinalTime, float fFrq, uint nCycles); + [DispId(52)] + bool SetEINoiseParams(float fWaitTime, float fTestTime, float fFreq); + [DispId(53)] + bool SetDPVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fPulseWidth, float fPulsePeriod, uint nSampleWidth); + [DispId(54)] + bool SetNPVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fPulseWidth, float fPulsePeriod, uint nSampleWidth); + [DispId(55)] + bool SetDNPVParams(float fWaitTime, float fInitE, float fFinalE, float fIncE, float fAmplitude, float fPulseWidth1, float fPulseWidth2, float fPulsePeriod, uint nSampleWidth); + [DispId(56)] + bool DeviceReset(); + [DispId(57)] + bool CallEisResultValue(out double dRsValue, out double dRpValue, out double dCValue); + [DispId(58)] + bool SetDevFilter(int nFilter); + [DispId(59)] + bool SetEisBiasGain(bool bBiasE, int nBiasGainE, bool bBiasI, int nBiasGainI); + [DispId(60)] + bool SetEisACAttenuation(bool bACAttenuation, int nACRatio); + } +} \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CTConvert.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CTConvert.cs new file mode 100644 index 0000000..b924b1a --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CTConvert.cs @@ -0,0 +1,339 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; + +namespace TestLib +{ + public class CTConvert + { + + public static float limit = 1000000000000000; + /// + /// 将指定类型的littleEndian数据转换为BigEndian的字节序列 + /// + /// 需要转换的类型 + /// 接收转换后的字节序列的目标数组 + /// 目标数组开始复制字节序列的起始索引 + /// 需要转换的数据,数量可变 + public static void ToBytesBigEndian(byte[] buffer, int offset, params T[] pars) where T : struct + { + int nOffset = offset; + foreach (T t in pars) + { + byte[] bt = StructToBytes(t); + + for (int i = bt.Length - 1; i >= 0; i--) + { + buffer[nOffset++] = bt[i]; + } + } + } + + + /// + /// 将指定类型的littleEndian数据转换为BigEndian的字节序列 + /// + /// 需要转换的类型 + /// 接收转换后的字节序列的目标数组 + /// 目标数组开始复制字节序列的起始索引 + /// 需要转换的数据,数量可变 + public static void ToBytesBigEndian2(byte[] buffer, int offset, params T[] pars) where T : struct + { + int nOffset = offset; + foreach (T t in pars) + { + byte[] bt = StructToBytes(t); + + for (int i = 0; i < bt.Length; i++) + { + buffer[nOffset++] = bt[i]; + } + } + } + + /// + /// 将BigEndian的字节序列转换为指定类型的littleEndian数据 + /// + /// 需要转换的类型 + /// 存储需要转换的字节序列的数组 + /// 数组开始转换字节序列的起始索引 + /// 经过转换的值 + public static T FromBytesBigEndian(byte[] buffer, int offset) where T : struct + { + int nOffset = offset; + T val = new T(); + byte[] bt = StructToBytes(val); + for (int i = bt.Length - 1; i >= 0; i--) + { + bt[i] = buffer[nOffset++]; + } + val = (T)BytesToStruct(bt, bt.Length, typeof(T)); + return val; + } + + public static T FromBytesBigEndian2(byte[] buffer, int offset) where T : struct + { + int nOffset = offset; + T val = new T(); + byte[] bt = StructToBytes(val); + for (int i = 0; i < bt.Length; i++) + { + bt[i] = buffer[nOffset++]; + } + val = (T)BytesToStruct(bt, bt.Length, typeof(T)); + return val; + } + + + /// + /// 将字节序列转换为DateTime,字节序列依次为,年月星期日时分秒,每个一字节,一共七字节 + /// 其中,年为2000开始,即转换范围为2000-2255年 + /// + /// 存储需要转换的字节序列的数组 + /// 数组开始转换字节序列的起始索引 + /// 经过转换后的值 + public static DateTime Bytes2DateTime(byte[] buffer, int offset) + { + DateTime dt = DateTime.MinValue; + if (buffer == null) return dt; + if (offset < 0 || offset > buffer.Length - 1) return dt; + if (buffer.Length - offset < 6) return dt; + try + { + dt = new DateTime(buffer[offset] + 2000, + buffer[offset + 1], + buffer[offset + 3], + buffer[offset + 4], + buffer[offset + 5], + buffer[offset + 6] + ); + } + catch + { + } + return dt; + } + private static DateTime dtLast = DateTime.Now.AddDays(-1); + /// + /// 将字节序列转换为DateTime,字节序列依次为,年月日时分秒,每个一字节,一共6字节 + /// 其中,年为2000开始,即转换范围为2000-2255年 + /// + public static DateTime Bytes2DateTime2(byte[] buffer, int offset) + { + DateTime dt = DateTime.MinValue; + if (buffer == null) return dt; + if (offset < 0 || offset > buffer.Length - 1) return dt; + if (buffer.Length - offset < 6) return dt; + try + { + dt = new DateTime + (buffer[offset] + 2000, + buffer[offset + 1], + buffer[offset + 2], + buffer[offset + 3], + buffer[offset + 4], + buffer[offset + 5] + ); + dtLast = dt; + } + catch(Exception ex) + { + //dt = dtLast.AddHours(1); + //dtLast = dt; + } + return dt; + } + + public static DateTime Bytes2DateTime3(byte[] buffer, int offset) + { + DateTime dt = DateTime.MinValue; + if (buffer == null) return dt; + if (offset < 0 || offset > buffer.Length - 1) return dt; + if (buffer.Length - offset < 7) return dt; + try + { + dt = new DateTime(FromBytesBigEndian2(buffer, offset), + buffer[offset + 2], + buffer[offset + 3], + buffer[offset + 4], + buffer[offset + 5], + buffer[offset + 6] + ); + } + catch + { } + return dt; + } + + /// + /// 将DateTime转换为字节序列,字节序列依次为,年月星期日时分秒,每个一字节,一共七字节 + /// 其中,年为2000开始,即转换范围为2000-2255年 + /// + /// 存储转换后的字节序列的数组 + /// 数组开始复制转换后的字节序列的起始索引 + /// 需要转换的时间 + public static void DateTime2Bytes(byte[] buffer, int offset, DateTime dt) + { + if (buffer == null) return; + if (offset < 0 || offset > buffer.Length - 1) return; + if (buffer.Length - offset < 6) return; + buffer[offset] = (Byte)(dt.Year - 2000); + buffer[offset + 1] = (Byte)dt.Month; + buffer[offset + 2] = (Byte)dt.DayOfWeek; + buffer[offset + 3] = (Byte)dt.Day; + buffer[offset + 4] = (Byte)dt.Hour; + buffer[offset + 5] = (Byte)dt.Minute; + buffer[offset + 6] = (Byte)dt.Second; + } + + public static void DateTime2Bytes3(byte[] buffer, int offset, DateTime dt) + { + if (buffer == null) return; + if (offset < 0 || offset > buffer.Length - 1) return; + if (buffer.Length - offset < 6) return; + buffer[offset] = (Byte)(dt.Year - 2000); + buffer[offset + 1] = (Byte)dt.Month; + buffer[offset + 2] = (Byte)dt.Day; + buffer[offset + 3] = (Byte)dt.DayOfWeek; + buffer[offset + 4] = (Byte)dt.Hour; + buffer[offset + 5] = (Byte)dt.Minute; + buffer[offset + 6] = (Byte)dt.Second; + } + + /// + /// 将DateTime转换为字节序列,字节序列依次为,年月日时分秒,每个一字节,一共6字节 + /// 其中,年为2000开始,即转换范围为2000-2255年 + /// + /// 存储转换后的字节序列的数组 + /// 数组开始复制转换后的字节序列的起始索引 + /// 需要转换的时间 + public static void DateTime2Bytes2(byte[] buffer, int offset, DateTime dt) + { + if (buffer == null) return; + if (offset < 0 || offset > buffer.Length - 1) return; + if (buffer.Length - offset < 6) return; + if (dt == DateTime.MinValue) dt = new DateTime(2000, 1, 1, 0, 0, 0); + if (dt == DateTime.MaxValue) dt = new DateTime(2100, 1, 1, 0, 0, 0); + buffer[offset] = (Byte)(dt.Year - 2000); + buffer[offset + 1] = (Byte)dt.Month; + buffer[offset + 2] = (Byte)dt.Day; + buffer[offset + 3] = (Byte)dt.Hour; + buffer[offset + 4] = (Byte)dt.Minute; + buffer[offset + 5] = (Byte)dt.Second; + } + + + public static float GetFloatNumber(byte[] bytes, int offset) + { + if (offset > bytes.Length) return 0; + float temp = BitConverter.ToSingle(bytes, offset); + if (float.IsInfinity(temp) || float.IsNaN(temp)) + { + return limit; + } + if (Math.Abs(temp) > limit) + { + if (temp > 0) + return limit; + else + return -limit; + } + return temp; + } + + public static float GetCorrectFloatNumber(byte[] bytes, int offset) + { + if (offset > bytes.Length) return 0; + float temp = FromBytesBigEndian(bytes, offset); + if (float.IsInfinity(temp) || float.IsNaN(temp)) + { + return limit; + } + if (Math.Abs(temp) > limit) + { + if (temp > 0) + return limit; + else + return -limit; + } + return temp; + } + + private static byte[] StructToBytes(object obj) + { + int rawsize = Marshal.SizeOf(obj); + IntPtr buffer = Marshal.AllocHGlobal(rawsize); + Marshal.StructureToPtr(obj, buffer, false); + byte[] rawdatas = new byte[rawsize]; + Marshal.Copy(buffer, rawdatas, 0, rawsize); + Marshal.FreeHGlobal(buffer); + return rawdatas; + } + + private static object BytesToStruct(byte[] buf, int len, Type type) + { + object rtn; + IntPtr buffer = Marshal.AllocHGlobal(len); + Marshal.Copy(buf, 0, buffer, len); + rtn = Marshal.PtrToStructure(buffer, type); + Marshal.FreeHGlobal(buffer); + return rtn; + } + + public static int FrqToByte(int Frq) + { + if (Frq == 1) + { + return 0; + } + else if (Frq == 12) + { + return 1; + } + else + { + return 2; + } + } + + public static float ByteToFrq(int Byte) + { + if (Byte == 0) + { + return 0.1f; + } + else if (Byte == 1) + { + return 1; + } + else if (Byte == 2) + { + return 12; + } + else + { + return 117; + } + + } + + public static byte[] StringToHexByte(string hexString) + { + if (string.IsNullOrEmpty(hexString)) return null; + hexString = hexString.Replace(" ", "").Replace("0x", ""); + if (string.IsNullOrEmpty(hexString)) return null; + byte[] returnBytes = new byte[hexString.Length / 2 + hexString.Length % 2]; + for (int i = 0; i < returnBytes.Length; i++) + { + if (hexString.Length >= i * 2 + 2) + returnBytes[i] = Convert.ToByte(hexString.Substring(i * 2, 2), 16); + else + return null; + } + return returnBytes; + } + + } +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CorGraph.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CorGraph.cs new file mode 100644 index 0000000..642df00 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/CorGraph.cs @@ -0,0 +1,6 @@ +namespace TestLib +{ + public class CorGraph + { + } +} \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.Designer.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.Designer.cs similarity index 95% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.Designer.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.Designer.cs index 42bce35..d5e7483 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.Designer.cs +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.Designer.cs @@ -53,6 +53,7 @@ this.btnLSV = new System.Windows.Forms.Button(); this.btnCV = new System.Windows.Forms.Button(); this.btnEis = new System.Windows.Forms.Button(); + this.btnEisG = new System.Windows.Forms.Button(); this.SuspendLayout(); // // btnSreach @@ -270,11 +271,22 @@ this.btnEis.UseVisualStyleBackColor = true; this.btnEis.Click += new System.EventHandler(this.btnEis_Click); // + // btnEisG + // + this.btnEisG.Location = new System.Drawing.Point(445, 12); + this.btnEisG.Name = "btnEisG"; + this.btnEisG.Size = new System.Drawing.Size(51, 29); + this.btnEisG.TabIndex = 4; + this.btnEisG.Text = "EIS-G"; + this.btnEisG.UseVisualStyleBackColor = true; + this.btnEisG.Click += new System.EventHandler(this.btnEisG_Click); + // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(749, 574); + this.Controls.Add(this.btnEisG); this.Controls.Add(this.pnlGraph); this.Controls.Add(this.txtFreq); this.Controls.Add(this.txtE5); @@ -331,6 +343,7 @@ private System.Windows.Forms.Button btnLSV; private System.Windows.Forms.Button btnCV; private System.Windows.Forms.Button btnEis; + private System.Windows.Forms.Button btnEisG; } } diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.cs similarity index 89% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.cs rename to non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.cs index 0d9276e..b801ba4 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/MainForm.cs +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.cs @@ -83,6 +83,10 @@ namespace TestLib { return; } + //if (!m_spDev.FindDeviceByName("192.168.0.201:57700")) + //{ + // return; + //} Text = m_spDev.GetSerialNumber(); } @@ -173,12 +177,10 @@ namespace TestLib m_spDev.GetEisValues(out dEs, out dIs, out dTs,out dZs,out dAs); List listE = (dEs as double[]).ToList(); - List listI = (dIs as double[]).ToList(); - List listT = (dTs as double[]).ToList(); - List listA = (dAs as double[]).ToList(); + List listI = (dZs as double[]).ToList(); - line1.Add(listE, listI); - line2.Add(listE, listA); + line1.Add(listE, listE); + line2.Add(listE, listI); } @@ -218,7 +220,11 @@ namespace TestLib { if (!m_spDev.DeviceIsOpen()) return; Clear(); - m_spDev.SetCVParams(3, float.Parse(txtE1.Text), float.Parse(txtE2.Text), float.Parse(txtE3.Text), float.Parse(txtE4.Text), float.Parse(txtE5.Text) / 1000, float.Parse(txtFreq.Text),5); + + m_spDev.SetVoltRange(false, 2); + m_spDev.SetCurrentRange(false, 7, 8, 0, true); + + m_spDev.SetCVParams(3, float.Parse(txtE1.Text), float.Parse(txtE2.Text), float.Parse(txtE3.Text), float.Parse(txtE4.Text), float.Parse(txtE5.Text) / 1000, float.Parse(txtFreq.Text),1); m_spDev.DeviceStart(); timer1.Start(); } @@ -230,11 +236,27 @@ namespace TestLib if (!m_spDev.DeviceIsOpen()) return; Clear(); - float fValue = 0; + double fValue = 0; m_spDev.GetOcpValue(out fValue); - m_spDev.SetEISVSfrqParams(100000,0.1f,fValue,10,60); + m_spDev.SetEISVSfrqParams(100000,0.1f,(float)fValue,10,60); m_spDev.DeviceStart(); timer1.Start(); } + + private void btnEisG_Click(object sender, EventArgs e) + { + m_bIsEis = true; + + if (!m_spDev.DeviceIsOpen()) return; + Clear(); + + m_spDev.SetGNDMode(true); + m_spDev.SetEisFilter(6, 6, 6); + + m_spDev.SetEISVSfrqGalParams(1000, 0.1f, 0, 2000, 40); + m_spDev.DeviceStart(); + timer1.Start(); + + } } } diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.resx b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.resx new file mode 100644 index 0000000..886d0de --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/MainForm.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Program.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Program.cs new file mode 100644 index 0000000..e05e3b6 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Program.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; + +namespace TestLib +{ + static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new MainForm()); + } + } +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/AssemblyInfo.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e735a5d --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("TestLib")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("TestLib")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +//将 ComVisible 设置为 false 将使此程序集中的类型 +//对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("8ffcb6ba-e562-4bd7-bcaf-6e6f38329a06")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Resources.Designer.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Resources.Designer.cs new file mode 100644 index 0000000..8eaa391 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TestLib.Properties { + using System; + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 返回此类使用的缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TestLib.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Resources.resx b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Settings.Designer.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Settings.Designer.cs new file mode 100644 index 0000000..95dfbb4 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TestLib.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Settings.settings b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.csproj b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.csproj new file mode 100644 index 0000000..65029b0 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.csproj @@ -0,0 +1,99 @@ + + + + + Debug + AnyCPU + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06} + WinExe + Properties + TestLib + TestLib + v3.5 + 512 + true + + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + False + lib\GraphControl.dll + + + + + + + + + + + + + + + + + + + Form + + + MainForm.cs + + + + + MainForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.csproj.user b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.csproj.user new file mode 100644 index 0000000..9b86104 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.csproj.user @@ -0,0 +1,6 @@ + + + + ShowAllFiles + + \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.sln b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.sln new file mode 100644 index 0000000..dc93b6e --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/TestLib.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31702.278 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLib", "TestLib.csproj", "{8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestCSStudio6", "..\TestCSStudio6\TestCSStudio6.csproj", "{06DA92F8-49A8-4D4A-8F3E-D85FE331E85E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8FFCB6BA-E562-4BD7-BCAF-6E6F38329A06}.Release|Any CPU.Build.0 = Release|Any CPU + {06DA92F8-49A8-4D4A-8F3E-D85FE331E85E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {06DA92F8-49A8-4D4A-8F3E-D85FE331E85E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {06DA92F8-49A8-4D4A-8F3E-D85FE331E85E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {06DA92F8-49A8-4D4A-8F3E-D85FE331E85E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9BF7F3DE-A494-4C0B-B089-66A105C86616} + EndGlobalSection +EndGlobal diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/app.config b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/app.config new file mode 100644 index 0000000..2fa6e95 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/app.config @@ -0,0 +1,3 @@ + + + diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/GraphControl.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/GraphControl.dll new file mode 100644 index 0000000..1869e8b --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/GraphControl.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35d41867fd368a8a950c6f09c96755cfd954f2a11ae96aed29e846d50e63e47f +size 298496 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.exe b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.exe new file mode 100644 index 0000000..52a9461 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.exe differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.exe.config b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.exe.config new file mode 100644 index 0000000..2fa6e95 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.exe.config @@ -0,0 +1,3 @@ + + + diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.pdb new file mode 100644 index 0000000..6cc37b1 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/bin/Debug/TestLib.pdb differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/lib/GraphControl.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/lib/GraphControl.dll new file mode 100644 index 0000000..1869e8b --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/lib/GraphControl.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35d41867fd368a8a950c6f09c96755cfd954f2a11ae96aed29e846d50e63e47f +size 298496 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/.AssemblyReference.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/.AssemblyReference.cache new file mode 100644 index 0000000..d3a6073 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/.AssemblyReference.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs new file mode 100644 index 0000000..e5dc9b8 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")] diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4212370 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..180fc04 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.MainForm.resources b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.MainForm.resources new file mode 100644 index 0000000..06c24d0 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.MainForm.resources differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.Properties.Resources.resources b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.Properties.Resources.resources new file mode 100644 index 0000000..06c24d0 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.Properties.Resources.resources differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.CopyComplete b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.CoreCompileInputs.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..f974bd9 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +cc666d47a6dfbceb6d7ff31e1a7cdfa3a78b0d9f diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.FileListAbsolute.txt b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ca851a2 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.FileListAbsolute.txt @@ -0,0 +1,11 @@ +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\obj\Debug\TestLib.MainForm.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\obj\Debug\TestLib.Properties.Resources.resources +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\obj\Debug\TestLib.csproj.GenerateResource.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\obj\Debug\TestLib.csproj.CoreCompileInputs.cache +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\bin\Debug\TestLib.exe.config +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\bin\Debug\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\bin\Debug\TestLib.pdb +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\bin\Debug\GraphControl.dll +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\obj\Debug\TestLib.csproj.CopyComplete +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\obj\Debug\TestLib.exe +D:\mzg\软件组\产品\CS Studio6\01开发\二次开发\发布\CSStudio6二次开发接口\C#实例\TestLib2\obj\Debug\TestLib.pdb diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.GenerateResource.cache b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.GenerateResource.cache new file mode 100644 index 0000000..8b9f1d6 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.csproj.GenerateResource.cache differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.exe b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.exe new file mode 100644 index 0000000..52a9461 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.exe differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.pdb new file mode 100644 index 0000000..6cc37b1 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/C#实例/TestLib2/obj/Debug/TestLib.pdb differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.dll.config b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.dll.config deleted file mode 100644 index abdfca3..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.dll.config +++ /dev/null @@ -1,24 +0,0 @@ - - - - -
-
- - - - - - - - - - - - - - - - - - diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.pdb deleted file mode 100644 index d78014e..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/GraphControl.pdb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e6566f4804fd5cdc7ec3264c5d67cfdab8cb8c4ae93979b7dd8f38340e21acb0 -size 568832 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/ICSharpCode.SharpZipLib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/ICSharpCode.SharpZipLib.dll deleted file mode 100644 index a839b20..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/ICSharpCode.SharpZipLib.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4cba17e1123333356bf7e80a20e3adffd8ec335c14da1a249d1b10f3d7cfd0b -size 188416 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/Interop.CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/Interop.CSStudio6Lib.dll deleted file mode 100644 index 84956e7..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/Interop.CSStudio6Lib.dll and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.exe b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.exe deleted file mode 100644 index 4165839..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.exe and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.pdb deleted file mode 100644 index 521572b..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Debug/TestLib.pdb and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.dll deleted file mode 100644 index 8f58990..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fdb05fcdf77d423f2552474421614658d2bbd6e1697ad68ba11d6708fb1e0eed -size 270848 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.dll.config b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.dll.config deleted file mode 100644 index abdfca3..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.dll.config +++ /dev/null @@ -1,24 +0,0 @@ - - - - -
-
- - - - - - - - - - - - - - - - - - diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.pdb deleted file mode 100644 index ac3bb65..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/GraphControl.pdb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5dc0e73364f3147f49580d02df7dae8a037711a1dfaa725e3369e2f8f94fb95a -size 476672 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/ICSharpCode.SharpZipLib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/ICSharpCode.SharpZipLib.dll deleted file mode 100644 index a839b20..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/ICSharpCode.SharpZipLib.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4cba17e1123333356bf7e80a20e3adffd8ec335c14da1a249d1b10f3d7cfd0b -size 188416 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/Interop.CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/Interop.CSStudio6Lib.dll deleted file mode 100644 index b98ddb7..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/Interop.CSStudio6Lib.dll and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.pdb b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.pdb deleted file mode 100644 index 7491816..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/C# examples/TestLib/bin/Release/TestLib.pdb and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib port manual.docx b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib port manual.docx deleted file mode 100644 index d236dfd..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib port manual.docx +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e43d1fd31e6d9644c628903154bc67cd6ce66008674e8705ed885a9ba2071c9c -size 270343 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/32/CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/32/CSStudio6Lib.dll deleted file mode 100644 index f13efb5..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/32/CSStudio6Lib.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c02031330bde9eee5ac42ff64a6a0a0f3ec240c98a35d909ad786d0afb69baec -size 2101248 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/64/CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/64/CSStudio6Lib.dll deleted file mode 100644 index c31134c..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/64/CSStudio6Lib.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c24b2875631886260ed34059e227e6304f07e24c9c2ec5d12f01a76fab344d5f -size 2662400 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/CV scan.vi b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/CV scan.vi deleted file mode 100644 index 314c3f6..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/CV scan.vi and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/OCP.vi b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/OCP.vi deleted file mode 100644 index d91544a..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/OCP.vi and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/SWV scan.vi b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/SWV scan.vi deleted file mode 100644 index c06a23b..0000000 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/SWV scan.vi and /dev/null differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.aps b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.aps deleted file mode 100644 index ce86dea..0000000 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.aps +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0454227b87f347be37a49fd9296842109a5870aab6da98f5639360ff8cd12da6 -size 109424 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/CSStudio6Lib.dll new file mode 100644 index 0000000..49d8c25 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/CSStudio6Lib.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:534b9c90ebdb4814f2b8311de7e5c9425467f526244df93d155543e7e4ffd9bf +size 1870848 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/32/右键管理员注册32位系统.bat b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/右键管理员注册32位系统.bat similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/32/右键管理员注册32位系统.bat rename to non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/右键管理员注册32位系统.bat diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/32/右键管理员注册64位系统.bat b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/右键管理员注册64位系统.bat similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/32/右键管理员注册64位系统.bat rename to non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/32/右键管理员注册64位系统.bat diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/64/CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/64/CSStudio6Lib.dll new file mode 100644 index 0000000..e004dac --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/64/CSStudio6Lib.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b46e950fa441564c03d4b22c585fdffb06130203cffa0025c300176541651978 +size 2529792 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/64/右键管理员注册64位系统.bat b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/64/右键管理员注册64位系统.bat similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/CSStudio6Lib/64/右键管理员注册64位系统.bat rename to non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib/64/右键管理员注册64位系统.bat diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib接口说明书.docx b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib接口说明书.docx new file mode 100644 index 0000000..70904a0 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6Lib接口说明书.docx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05cdd32594b5f0e626a4cbeafb0f942140579e83377ab923e74a76f1804db390 +size 293714 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/CV扫描.vi b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/CV扫描.vi new file mode 100644 index 0000000..74c0545 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/CV扫描.vi differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/RS.vi b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/RS.vi new file mode 100644 index 0000000..b9e4297 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/RS.vi differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/SWV扫描.vi b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/SWV扫描.vi new file mode 100644 index 0000000..02a8b4a Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/SWV扫描.vi differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/cv.png b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/cv.png similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/cv.png rename to non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/cv.png diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/ocp.png b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/ocp.png similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/ocp.png rename to non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/ocp.png diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/swv.png b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/swv.png similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/LabView examples/swv.png rename to non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/swv.png diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/开路电位.vi b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/开路电位.vi new file mode 100644 index 0000000..267e5f3 Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/LabView实例/开路电位.vi differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/QT实例/TestLibQT.zip b/non_academic_paper_references/equipment_manuals/potentiostat/QT实例/TestLibQT.zip new file mode 100644 index 0000000..bf62e2a Binary files /dev/null and b/non_academic_paper_references/equipment_manuals/potentiostat/QT实例/TestLibQT.zip differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/QT实例/编译类导出.txt b/non_academic_paper_references/equipment_manuals/potentiostat/QT实例/编译类导出.txt new file mode 100644 index 0000000..9e767e8 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/QT实例/编译类导出.txt @@ -0,0 +1,7 @@ +1、打开命令行 +win+r cmd +2、进入dumpcpp目录 +cd C:\Qt\6.5.3\mingw_64\bin +3、执行导出 +./dumpcpp D:\CSStudio6Lib\64\CSStudio6Lib.dll +4、在dumpcpp目录下找到csstudio6lib.h和csstudio6lib.cpp 文件拷贝到工程中 \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/CSStudio6Lib.dll b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/CSStudio6Lib.dll new file mode 100644 index 0000000..e764a19 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/CSStudio6Lib.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2575f6997889e1e6c0221ee69d6b20eee79ed4cef54c8d9591b45560b733f890 +size 1732608 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/TestLibForVC.exe b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/TestLibForVC.exe new file mode 100644 index 0000000..ae227a7 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/Bin/Debug/TestLibForVC.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2deaa41e23203f7e38b1104bde0b3bdb045d2baf851c19d6c24ed0d5f1fd467 +size 242176 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/ReadMe.txt b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/ReadMe.txt similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/ReadMe.txt rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/ReadMe.txt diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.aps b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.aps new file mode 100644 index 0000000..aa495b3 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.aps @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f42e01d944ad161f20d970c1e86ef8b522a975485ca4b8ac0b44722b98c76cb6 +size 109908 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.cpp b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.cpp similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.cpp rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.cpp diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.h b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.h similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.h rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.h diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.rc b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.rc similarity index 93% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.rc rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.rc index 5c8a160..1aa751b 100644 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.rc and b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.rc differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.sln b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.sln new file mode 100644 index 0000000..c3c2ff6 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.33927.289 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestLibForVC", "TestLibForVC.vcxproj", "{300ADEDD-9E3E-4820-8EFE-E314735DDEC0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Debug|x64.ActiveCfg = Debug|x64 + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Debug|x64.Build.0 = Debug|x64 + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Debug|x86.ActiveCfg = Debug|Win32 + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Debug|x86.Build.0 = Debug|Win32 + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Release|x64.ActiveCfg = Release|x64 + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Release|x64.Build.0 = Release|x64 + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Release|x86.ActiveCfg = Release|Win32 + {300ADEDD-9E3E-4820-8EFE-E314735DDEC0}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {48651A76-2D88-4383-86ED-31CABE14E864} + EndGlobalSection +EndGlobal diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.vcxproj b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.vcxproj similarity index 99% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.vcxproj rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.vcxproj index 9ea95a7..1aab46c 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.vcxproj +++ b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.vcxproj @@ -21,7 +21,7 @@ {300ADEDD-9E3E-4820-8EFE-E314735DDEC0} TestLibForVC - 8.1 + 10.0 MFCProj diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.vcxproj.filters b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.vcxproj.filters similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.vcxproj.filters rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.vcxproj.filters diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.vcxproj.user b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.vcxproj.user similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVC.vcxproj.user rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVC.vcxproj.user diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVCDlg.cpp b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVCDlg.cpp similarity index 88% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVCDlg.cpp rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVCDlg.cpp index fc1bbc7..c8693c8 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVCDlg.cpp +++ b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVCDlg.cpp @@ -30,6 +30,8 @@ public: // ʵ protected: DECLARE_MESSAGE_MAP() +public: + }; CAboutDlg::CAboutDlg() : CDialogEx(IDD_ABOUTBOX) @@ -42,6 +44,7 @@ void CAboutDlg::DoDataExchange(CDataExchange* pDX) } BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx) + END_MESSAGE_MAP() @@ -52,6 +55,9 @@ END_MESSAGE_MAP() CTestLibForVCDlg::CTestLibForVCDlg(CWnd* pParent /*=NULL*/) : CDialogEx(IDD_TESTLIBFORVC_DIALOG, pParent) , m_nOcpTime(100) + , m_sPot(_T("")) + , m_sI(_T("")) + , m_sT(_T("")) { m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); m_spDev = NULL; @@ -61,6 +67,9 @@ void CTestLibForVCDlg::DoDataExchange(CDataExchange* pDX) { CDialogEx::DoDataExchange(pDX); DDX_Text(pDX, IDC_EDIT1, m_nOcpTime); + DDX_Text(pDX, IDC_EDIT2, m_sPot); + DDX_Text(pDX, IDC_EDIT3, m_sI); + DDX_Text(pDX, IDC_EDIT4, m_sT); } #define CSStudio6Lib_Msg 0x0400+1 @@ -73,6 +82,7 @@ BEGIN_MESSAGE_MAP(CTestLibForVCDlg, CDialogEx) ON_BN_CLICKED(IDC_BUTTON1, &CTestLibForVCDlg::OnBnClickedButton1) ON_BN_CLICKED(IDC_BUTTON2, &CTestLibForVCDlg::OnBnClickedButton2) ON_BN_CLICKED(IDC_BUTTON3, &CTestLibForVCDlg::OnBnClickedButton3) + ON_BN_CLICKED(IDC_BUTTON_CV, &CTestLibForVCDlg::OnBnClickedButtonCv) END_MESSAGE_MAP() @@ -184,6 +194,11 @@ LRESULT CTestLibForVCDlg::OnDataMessage(WPARAM wParam, LPARAM lParam) if (nType == 0) //յ { m_spDev->GetLastValue(&dE,&dI,&dTime); + + m_sPot.Format(_T("%f"), dE); + m_sI.Format(_T("%f"), dI); + m_sT.Format(_T("%f"), dTime); + UpdateData(FALSE); } else if (nType==1) //Խ { @@ -212,3 +227,16 @@ void CTestLibForVCDlg::OnBnClickedButton3() { m_spDev->DeviceStop(); } + + +void CTestLibForVCDlg::OnBnClickedButtonCv() +{ + UpdateData(); + if (!m_spDev->DeviceIsOpen()) return; + + m_spDev->SetIRValue(FALSE, 100); + m_spDev->SetCVParams(3,1,1,2,2,0.01,100,3); + + Sleep(500); + m_spDev->DeviceStart(); +} diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVCDlg.h b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVCDlg.h similarity index 90% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVCDlg.h rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVCDlg.h index fe4f086..ba927ab 100644 --- a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/TestLibForVCDlg.h +++ b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/TestLibForVCDlg.h @@ -37,4 +37,9 @@ public: float m_nOcpTime; afx_msg void OnBnClickedButton2(); afx_msg void OnBnClickedButton3(); + afx_msg void OnBnClickedButtonCv(); + // m_sPot + CString m_sPot; + CString m_sI; + CString m_sT; }; diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/res/TestLibForVC.ico b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/res/TestLibForVC.ico similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/res/TestLibForVC.ico rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/res/TestLibForVC.ico diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/res/TestLibForVC.rc2 b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/res/TestLibForVC.rc2 similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/res/TestLibForVC.rc2 rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/res/TestLibForVC.rc2 diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/resource.h b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/resource.h similarity index 81% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/resource.h rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/resource.h index 4f3f28b..5f54183 100644 Binary files a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/resource.h and b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/resource.h differ diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/stdafx.cpp b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/stdafx.cpp similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/stdafx.cpp rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/stdafx.cpp diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/stdafx.h b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/stdafx.h similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/stdafx.h rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/stdafx.h diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/targetver.h b/non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/targetver.h similarity index 100% rename from non_academic_paper_references/equipment_manuals/potentiostat/CSStudio6 SDK(.dll)/VC examples/TestLibForVC/targetver.h rename to non_academic_paper_references/equipment_manuals/potentiostat/VC实例/TestLibForVC/targetver.h diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/csstudio6-DPV.py b/non_academic_paper_references/equipment_manuals/potentiostat/csstudio6-DPV.py new file mode 100644 index 0000000..aba49ca --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/csstudio6-DPV.py @@ -0,0 +1,31 @@ +from win32com import client +import time + +s = client.Dispatch('{82423ECF-EFC0-47E0-8AB0-35ADE2CD3EEF}') +#寻找设备 +print(s.FindDevice()) + +#打印序列号 +if s.DeviceIsOpen(): + print(s.GetSerialNumber()) +else: + sys.exit() +time.sleep(1) +#读取开路电位 +print(s.GetOcpValue()) +#测试方法参数设置 以下为等待3s 起始0.5V 终止0.1V 电位增量0.004V 振幅0.05V 脉冲宽度0.05s 脉冲周期0.5s 采样宽度10ms +s.SetDPVParams(3,0.5,0.1,0.004,0.05,0.05,0.5,10) +time.sleep(1) +s.DeviceStart() + +#读取返回的数据量和数据值 +while s.ExpIsEnd()==False: + print(s.GetValuesCount()) + print(s.GetLastValue()) + time.sleep(1) +#测量结束 +print(s.GetValuesCount()) +print(s.GetLastValue()) + +#断开 +s.DeviceDisconnect() \ No newline at end of file diff --git a/non_academic_paper_references/equipment_manuals/potentiostat/csstudio6.py b/non_academic_paper_references/equipment_manuals/potentiostat/csstudio6.py new file mode 100644 index 0000000..c157cf1 --- /dev/null +++ b/non_academic_paper_references/equipment_manuals/potentiostat/csstudio6.py @@ -0,0 +1,38 @@ +from win32com import client +import time + +s = client.Dispatch('{82423ECF-EFC0-47E0-8AB0-35ADE2CD3EEF}') +#寻找设备通道一 +print("寻找设备通道一") +print(s.FindDeviceByName("192.168.0.7:1031")) + +s2 = client.Dispatch('{82423ECF-EFC0-47E0-8AB0-35ADE2CD3EEF}') +#寻找设备通道二 +print("寻找设备通道二") +print(s2.FindDeviceByName("192.168.0.7:1032")) + + +#打印序列号 +if s.DeviceIsOpen(): + print(s.GetSerialNumber()) +else: + sys.exit() +time.sleep(1) +#读取开路电位 +print(s.GetOcpValue()) +#测试方法参数设置 以下为60Hz频率 采样100秒 +s.SetOcpParams(100.0,60.0) +time.sleep(1) +s.DeviceStart() + +#读取返回的数据量和数据值 +while s.ExpIsEnd()==False: + print(s.GetValuesCount()) + print(s.GetLastValue()) + time.sleep(1) +#测量结束 +print(s.GetValuesCount()) +print(s.GetLastValue()) + +#断开 +s.DeviceDisconnect() \ No newline at end of file