Monday, 22 May 2017

CHAPTER 2

HELLO, BASICALLY TODAY IM GONNA TALK ABOUT CHAPTER 2 :)
are you excited ? basically chapter 2 about customizing a VI. Well, as we all know every time we do not know symbol or anything we have to use help tab to ask. but today in chapter to i have a solution shortcut for the help tab. From learning this chapter, you will know the shortcuts for cleaning the broken wire, help application, how to create a table reading, time delay, and enable button.

Adding an Express VI That Simulates a Signal


Help»Show Context Help from the front panel or the block 
diagram to display the Context Help window, shown in Figure below 
You also can press the <Ctrl-H> keys to display the Context Help window. For (Mac OS) Press the <Command-Shift-H> keys


Searching the Help and Modifying a Signal


next is how do we Searching the Help and Modifying a Signal?


TIPS➽Quick Drop dialog box by enabling the Load palettes during launch radio button on the Controls/Functions Palette page of the Options dialog box





Customizing a User Interface from the Block Diagram

In the previous exercises, you added controls and indicators to the front panel using the Controls palette. You also can create controls and indicators from the block diagram. below show that a simple block diagram for the creating a sine wave form by calculating  the mean. then for customizing putting an enable button to remove the noise 


Firstly, to search all the function you may push your right click mouse.

Example of the function





Below is the example of the block diagram.



                                                                               

Configuring a VI to Run Continuously until the User Stops It 


To run the VI until a condition occurs, you can use a While Loop.

  1. Display the front panel and run the VI. The VI runs once and then stops. The front panel does not have a stop button.
  2. Display the block diagram.
  3.  Click the Search button, shown at left, on the Functions palette, and enter While in the text box. LabVIEW searches as you type the first few letters and displays any matches in the search results text box.

If there are objects with the same name, use the information in the brackets to the right of each object name to decide which object to select. Some objects are located on multiple palettes because you can use them for multiple applications.


The VI now runs until you click the STOP button. A While Loop executes and functions inside the loop until the user clicks the STOP button.



Using the Error List Window

Below is the example error. if its run the errorwill be alert you to repair the error before run.


  • In the errors and warnings list, double-click the Wire: has loose ends error to highlight the broken wire.
  • Press the <Ctrl-B> keys to delete the broken wire
  • Select View»Error List to display the Error list window. No errors appear in the errors and warnings field.

TIPS➽Pressing the <Ctrl-B> keys deletes all broken wires on the block diagram.
You can press the <Delete> key to delete only the selected wire


Controlling the Speed of Execution

  • Find this type of function below 

  • Enter 0.25 in the Time delay (seconds) text box









  • Click the OK button to save the current configuration and close the Configure Time Delay dialog box
  • Click the Enable switch and examine the change on the graph.


Using a Table to Display Data

On the Controls palette search for the Express Table indicator and add it to the right of the waveform graph

  • Search for a table function 



  • Put in the block diagram just now that been construct 




  •  Use the Wiring tool to wire the Mean output of the Sample Compression Express VI to the Signals input of the Build Table Express VI.


  • Click the Enable switch. 

  • If the Enable switch is on, the table displays the mean values of every 25 samples of the sine wave. If the Enable switch is off, the table does not record the mean values



    That's all from me !!!  see you in another chapter


    below are the shortcut as i promise earlier








    No comments:

    Post a Comment