我可以使用Visual Basic來和FieldPoint連結嗎?
主要軟體: Measurement Studio
主要軟體版本:
主要軟體修正版本:
次要軟體: N/A
問題: 我可以使用Visual Basic來和FieldPoint連結嗎?
解答: 這是可行的。FieldPoint使用Optomux命令集來達成通訊。在FP-1000/1001的Programmer Reference Manual中有詳述這些命令集。這些命令可以使用Visaul Basic或其他的程式語言透過序列埠來作傳輸。你也可以使用Visual Basic搭配OPC來與FieldPoint連結。在使用手冊中也有提供許多不錯的範例可供參考。
在我們的FTP站上有兩個範例程式教導如何使用Visual Basic與FieldPoint作連結。在下面的附檔文件中也可以找到範例程式。FP.zip詳述Standard command set,FPX.zip則是有關於Extended command set。關於更多詳細的資訊,參考附檔readme.txt檔案。
另外,你也可以使用ComponentWorks DataSocket ActiveX Control搭配OPC來和FieldPoint溝通。在下面的連結文章Application Note 139,Developing an OPC Client Application in Visual Basic,有詳細的步驟介紹如果設定和OPC Servers連結,FieldPoint也包含於其中。
相關連結: Developer Zone Tutorial: Developing an OPC Client Application Using Visual BasicProduct Manuals: FP-1000/1001 Programmer Reference Manual
附加檔案:
- readme.txt
- fpx.zip
- fp.zip
報告日期: 04/02/1998
最後更新: 01/02/2008
文件偏號: 1819MK8U
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.