Skip to content Skip to navigation Skip to collection information

Connexions

You are here: Home » Content » LabVIEW Graphical Programming » Temperature System VI

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • NSF Partnership display tagshide tags

    This module is included inLens: NSF Partnership in Signal Processing
    By: Sidney BurrusAs a part of collection: "LabVIEW Graphical Programming Course"

    Click the "NSF Partnership" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • National Instruments display tagshide tags

    This module is included in aLens by: National InstrumentsAs a part of collection: "LabVIEW Graphical Programming Course"

    Comments:

    "A full introductory course on programming with LabVIEW."

    Click the "National Instruments" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • Lens for Engineering

    This module is included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

  • eScience, eResearch and Computational Problem Solving

    This module is included inLens: eScience, eResearch and Computational Problem Solving
    By: Jan E. OdegardAs a part of collection: "LabVIEW Graphical Programming Course"

    Click the "eScience, eResearch and Computational Problem Solving" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Temperature System VI

Module by: National Instruments. E-mail the author

Summary: Our goal is to set keyboard shortcuts for front panel controls and display a subVI front panel when a VI runs. Complete the following steps to build a temperature monitoring system you can use to view three different tests on request.

Exercise 1

1.a) Front Panel

  1. Open the Temperature System VI located in the C:\Exercises\ LabVIEW Basics I directory. The following front panel is already built.
    Figure 1
    Figure 1 (tempsys.png)
    The front panel contains four Boolean buttons. The mechanical action of the first three buttons is Latch When Pressed. This setting changes the control value when you click it and retains the new value until the VI reads it once. At this point the control reverts to its default value, even if you keep pressing the mouse button. This action is similar to a circuit breaker and is useful for stopping While Loops or for getting the VI to perform an action only once each time you set the control. The mechanical action of the Stop button is Latch When Released. This setting changes the control value only after you release the mouse button within the graphical boundary of the control. When the VI reads it once, the control reverts to the old value. This action guarantees at least one new value. This action is similar to dialog box buttons and system buttons.
  2. Right-click a control and select Advanced>>Key Navigation from the shortcut menu to display the Key Navigation dialog box.
  3. In the Key Assignment section, assign the shortcut key shown in the Figure 1.
  4. Repeat Item 2 and Item 3 for each control.

1.b) Block Diagram

  1. Examine the block diagram which is already built.
    Figure 2
    Figure 2 (tempsysbd.png)
    • disptempicon.png The Display Temp VI simulates a temperature measurement every 500 ms and plots it on a strip chart.
    • displogtempicon.png The Display and Log Temp VI simulates a temperature measurement every 500 ms, plots it on a strip chart, and logs it to a file.
    • disploggedtempicon.png The Display Logged Temp VI opens a file that you select, reads the logged data, and displays them on a graph.
  2. Configure each subVI to display its front panel when called.
    1. Right-click the subVI and select SubVI Node Setup from the shortcut menu.
    2. Place checkmarks in the Show Front Panel when called and Close afterwards if originally closed checkboxes.
    3. Click OK to close the SubVI Node Setup dialog box.
    4. Repeat Item 10 through Item 12 for the remaining two subVIs.
  3. Save the VI. Display the front panel and run the VI.
  4. Click each button and press the corresponding keyboard shortcuts. The three subVIs return to the Temperature System VI front panel when you press the <Enter> key. Try pressing the <Enter> key to do so.
  5. Stop the VI.
  6. Configure the Temperature System VI to run automatically when you open the VI.
    1. Select File>>VI Properties.
    2. Select Execution from the Category pull-down menu.
    3. Place a checkmark in the Run When Opened checkbox.
  7. Configure the VI so the menu bar and toolbar are not visible while the VI runs.
    1. Select Window Appearance from the Category pull-down menu.
    2. Click the Customize button.
    3. Remove the checkmarks from the Show Menu Bar and Show Toolbar When Running checkboxes.
    4. Click the OK button twice.
  8. Save and close all VIs.
  9. Open the Temperature System VI again. The VI runs automatically when you open it. Click the buttons on the front panel or use the keyboard shortcuts.
  10. Stop and close all VIs.

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks