National Instruments™, NI™, ni.com™ and LabVIEW™ are trademarks of National Instruments Corporation. Product and company names mentioned herein are trademarks or trade names of their respective companies.
© Copyright 1998–2006 National Instruments Corporation. All rights reserved.
Version 3.1
Thank you for using NI-SWITCH.
This file contains important information about NI-SWITCH, and is organized into the following sections:
New Features in NI-SWITCH 3.1
Supported Hardware
System Requirements
Installed File Names and Locations
Software
Documentation
Examples
Uninstalling/Modifying NI-SWITCH
Obsolete VIs and Functions
Known Issues
Changes by Release
New Features in NI-SWITCH 3.1
Support for the NI-PXI 2584 switch module
Support for relay maintenance in the NI-SWITCH Soft Front Panel
Supported Hardware
NI-SWITCH 3.1 now supports the following switch modules:
NI SCXI-1127/1128/1129/1130/1160/1161/1163R/1166/1167/1169/1175/1190/1191/1192/1193/1194/1195
NI PXI-2501/2503/2527/2529/2530/2532/2564/2565/2566/2567/2568/2569/2570/2575/2576/2584/2585/2586/2590/2591/2593/2594/2595/2596/2597/2598/2599
System Requirements
NI-DAQmx, Traditional NI-DAQ (Legacy), and NI-SWITCH 3.1 support Windows XP/2000. It is recommended that you have the most recent service pack for your operating system installed. Earlier versions of NI-SWITCH/NI-DAQ support other operating systems. To find and download an earlier version of a driver that supports other operating systems, refer to ni.com/downloads.
Minimum System
Processor—Pentium 200 MHz or equivalent
RAM—64 MB
A screen resolution of 800×600 with 256 colors
Windows 2000/XP, with all available critical updates and service packs
Recommended System
Processor—Pentium III/Celeron 600 MHz or equivalent
RAM—256 MB
A screen resolution of 1024×768
Windows 2000/XP or later, with all available critical updates and service packs
Application Development Environments (ADEs)
LabVIEW 7.0 or later
LabVIEW Real-Time Module 7.1 or later
LabWindows™/CVI™ 7.0 or later
Microsoft Visual C++ (MSVC) 6.0 or later
Installed File Names and LocationsSoftware
Item
Installed Location
NI-SWITCH
Program Files\IVI\Drivers\niSwitch
Documentation
Program Files\IVI\Drivers\niSwitch\Documentation
NI-SWITCH LabVIEW 7.x support
Program Files\National Instruments\LabVIEW 7.x\instr.lib\niSwitch
NI-SWITCH LabVIEW 8.x support
Program Files\National Instruments\LabVIEW 8.x\instr.lib\niSwitch
NI-SWITCH LabVIEW Examples
Program Files\IVI\Drivers\niSwitch\Examples\LabVIEW
NI-SWITCH CVI support
Program Files\IVI\Drivers\niSwitch
NI-SWITCH CVI Examples
Program Files\IVI\Drivers\niSwitch\Examples\CVI
NI-SWITCH Measurement Studio Examples
Program Files\IVI\Drivers\niSwitch\Examples\Measurement Studio
NI-SWITCH VB Examples
Program Files\IVI\Drivers\niSwitch\Examples\VB
SWITCH-SFP (Soft Front Panel)
Program Files\IVI\Drivers\niSwitch
NOTE NI-SWITCH also requires installation of NI-DAQ 8.1, NI-VISA 3.5, Measurement & Automation Explorer 4.0, and the IVI Compliance Package 2.3, which are included in the NI-SWITCH 3.1 installation distribution.
Documentation
Most documentation is available at Start»All Programs»National Instruments»NI-SWITCH»Documentation. The documentation set is composed of the following documents:
NI-SWITCH Readme File
Printed format. Includes safety instructions and information about the radio-frequency interference characteristics of the hardware it accompanies.
Readme First: Safety and Radio-Frequency Interference
Printed format. Includes safety instructions and information about the radio-frequency interference characteristics of the hardware it accompanies.
NI Switches Getting Started Guide
Printed and PDF format. Includes hardware and software installation, MAX configuration, and signal connection information.
NI Switches Help
HTML help format. Includes switching fundamentals, device specific information, programming information, tutorials, a LabVIEW VI reference, and LabWindows/CVI, C++, and Visual Basic function references.
NI-SWITCH Instrument Driver Quick Reference Guide
Printed and PDF format. Lists the VIs/functions and their associated parameters and data types available with NI-SWITCH.
Switch Soft Front Panel Help
HTML help format. Includes step-by-step information about how to use the Switch Soft Front Panel (SFP) to test the basic functionality of your switch module and troubleshoot your applications.
NI Switch Module Specifications
Printed and PDF format. Lists specifications for each NI switch module.
NI Accessory Installation Instructions (Optional)
Printed and PDF format. Lists NI switch module accessory installation information.
Examples
The example set covers immediate operations, synchronous scanning, handshaking, and software triggering. A complete example list is available in the NI Switches Help.
ADE
Location
LabVIEW
<LabVIEW>\examples\intr\niSwitch
LabWindows/CVI
Program Files\IVI\Drivers\niSwitch\Examples\CVI
Measurement Studio
Program Files\IVI\Drivers\niSwitch\Examples\Measurement Studio
C
Program Files\IVI\Drivers\niSwitch\Examples\C
Visual Basic
Program Files\IVI\Drivers\niSwitch\Examples\VB
Uninstalling/Modifying NI-SWITCH
For Windows 2000/XP, complete the following steps to modify or uninstall NI-SWITCH:
Open the Control Panel from the Start»Control Panel Menu and select Add or Remove Programs.
Select National Instruments Software from the list provided and click Change or Remove.
Select NI-SWITCH 3.x from the list provided and choose Modify or Remove.
Obsolete VIs and Functions
Easy niSwitch CIN VI/function
Easy niSwitch Close VI/function
Easy niSwitch Open VI/function
niSwitch Connect and Wait VI/function
niSwitch Control a Single Switch VI/function
niSwitch Disconnect and Wait VI/function
niSwitch EasyIO Connect VI/function
niSwitch EasyIO Disconnect VI/function
niSwitch EasyIO Reset VI/function
niSwitch EasyIO Scan VI/function
niSwitch EasyIO Scanning Acquisition VI/function
niSwitch Query a Single Switch VI/function
niSwitch Scan VI/function
niSwitch Scanning Acquisition VI/function
niSwitch Error-Query VI/function
niSwitch Get Error Info VI/function
niSwitch Write Calibration Data VI/function
niSwitch Read Calibration Data VI/function
Known Issues
The following are known issues for NI-SWITCH 3.1:
If reverting back to NI-SWITCH 1.6 from NI-SWITCH 3.1, you must uninstall NI-SWITCH 3.1 and reinstall NI-SWITCH 1.6.
Various support files, such as .h and .lib files, are installed in \Program Files\IVI and \VXIpnp directories to support ADEs that only recognize the \VXIpnp directory.
SCXI-1127 (Rev D and earlier) continuously drives the TTL1 trigger line on the SCXI backplane. This does not allow bus sharing of TTL1 with other SCXI modules. NI-SWITCH returns an error if an SCXI-1127 is in the chassis and if TTL1 is being used for scanning. If using the NI-DAQmx driver for your SCXI system, you get a resource reservation error if you try to perform a switching or signal conditioning operation that requires use of TTL1.
There are known DLL collision issues with the Microsoft Visual Basic debugger and a National Instruments device driver using Traditional NI-DAQ (Legacy). A support DLL used by NI-SWITCH fails to load if Visual Basic has already loaded another DLL into the same address space. To change the default address that is used to load the driver DLL, create the following registry key:
where the value is a DWORD (0x44000000 generally works).
For the change to take effect, you must close and restart all applications after adding the registry key.
The niSwitch DMM Switch Handshaking example for LabVIEW was updated with NI-DMM 2.2. If you have an earlier version of NI-DMM installed, the VI is inoperable.
To use the example with NI-DMM 2.1.2 or earlier, delete the AUX Trig 1 case from the case structure connected to Sample Trigger Source in the niDMM Configure Multi Point VI.
NI-DMM 2.2 introduces a new enumerated value, AUX Trig 1.
Changes by Release3.1 from 3.0
Support for the NI PXI-2584 switch module
3.0 from 2.5
Support for the NI PXI-2576/2584/2594/2595/2596/2597/2598/2599 and NI SCXI-1194/1195 switch modules
2.5 from 2.4
Support for the NI PXI-2527 switch module
Added new topologies for the NI PXI-2530, NI-PXI 2532, and the NI SCXI-1130