- Dec 03 Wed 2014 15:50
-
PCI-8164四軸馬達控制卡
資料來源: http://www.adlinktech.com/big5/news/productnews.php?file=products/p9.htmPCI-8164是淩華科技最新推出的四軸步進馬達和伺服馬達運動控制卡。PCI-8164是PCI-8134的增強版,它採用Nippon Pulse Motor PCL6045最新型的運動控制晶片,提供6.55MHz的最大脈衝輸出,可應用在需要高速運動和精密定位之機械設計。PCI-8164的功能包括:四軸、任意二軸、以及三軸直線補間;任意二軸圓弧補間;和連續補間。
- Dec 01 Mon 2014 15:26
-
安裝ADLINK 8158八軸卡驅動程式 MotionCreatorPro
- Nov 27 Thu 2014 11:29
-
運動控制卡應用
看了網路上凌華介紹有關8軸卡的應用影片, 其中提到飛剪/追剪名詞, 並不是很明白, google大神節錄下列訊息:資料來源: 電子凸輪應用的地方?
飛剪、追剪、包裝、排線....
其實有幾個共同點,都是相同動作,連續重覆,都有一個主動軸(感應馬達)
飛剪:主馬達拉料,達一定長度後,開始啟動圓型刀(伺服),此時圓型刀的切速度要跟主馬達一致。
飛剪、追剪、包裝、排線....
其實有幾個共同點,都是相同動作,連續重覆,都有一個主動軸(感應馬達)
飛剪:主馬達拉料,達一定長度後,開始啟動圓型刀(伺服),此時圓型刀的切速度要跟主馬達一致。
- Nov 25 Tue 2014 17:35
-
C# 2進位字串
Convert.ToString(數值, 基底)example 1.Convert.ToString(5, 2) 結果: 101example 2. 補齊4位數Convert.ToString(5, 2).PadLeft(4,'0') 結果: 0101
1: int action = 1; // 0:display, 1:write, 2:erase
2: int block = 1; // 0~15, block number
3: string para = Convert.ToString(action, 2).PadLeft(4, '0') + Convert.ToString(block, 2).PadLeft(4, '0');
4: int data = Convert.ToInt32(para, 2);
5: byte b = byte.Parse(data.ToString());
- Nov 19 Wed 2014 03:43
-
ComboxBox加入影像

加入小圖案目錄夾至專案命名資料夾bmp加入->現有項目複選a~d四張bmp照片宣告全域變數private ImageList G_ImageList;滑鼠double click專案中Properties資料夾, 選擇<資源>, <加入資源>下拉點選<加入資源>下拉點選<加入現有檔案>加入後如下:========================================================================
- Nov 15 Sat 2014 10:29
-
特殊形狀的視窗

變更Form1的FormBoarderStyle 屬性從“Sizable” 改成 “None” 打開Form1_Designer.cs加入下列this.TransparencyKey = System.Drawing.SystemColors.Control;
1: protected override void OnPaint(PaintEventArgs e)
2: {3: e.Graphics.DrawImage((Image)bmp, new Point(0, 0));
4: }5: private void Form1_Load(object sender, EventArgs e)
6: {7: string sDir = System.IO.Directory.GetCurrentDirectory();
8: bmp = new Bitmap(sDir + "\\images.png");
9: bmp.MakeTransparent(Color.Blue); 10: }
- Nov 15 Sat 2014 08:39
-
安裝佈署InstallShield Setup

會進入一個頁面提示下載InstallShield網址=====================================================================Visual Studio 2010 –> New Project –> 其他專案類型 –> 安裝和佈署->InstallShiels Limited Edition Project勾選第一個輸入剛才原廠寄給你的啟動碼(check E-mail for serial number)
- Nov 12 Wed 2014 16:06
-
從上次關閉位置啟動表單

using Microsoft.Win32;起始位置: WindowsDefaultLocationregedit
1: private void Form1_Load(object sender, EventArgs e)
2: {3: RegistryKey rkey1, rkey2; //宣告註冊表物件
4: rkey1 = Registry.CurrentUser; //取得目前用戶註冊表項
5: try
6: {7: rkey2 = rkey1.CreateSubKey("Software\\MySoft");
8: this.Location = new Point( Convert.ToInt16(rkey2.GetValue("x")), Convert.ToInt16(rkey2.GetValue("y")) );
9: }10: catch(Exception exc)
11: { 12: MessageBox.Show(exc.ToString()); 13: } 14: } 15: 16: private void Form1_FormClosed(object sender, FormClosedEventArgs e)
17: { 18: RegistryKey rkey1, rkey2; 19: rkey1 = Registry.CurrentUser;20: try
21: {22: rkey2 = rkey1.CreateSubKey("Software\\MySoft");
23: rkey2.SetValue("x", this.Location.X.ToString());
24: rkey2.SetValue("y", this.Location.Y.ToString());
25: }26: catch
27: { 28: } 29: }
- Nov 12 Wed 2014 14:28
-
C#泛型資料型態

1: class StaffInfo<T>
2: {3: public T Num;
4: public T Name;
5: public T Sex;
6: public T Age;
7: public T Birth;
8: public T Salary;
9: }
- Nov 12 Wed 2014 04:44
-
虛擬方法與重寫方法

1: class Operation
2: {3: public virtual double operation(int x, int y)
4: {5: return x * y;
6: } 7: }8: class Addition : Operation
9: {10: public override double operation(int x, int y)
11: {12: return (x + y);
13: } 14: } 15: 16: private void button1_Click(object sender, EventArgs e)
17: {18: if (comboBox1.SelectedIndex == 0)
19: {20: Operation multiplication = new Operation();
21: txtResult.Text = multiplication.operation( Convert.ToInt32(txtNum1.Text.Trim()), Convert.ToInt32(txtNum2.Text.Trim() )).ToString(); 22: }23: else
24: {25: Operation addition = new Addition();
26: txtResult.Text = addition.operation(Convert.ToInt32(txtNum1.Text.Trim()), Convert.ToInt32(txtNum2.Text.Trim())).ToString(); 27: }28: }
- Nov 11 Tue 2014 22:00
-
Abstract Class and Its Derived Class

Define an abstract class named Poly
1: public abstract class Poly
2: {3: private int r = 0;
4: public int R
5: { 6: get 7: {8: return r;
9: } 10: set 11: {12: r = value;
13: } 14: }15: public abstract double Area();
16: }
- Nov 11 Tue 2014 10:48
-
如何將執行緒運算結果顯示於人機介面上?

