NI-DAQmx、NI-VISA および NI-488.2 の.NETサンプルの保存場所



使用ソフトウェア:
使用ソフトウェア・バージョン: 8.1.1
使用ソフトウェア・バージョンに特化: 8.1.1
二次のソフトウェア: Driver Software>>NI-488.2, Driver Software>>NI-DAQmx, Driver Software>>NI-VISA

問題:

NI-SCOPE、 NI-DAQmx、 NI-VISA、および  NI-488.2の.NETのサンプルはどこに保存されていますか。



解決策:

.NETのサンプルがインストールされるディレクトリはドライバのバージョン、Visual Studio またはサンプルがサポートしている.NET Framework、インストールされているMeasurement Studioのバージョン、OSの種類に依存します。


Windows7では、.NETサンプルはスタートメニューから開くことができます。すなわち、以下の通りです。
  • Measurement Studio のサンプルは、スタートメニュー»すべてのプログラム»National Instruments»Measurement Studio 201x for Visual Studio 201x».NET Examplesにあります。
    なお、 "201x" はMeasurement Studioのバージョンを表しています。 
  • NI-DAQmx のサンプルは、スタートメニュー»すべてのプログラム»National Instruments»NI-DAQmx»Text-Based Code Support»NI DAQmx .NET x.x Examplesにあります。
    なお、".NET x.x" は使用している.NETのバージョンを表しています。  
  • NI-VISAのサンプルは、スタートメニュー»すべてのプログラム»National Instruments»VISA»Examplesにあります。その場所から、使用している.NETのバージョンを選択してください。

以下の表は、Windows 7におけるいくつかのNI ドライバーの保存場所、および、Windows XPにおける、Measurement Studioのサンプルの保存されている場所を示しています。Windows 7では、ほとんどのサンプルはパブリックのドキュメントの中の該当するソフトウェアのフォルダ内にあることに注意してください。

 

製品

サンプルの保存場所

Windows 7/Vista

Measurement Studio 2010以降

Users\Public\Documents\National Instruments\MStudioVS2010\DotNET\Examples

 

NI-DAQmx

Users\Public\Documents\National Instruments\NI-DAQ\Examples

 

NI-VISA

Users\Public\Documents\National Instruments\NI-VISA\Examples

 

NI-488.2

Users\Public\Documents\National Instruments\NI-488.2\Examples

 

NI-SWITCH

Users\Public\Documents\National Instruments\NI-SWITCH\examples

Windows XP

Measurement Studio 2010以降

Documents and Settings\All Users\Documents\National Instruments\MStudioVS2010\DotNET\Examples


Windows Vistaにおける、.NETのサンプル保存場所は添付スクリーンショット Windows Vista .NET Example Locations.jpg を参照してください。このスクリーンショットはNI Measurement Studio Help の Where to Find Examples のトピックから取得しています。

Windows XP/2000における、.Netのサンプル保存場所は、添付スクリーンショット Windows XP_2000 .NET Example Locations.jpg を参照してください。このスクリーンショットはNI Measurement Studio Help の Where to Find Examples のトピックから取得しています。



関連リンク:
KnowledgeBase 488DF36S: NI-DAQmx, NI-VISA, and NI-488.2 Visual C++ Example Locations
Example Program: Data Acquisition in C# .NET Interactive Tutorial Code
Example Program: Data Acquisition in Visual Basic .NET Interactive Tutorial Code


添付:


Windows Vista .NET Example Locations.jpg - Windows Vista .NET Example Locations.jpg
Windows XP_2000 .NET Example Locations.jpg - Windows XP_2000 .NET Example Locations.jpg



報告日時: 03/13/2007
最終更新日: 07/03/2014
ドキュメントID: 47CCSQ5B