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

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


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Configuring Class II TEDS Tasks using the SC-2350 Carrier

2 ratings | 4.50 out of 5
Print

Overview

This document describes how to use hardware Transducer Electronic Data Sheet (TEDS) smart sensors with National Instruments signal conditioning Data Acquisition (DAQ) systems that are TEDS enabled. This document provides step-by-step instructions for the configuration process that allows you to see your sensor TEDS file and measure from the sensor in LabVIEW.

Configuring the SC-2350 Carrier & TEDS Sensors

1. Launch Measurement & Automation Explorer (MAX) by double-clicking the desktop icon.

The main MAX configuration window launches, as shown in the following figure.



[+] Enlarge Image

2. Expand Devices and Interfaces using the + icon. Right-click NI-DAQmx Devices»Create New NI-DAQmx Devices»NI-DAQmx SCC Connector Block»SC-2350.

[+] Enlarge Image


3. The SC-2350 Configuration window, shown in the following figure, opens. Keep the DAQ Device and the SCC Connector Block ID as the default.




4. Use the drop-down list to select the appropriate SCC TEDS module and the corresponding location, Jx.




5. The LED to the right of the module is bright green if the sensor is connected, as shown in the following figure.



If the sensor is not connected, then connect it and click the Scan for TEDS button. Click OK.

6. Expand your SC-2350 by clicking the + icon, then expand the module connected to the TEDS sensor and click the TEDS icon, shown in the following figure, to highlight the TEDS sensor.

Once the sensor is highlighted, you can view your TEDS sensor data sheet in the right pane of the window.


After verifying that your TEDS data was imported correctly, create an NI-DAQmx Global Channel or Task using the channel associated with the TEDS sensor.

Creating a Global Channel or Task

1. In MAX, configure the TEDS hardware under NI-DAQmx Devices, then right-click Data Neighborhood»Create New.


[+] Enlarge Image

The Create New window opens, as shown in the following figure.


2. Select NI-DAQmx Task or Global Channel and click Next. Select Analog Input and the appropriate measurement type for the sensor. For example, select Temperature»RTD for an RTD.


[+] Enlarge Image


3. Click the TEDS tab and highlight the configured TEDS channel that you want to use to take the measurement. Click Next.


[+] Enlarge Image


4. Name the task and click Finish.


[+] Enlarge Image


5. After you create a task, ensure that the appropriate settings are configured in the task. Specifically, check Task Timing (the common setting for the Acquisition Mode is Continuous).



6. You can start taking measurements immediately in MAX test panels by clicking the Test button on the task toolbar.

Using LabVIEW to Auto-Generate Code

After configuring the measurement hardware, TEDS channels, and NI-DAQmx measurement task, you can write your measurement application using LabVIEW 7.1 and the NI-DAQmx 7.2 Application Programming Interface (API). Complete the following steps to auto-generate code.

1. Open LabVIEW 7.1. Select New»Blank VI.


[+] Enlarge Image


2. Right-click in the block diagram to open the functions palette. Select All Functions»NI Measurements»NI-DAQmx Data Acquisition palette.




3. Drag the NI-DAQmx Task Name Constant or and drop it on the block diagram. Move your cursor over the drop-down arrow and click once. Select the TEDS task from the drop-down list.


4. Right-click the NI-DAQmx Task Name Constant and select Generate Code»Configuration and Example.


[+] Enlarge Image

Related Links:
KnowledgeBase Entry 36B9F7CW: TEDS Example Programs
2 ratings | 4.50 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial 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 content with each new revision of related products and drivers. THIS TUTORIAL 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/).