Web Scraping

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg
Showing posts with label Quotient. Show all posts
Showing posts with label Quotient. Show all posts

Saturday, 6 October 2012

Count to Three

Posted on 11:03 by Unknown
Just like a programmer starts off printing "HELLO WORLD" on the screen, in LabVIEW you can start off by learning to count to three. It's not easy or intuitive to find a way to count between two numbers. The key words are "Quotient & Remainder." On the Block Diagram hit CTRL and then SPACEBAR at the same time to pull up the Quick Drop dialog box. Type in Quotient & Remainder. It should find it by just typing in Quo....
Now add a While Loop around the Quotient & Remainder.

 

We will use the iteration (i) terminal from the while loop to show the current loop count. The iteration terminal starts with zero on the first sequence. We connect a wire from the iteration (i) terminal to the X input of the Quotient& Remainder.



We need to add an upper limit number to the Y input of the Quotient & Remainder.  So Right-Click your mouse over the Y input and Create a Constant.  We want this vi to count from 0 to 3.  Put a 4 in the constant box.  The output will count from 0 to 3 because the first count will be the zero and the fourth count will be the number 3.

Right-click on the upper right output connector of the Quotient & Remainder and create an Indicator.  This numeric indicator will be shown on the Front Panel.  This is where the numbers will be seen.  If you want to use this number for another operation, just add a wire and connect to another vi, or a graph, etc.

You will need to add a Stop button to the front panel for this example and wire it to the Stop if True function of the While Loop at the lower right hand corner.  Let's also slow it down a little so we can see the operation working.  Add a Wait Until Next ms Multiple icon with 500 as a constant wait time.

Hit run and watch the numeric indicator count from 0 to 3 on the Front Panel.  Hit the Stop button to end the process.

Thanks for learning how to Count To Three using LabVIEW with me.  Feel free to leave a comment.



Read More
Posted in basic, count, LabVIEW, Quotient, Remainder | No comments
Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Arduino with LabView
    LabView is a National Instruments software package that provides a graphical programming language for interfacing the Arduino micorcontrolle...
  • Is the case structure "case sensitive?"
    Here was one of those tricking CLAD questions that I've never come across until I was taking the test. The question was like this exampl...
  • LabVIEW & Arduino
    Labview By Fairweather, Ian (EDT)/ Brumfield, Anne (EDT) (Google Affiliate Ad) Arduino or compatible device Install the NI-VISA drivers. Wi...
  • INTRODUCTION TO THE PROJECT
    My goal for this project is to fully utilize the free LabVIEW Student version and a relatively in-expensive Arduino microcontroller to build...
  • Start NI TestStand training
    Here is a list of all the basic NI TestStand documents I can find online.  I attended this TestStand 3hr. course a few times.  It's only...
  • Buy, Shop for LabVIEW
  • (no title)
    Amazon.com Widgets
  • STEP #3 LabVIEW Interface for Arduino Setup Procedure
    Setting up the LabVIEW Interface for Arduino (LIFA) is a six step process that you will only need to complete once you get LabVIEW setup on ...
  • CLAD certified today !!!
    I just passed the CLAD LabVIEW certification exam.  It was a bit tricky.  I studied everything I could find.  In my opinion, the test consis...
  • (no title)
    LabVIEW Web UI Builder LabVIEW Web UI Builder is a Web-Based LabVIEW programming Environment that gives you the ability to develop lightweig...

Categories

  • 2013
  • 3 steps to LabVIEW and Arduino
  • Amazon
  • Amazon Associates
  • Arduino
  • Arduino microcontroller LabView
  • Associates Link Creator
  • Austin
  • basic
  • count
  • dashboard
  • data socket
  • download
  • easy
  • examples
  • Free LabVIEW software
  • GUI
  • HTML scraping
  • INTRODUCTION LabVIEW
  • investing
  • LabVIEW
  • LabVIEW and Arduino
  • LabView Arduino I/O input output sketch toolkit
  • Labview student edition 2009
  • Lending Club
  • LIFA
  • link builder
  • loans
  • National Instruments
  • NI-VISA
  • NIWEEK
  • P2P Lending
  • PC
  • PCB
  • programming
  • Prosper
  • Quotient
  • Remainder
  • sequence
  • Setup Arduino Labview
  • testing
  • TestStand
  • vi's
  • Web UI Builder
  • website

Blog Archive

  • ▼  2013 (8)
    • ▼  November (2)
      • Start NI TestStand training
      • I just found an excellent way to invest money and ...
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (2)
    • ►  May (1)
  • ►  2012 (19)
    • ►  December (4)
    • ►  October (2)
    • ►  June (2)
    • ►  May (2)
    • ►  March (4)
    • ►  February (5)
Powered by Blogger.

About Me

Unknown
View my complete profile