TAILIEUCHUNG - Microprocessor Interfacing Techniques Lab VIEW Tutorial Part 2

Microprocessor Interfacing Techniques Lab VIEW Tutorial Part 2 | PHY 406 - Microprocessor Interfacing Techniques PHY 406 - Microprocessor Interfacing Techniques LabVIEW Tutorial - Part II A Simple Example A Very Simple Example A very long time ago or yesterday depending upon your age it was suggested that if you could write a program to say hello world on the teletype this was a long time ago you had probably done about 90 of the required work in learning the programming language. At a minimum you had mastered the basics. I am going to help you do the same thing in LabVIEW but the example is 2 x 3 6 This will take some time because I want to go into some details about things so bear with me and please actually do the example Open LabVIEW. Swap to the front panel screen grey background . The first thing we will need is the tools pallette which is the available toolkit for making things. Select Windows Show Tools Pallette and a tools pallette should appear it may already have been there - don t worry about that . We will use most of the tools in the pallette but at the moment we just need the selection tool which is the top middle one. Click on slection tool PH to use it you may need to click twice - once to activate the window and once to get the tool. I am now in the habit of doing two clicks to pick up a tool to make sure I get it - that s two single clicks not a double click In order to do this example we will need two controls for the 2 and the 3 and an indicator for the 6 . Since the two inputs will be variables you will be able do all sorts of multiplications We select a control by using the controlspallette Windows Show Controls Pallette To use a pallette is a bit tricky at least I find it so There are ten panes on the control pallette. You need the top left one. Click on it once and then drag the mouse directly onto the new pop-up window. This window shows some of the possible controls which supply numeric as opposed to boolean text etc inputs. The one we want is again in the top left. Click on it - and don t worry when .

TÀI LIỆU HOT