Measurement Studio Support for Visual Studio 6.0 Readme
Measurement Studio Support for Visual Studio 6.0 provides ActiveX controls
for use in Visual Basic 6.0 and Visual C++ class libraries for use in Visual C++ 6.0.
Measurement Studio Support for Visual Studio 6.0 is Measurement Studio 6.0
with the addition of an installer that includes updates to the following components:
- Traditional NI-DAQ ActiveX controls
- User Interface ActiveX controls
- IVI ActiveX controls
- Visual C++ User Interface class library
- Visual C++ NI-488.2 class library
Note LabWindows/CVI is not
included with Measurement Studio Support for Visual Studio 6.0. LabWindows/CVI is
included as a separate installer with Measurement Studio 7.0 Enterprise Edition.
This file contains the following sections:
Known Issues in Measurement Studio Support for Visual Studio 6.0
Refer to the Measurement Studio for Visual Basic Version 6.0 readme and the
Measurement Studio for Visual C++ Version 6.0 readme for more information on features, distribution,
upgrading, and known issues. These readmes are installed to Start»Programs»National
Instruments»Measurement Studio»Readme Files.
Visual Basic
To use the Measurement Studio ActiveX controls, your computer must have the following:
- Microsoft Windows 2000/NT/Me/98 operating system (Windows NT users need NT 4.0 with Service Pack 3 or later)
- ActiveX control container such as Microsoft Visual Basic (32-bit version)
- Appropriate hardware and driver software if you are going to use a Measurement Studio I/O hardware control
- Pentium-class microprocessor (Pentium 90 MHz or higher microprocessor recommended)
- VGA resolution (or higher) video adapter (16-bit color recommended for the user interface and 3D graph controls)
- Memory requirements:
- 32 MB for Microsoft Windows 98 or later (48 MB recommended)
- 32 MB for Microsoft Windows NT (48 MB recommended)
- 64 MB of memory for Microsoft Windows Me and Microsoft Windows 2000
- Minimum of 85 MB of free hard disk space for the Measurement Studio for Visual Basic Full Development System
- Microsoft-compatible mouse
Visual C++
To use the Measurement Studio Visual C++ class libraries, your computer must have the following:
- Windows 2000/NT/Me/98 (Windows NT users need Windows NT Service Pack 3 or later)
- Pentium 133 MHz (Pentium 266 MHz or higher recommended)
- 32 MB RAM (62 MB recommended)
- 132 MB free disk space
- Microsoft Visual C++ 6.0 and Service Pack 3 or later
Note If you have a version of
ComponentWorks installed on your computer, uninstall that version before installing Measurement Studio.
To uninstall ComponentWorks, select Start»Settings»Control Panel»Add/Remove
Programs. Select NI ComponentWorks from the list of programs and press
the Add/Remove button.
Note to Windows 2000/NT Users You must
be logged in to your computer with administrator privileges to install Measurement Studio. Otherwise,
the setup program might produce a blank dialog error or an error stating "You must have system
administrator privileges to install or modify this product."
Note to LabVIEW Users If you install
any component of Measurement Studio and NI-DAQ 6.7 or earlier on your machine and you then install
LabVIEW 6i, the LabVIEW 6i installer will remove the NI-DAQ support for Measurement Studio. If the
LabVIEW 6i installer removes the NI-DAQ support for Measurement Studio, you must download and install
NI-DAQ 6.8 or later to restore the NI-DAQ support for Measurement Studio. To download NI-DAQ, go
to http://digital.ni.com/softlib.nsf/current,
select Multifunction DAQ, and then select NI-DAQ 6.8 or later.
- Install driver software and hardware if you need to acquire data or control instruments in your
program. Driver software performs the low-level calls to your hardware. You must install and configure
the corresponding driver software and hardware before you can use any of the Measurement Studio hardware
I/O controls or class libraries, including the DAQ, GPIB, Serial, VISA, IVI, and IMAQ controls.
Some Measurement Studio ActiveX controls and class libraries require features provided only in the newest
versions of the driver. You can download the most current driver from the National Instruments Web
site at ni.com.
- Install your hardware device. Refer to your hardware installation guide for information.
- Configure your device with National Instruments Measurement & Automation Explorer (MAX).
After configuring your hardware, MAX contains information about the hardware that you might need to
use the Measurement Studio I/O controls and class libraries. For example, use the device number from MAX to specify
a device with an I/O control.
- Insert the Measurement Studio Support for Visual Studio 6.0 CD in the CD drive of your computer. If the CD startup screen does
not appear, use Windows Explorer to run the SETUP.EXE program from your CD.
- If you do not already have Measurement Studio 6.0 installed, click Install NI Measurement
Studio 6.0 and follow the instructions on the screen. If you do have Measurement Studio 6.0
installed, go to step 6 of this list.
- Click Update NI Measurement Studio 6.0 and follow the instructions on the screen.
-
If you install newer, unlicensed versions of Measurement Studio ActiveX
controls on a machine that has previously licensed versions of the Measurement
Studio controls, the controls might exhibit one of the following behaviors:
-
The licensed controls become evaluation software for 30 days.
-
The licensed controls do not let you use functionality that was present in the
licensed version.
Fix these states by using the Measurement Studio ActiveX License Fixer Utility located
on your CD in the ActiveX License Fixer Utility folder.
-
If you install older, licensed versions of Measurement Studio ActiveX
controls on a machine that has newer, unlicensed versions of the Measurement
Studio controls, the controls might exhibit evaluation software behavior for 30 days.
Fix this state by using the Measurement Studio ActiveX License Fixer Utility located
on your CD in the ActiveX License Fixer Utility folder.
-
If you have installed Measurement Studio 7.0 on a machine that has prior
versions of the Measurement Studio user interface and 3D graph controls
and then uninstall Measurement Studio 7.0, the controls might exhibit
evaluation software behavior for 30 days.
Fix this problem by using the Measurement Studio ActiveX License Fixer
Utility located on your CD in the ActiveX License Fixer
Utility folder.
(Applications that install prior versions of the Measurement Studio user
interface and 3D graph controls include ComponentWorks 2.0, Measurement
Studio 1.0, Measurement Studio 6.0, and LabVIEW 6i).
- When you use NI-DAQ 6.x or Traditional DAQ 7.x, error messages might appear while loading,
executing, or debugging an application. Refer to the
Unusual Error Messages Loading, Executing, or Debugging an Application When Using NI-DAQ 6.x for Windows
article in the KnowledgeBase for information on how to resolve this issue.
- When using the Measurement Studio Visual C++ User Interface or 3D Graph class libraries
on Windows 98 or ME, your application might hang while accessing a method or property
of a control class many times, as in a loop, for example. To work around this problem, you
must initialize each control for access only from a single thread. For example, if you have
a graph named m_graph as a member variable of a dialog box named
CMyDialog, the CMyDialog
constructor would appear as the following:
CMyDialog::CMyDialog :
CDialog(CMyDialog::IDD, pParent),
m_graph(CNiInterface::SingleThread)
This workaround prevents you from accessing the control from a thread other than
the one that created it. If you do need to access the control this way, you must marshal
the interfaces manually or upgrade the OS to Windows 2000 or XP.