Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Measuring the Temperature of the PXI-8196/95 and the PXI-8186/87 Controllers Using LabVIEW

1 ratings | 5.00 out of 5
Read in | Print

Downloads

Filename: pxitemperaturesensor.zip
Requirements: View

This document illustrates how to measure the board and CPU temperature of National Instruments PXI Controllers. The NI-SMBus driver is the driver used to measure the temperature. This driver must be installed manually and should work on the following embedded PXI controllers:

PXI-8186 and PXI-8187
PXI-8195 and PXI-8196

The driver supports LabVIEW RT (7.1, 7.1.1 and 8.0 tested) and Windows (XP tested). The attached zip file contains the driver, support files and the LabVIEW program used to measure the temperature. Follow these instructions to install the driver for each system and measure the temperature of your PXI controller. You need to unzip the attachment to be able to copy the specified files below.

Installing the NI-SMBus driver on LabVIEW RT 7.1, 7.1.1 or 8.0

1. Use the MAX FTP Client to transfer the following files to the remote controller:

Driver\LabVIEW RT\nismbus.dll -> /ni-rt/system
Errors\English\nismbusen-errors.txt -> /ni-rt/system/errors/english

2. On the Windows host, copy the following files to the appropriate location:
Driver\Windows\nismbus.dll -> (C:\Windows\System32)

3. On the Windows host, follow the instructions below in the section titled "Installing the LabVIEW files on Windows".


Installing the NI-SMBus driver on Windows XP

1. Copy the following files from the Driver\Windows directory to the appropriate locations:

nismbus.inf -> \INF (C:\Windows\INF)
nismbusci.dll -> (C:\Windows\System32)
nismbus.dll -> (C:\Windows\System32)
nismbusk.sys -> \Drivers (C:\Windows\System32\Drivers)

2. Open device manager. Look under "System Devices" for the SMBus controller. It should look something like this:

Intel(R) 82801FB/FBM SMBus Controller - 266A

3. Right click on the SMBus Controller and select "Update Driver".

4. On the first screen of the Hardware Update Wizard, select "Install from a list or specific location (Advanced)".

5. On the next screen, select "Don't search. I will choose the driver to install."

6. On the next screen, you are presented with a list of matching devices. One of these should say something like "PXI-8190 series". Select this entry and click Next.

7. The Hardware Update Wizard should then successfully update the driver. There should be a new device class "National Instruments SMBus Controllers" with your PXI controller listed there.

Now that the driver is installed in the system, you need to install the LabVIEW Files. Below are instructions on how the files are installed.

Installing the LabVIEW files on Windows XP

1. NIDIR is where all of your National Instruments software is installed, such as C:\Program Files\National Instruments.

2. Copy the files under Errors\English to \Shared\Errors\English.

2. Copy the directory LabVIEW\\resource\objmgr\nismbus to your LabVIEW installation at \LabVIEW \resource\objmgr.

3. You should now be able to run the "Read PXI Controller Temperature" VI to read the PXI controller temperature

Requirements


Filename: pxitemperaturesensor.zip

Software Requirements


Application Software: LabVIEW Base Development System 7.1, LabVIEW Base Development System 8.0, LabVIEW Base Development System 7.1.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: PXI/CompactPCI
Hardware Model: PXI-8186 RT, PXI-8186, PXI-8196 RT, PXI-8195 RT, PXI-8187

 
1 ratings | 5.00 out of 5
Read in | Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).