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

On/Off Temperature Control with LabVIEW and FieldPoint Using [c]FP-TC-120 and [c]FP-DO-401

5 ratings | 4.20 out of 5
Print

Downloads

Filename: temperature_control.vi
Requirements: View

This VI shows how use Relay.vi to implement a closed-loop control strategy to control an analog process variable such as room temperature. The feedback signal is a thermocouple measurement of the room temperature. The control output turns the heating unit on if the room is too cold and off if the room is too warm.
I/O Connections:
1. Connect the thermocouple signal to Channel 0 of the [c]FP-TC-120.
2. Connect the heating unit control to Channel 0 of the [c]FP-DO-401.

Setup:
1. Edit your comm resource from the FieldPoint software and click Find Devices.
2. Configure the channel ranges using the FieldPoint software.
3. Save your .iak file.
4. Verify that the configuration information above matches the names in the FieldPoint software. If not, edit the values listed above.
5. Close the FieldPoint software.
6. Run the VI.
Using the VI:
1. There are two inputs: the set temperature and the hysteresis.
2. Adjust the set temperature to the temperature you want the room to be.
3. Adjust the hysteresis to determine at what temperatures the digital output is turned on and off. For example, if the hysteresis is set to 2, and the set temperature is 21 degrees, the relay will turn on at 19 degrees and off at 23 degrees.
Because this is a software-timed control system, the Loop Delay controls the rate of acquisition and generation.


Related Links:
LabVIEW PID Control Toolset for Windows

Requirements


Filename: temperature_control.vi

Software Requirements


Application Software: LabVIEW Full Development System 6.1
Toolkits and Add-Ons: LabVIEW PID Control Toolkit
Language(s): LabVIEW

Hardware Requirements


Hardware Group: FieldPoint

 
5 ratings | 4.20 out of 5
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/).