Quantcast
Viewing all articles
Browse latest Browse all 6

Introduction to LabVIEW

When we start LabVIEW we get a screen that consists of three windows:   Understanding the three windows  Front panel: This is where we can insert charts, buttons and switches that we can use to control our robot from the PC.  Block diagram: This is where we do the  programming.  Functions palette: We can find all the commands that we need to create our program. NB! Here we have  many advanced commands. Example 1 We will now create our first program. It will start a motor with a speed equal to 90 and run for 15 seconds. This sounds simple, but in a programming language, one must divide this into several steps: Start the motor with the speed equal to 90. Run the motor for 15 seconds. Stop the motor. When we make the program we do this in steps: Select the commands you need. Place them in the correct order in the block diagram. Wire the commands together. Run the program. When we make the program it is important to be aware that we are using 4 different tools: This tool is used to select various commands.   This tool is used to wire the commands together.     This tool is used to control commands at runtime   This tool is used to insert texts, and to change the text or values.   When we get up the window shown below: NB: We can select tools by pressing the TAB key several times. (try this: press the TAB key […]

Viewing all articles
Browse latest Browse all 6

Trending Articles