Web Scraping

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 23 December 2012

Is the case structure "case sensitive?"

Posted on 21:16 by Unknown
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 example:
If this vi was run, what would the output be?
At first glance it looks easy. With the selector terminal input being 'clad' and the case selector label being Clad, it should run the one button dialog box and print "This
is Clad".  But look again.  The string input to the case structure is
lowercase "clad".  Yes the case structure IS CASE SENSITIVE.
When I hit run on this vi, it doesn't recognize the "clad" and runs the
default case instead.

Here is what it looks like when I correct the lower case string input.


By correcting the string input to "Clad", it now matches the wording and case of the case structure and runs the "Clad" case which gives the one button dialog box output of "This is Clad".

Yes, the case structure IS case sensitive.  Try it before you take the CLAD test. 









Read More
Posted in | 1 comment

Thursday, 20 December 2012

Posted on 11:18 by Unknown

Flash
Flash Player 9 or higher is required to view the chart
Click here to download Flash Player now

View the full NATI chart at Wikinvest
Read More
Posted in | No comments

Sunday, 9 December 2012

Posted on 17:54 by Unknown
I just received a wonderful device that defies logic. I now have a Kindle Keyboard 3G, Free 3G + Wi-Fi, 6" E Ink Display - includes Special Offers & Sponsored ScreensaversThe reason it defies logic is because it has FREE 3G. Who provides FREE 3G these days? That's unheard of...

This Kindle Keyboard is so awesome. Sure it's black and white and a little slow, but did I mention it has a web browser and FREE 3G. That means I can check email anywhere without paying for the airtime. I can check my Yahoo and Gmail. I can read TheDrudgereport.com, Wikipedia, update my Facebook and Twitter and anything in real time from anywhere without a charge. This just blows my mind. Here is a pic of this website on the Kindle Keyboard..

Kindle Keyboard

Read More
Posted in | No comments

Friday, 7 December 2012

CLAD certified today !!!

Posted on 18:22 by Unknown
I just passed the CLAD LabVIEW certification exam.  It was a bit tricky.  I studied everything I could find. 

In my opinion, the test consisted of half of the standard questions you find on the online practice exams.  The other 50% I have never seen before except for in the Core 1,2, and 3 classroom exercises.
It was 40 multiple choice questions.  I finished in less than 30 minutes and used the rest of the time to review my answers.

My advice to anyone taking this test is to study the practice exams, but also methodically go through all the exercises of the Core 1 through 3 classes.  If I would have reviewed those examples in the classroom exercise book, it would have greatly improved my final score.
For those who have not taken Core 1 through 3, I'll try to give a few examples in the next few weeks.

Stay tuned.
Read More
Posted in | No comments

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

Tuesday, 2 October 2012

Posted on 10:34 by Unknown
Read More
Posted in | No comments

Wednesday, 27 June 2012

LabVIEW & Arduino

Posted on 09:41 by Unknown
Labview By Fairweather, Ian (EDT)/ Brumfield, Anne (EDT) (Google Affiliate Ad)
Arduino or compatible device

Install the NI-VISA drivers.
  • Windows Download.
  • Linux Download.
  • Mac Download.

Install JKI VI Package Manager (VIPM) Community Edition (Free).
  • All Operating Systems.
Install the LabVIEW Interface for Arduino as described here.

Connect your Arduino to your PC as described in here.

Load the LabVIEW Interface for Arduino Firmware onto your Arduino as described in here.
   
Once you have everything loaded into the Arduino, attach an LED to pin 9 and build a VI in LabVIEW that will turn on the LED with a switch from the Front Panel of LabVIEW.


Download this vi here:  BasicArduino3.vi


Read More
Posted in Arduino, examples, LabVIEW, NI-VISA, PC, vi's | No comments

Wednesday, 13 June 2012

Buy, Shop for LabVIEW

Posted on 07:26 by Unknown
Read More
Posted in | No comments

Sunday, 27 May 2012

Website scraping with LabVIEW

Posted on 19:17 by Unknown
Scrape or retrieve data from a website using LabVIEW. This is also called data harvesting or data extraction from websites.

One difficulty is finding good HTML data to scrape. Most data like stock quotes have been replaced with dynamic data that doesn't have a clear and consistent text strings that can be searched.

Here is an example that opens a URL website, reads the HTML, picks out a string keyword and displays the data after that keyword. I've chosen a weather site that has a consistent keyword like "temp"> and the page is dedicated to only one city. So the number after "temp"> will be that city's temperature.


This vi will be great for any instrument attached to a network with a web-page to access.


More details can be found here.

Read More
Posted in basic, dashboard, data socket, HTML scraping, LabVIEW, programming, website | No comments

Wednesday, 23 May 2012

Posted on 20:46 by Unknown


LabVIEW Web UI Builder
LabVIEW Web UI Builder is a Web-Based LabVIEW programming Environment that gives you the ability to develop lightweight VI's without needing to purchase LabVIEW.

Practice creating and programming VI's now.  Try It Now     Create your account to start programming with LabVIEW.
LabVIEW Web UI Builder is free to try out for an unlimited amount of time. Anyone can create an account and develop an application that runs inside the editor. Users can save their work to cloud storage or, if the editor is installed locally, to a local hard drive. The only feature that is not available for free is the ability to build and deploy standalone web applications that no longer require the editor.
Microsoft Silverlight® is required; click here to install.

I loaded it on my computer and tried it out…  It’s awkward to use but it works.
Here are some screen prints and the example vi…
http://zone.ni.com/reference/en-XX/help/373286A-01/uibuilder/wuib_gsg1/

Read More
Posted in download, Free LabVIEW software, GUI, Web UI Builder | No comments

Monday, 26 March 2012

STEP #4 "HELLO WORLD" using LabVIEW

Posted on 14:07 by Unknown
So you've completed STEP #1 Get LabVIEW and you've worked through the examples given in the tutorials.  Then you followed STEP #2 Get an Arduino.  You checked out your Arduino and now you are ready to program the LIFA files onto the Arduino with STEP #3 Load LIFA.

You need some way to test that everything is connected and working.  You also need to get familiar with both LabVIEW and Arduino together.

Your first LabVIEW project needs to be something very simple and easy to understand.  Most programming languages and starter circuits always have a "HELLO WORLD" to learn from.

Controlling an LED with an on-screen switch would be an easy way you can interface the on-screen controls of the LabVIEW Front Panel with the real-world LED connected to an output of the Arduino.

You can start by adding a switch, a stop button and an indicator LED to your first front panel.  You can also add these items from the Block Diagram.
The Block Diagram shows the connection details of my Arduino Clone.  Your settings may very depending on what Arduino device you have connected.  You can always find the com port in your control panel, Hardware manager of Windows.  Plug your Arduino into the USB jack and see what com port is listed when it connects.


Read More
Posted in 3 steps to LabVIEW and Arduino, easy, LabVIEW, LIFA, Setup Arduino Labview | No comments

STEP #1 Get LabVIEW

Posted on 10:31 by Unknown
LabVIEW has a free 30-day evaluation copy you can download at National Instruments or you can purchase the LabVIEW 2009 Student Edition


Once you install LabVIEW on your computer, you can go through the "Getting Started with LabVIEW" tutorials which help you get familiar with the inner workings of LabVIEW.  You can learn how to convert degrees C to F by using only mathematical terms and the front panel controls.  I've seen on YouTube video on building a calculator using LabVIEW.  It's a bit long and tedious to build but it's a valuable learning experience if you work through it.
Read More
Posted in Labview student edition 2009 | No comments

STEP #2 Get an Arduino, or equivalent

Posted on 10:19 by Unknown
The first equipment you will need is an Arduino or compatible device.  Here are photos of my Arduino's.

I bought the small board on the left from http://www.adafruit.com/ and the red board connected is the USB to

Arduino board I bought from http://www.sparkfun.com/products/9716
The board on the right is just a block of LED's and a pushbutton connected to the Arduino as outputs and inputs.


I used the USB board and connected it to a proto-board with a 10uf and 16MHz ceramic resonator which creates an Arduino compatable device.



 And here is the original Arduino UNO R3 which has the USB circuit already installed.

UNO R3


All of these devices can be used to interface with LabView.
Read More
Posted in Arduino microcontroller LabView | No comments

STEP #3 LabVIEW Interface for Arduino Setup Procedure

Posted on 10:00 by Unknown
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 your computer and you have an Arduino or compatible device.  Please follow the instructions below to start creating applications with the LabVIEW Interface for Arduino. LabVIEW Interface for Arduino Setup Procedure

Nice overview of using Labview-and-Arduino
Read More
Posted in Setup Arduino Labview | No comments

Wednesday, 8 February 2012

INTRODUCTION TO THE PROJECT

Posted on 05:49 by Unknown
My goal for this project is to fully utilize the free LabVIEW Student version and a relatively in-expensive Arduino microcontroller to build a test/troubleshooting box.

My first project is a test box for a simple multiplexer circuit. The circuit inputs are a clock signal and three switch inputs. The output is several LED's.

I want LabVIEW to control the clock input. I want to be able to turn the clock on and off, and also step through a clock sequence with a touch of a button.

I want LabVIEW to control the three switch controls from on-screen.

And the LED's should also be displayed on-screen and no physical LED's needed.

Hepefully all can be done with only the Student version of LabVIEW and the Arduino microcontroller.

If this simple task works, it will justify the cost of the full version of LabVIEW.
Read More
Posted in INTRODUCTION LabVIEW | No comments

Tuesday, 7 February 2012

Posted on 10:12 by Unknown
Read More
Posted in | No comments

Top 5 Reasons LabVIEW Makes You More Productive When Using Arduino

Posted on 09:58 by Unknown
Top 5 Reasons LabVIEW Makes You More Productive When Using Arduino

The Arduino microcontroller is a low-cost electronics prototyping platform. With the LabVIEW Interface for Arduino Toolkit you can leverage the power of the LabVIEW Graphical Programming environment to interface with the Arduino in a whole new dimension. Learn how the LabVIEW features listed below will help you increase productivity when using Arduino.
Read More
Posted in Arduino microcontroller LabView | No comments

Arduino with LabView

Posted on 09:55 by Unknown
LabView is a National Instruments software package that provides a graphical programming language for interfacing the Arduino micorcontroller.

Use Arduino I/O With LabVIEW

  • Easy access to Arduino DIO, AI, PWM, I2C, and SPI from LabVIEW
  • I/O engine sketch to load on Arduino
  • Examples for basic tasks and sensors
  • Wireless with Bluetooth or XBee
  • Loop rates: USB tethered (200 Hz) and wireless (25 Hz)
  • Open Arduino sketch and toolkit VIs help you customize functionality
Read More
Posted in LabView Arduino I/O input output sketch toolkit | No comments

Friday, 3 February 2012

LabVIEW for Amazon Associates

Posted on 19:55 by Unknown
LabVIEW can be used to generate links for Amazon Associates.
The Concatenate Strings function can be used to combine elements of the link and combine them all together with an HTML String output.  This output was used to create this link below.

LabVIEW 2009 Student Edition

The inputs are the products ASIN number, your Amazon Associates ID number.  If you don't have one, feel free to use mine.
Also enter the text to be shown as a underlined link.  For different items you want to create links for, you will just need to change the ASIN and Text data.  Hit Run, then copy the link from the HTML String into your blog post.  It will look like the link above.



  LabVIEW_2010 vi :  AMAZONassociates1.vi


Read More
Posted in Amazon, Amazon Associates, Associates Link Creator, LabVIEW, link builder | No comments
Newer Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Website scraping with LabVIEW
    Scrape or retrieve data from a website using LabVIEW. This is also called data harvesting or data extraction from websites. One difficulty ...
  • (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...
  • 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 for Amazon Associates
    LabVIEW can be used to generate links for Amazon Associates. The Concatenate Strings function can be used to combine elements of the link an...
  • (no title)
    Amazon.com Widgets
  • Top 5 Reasons LabVIEW Makes You More Productive When Using Arduino
    Top 5 Reasons LabVIEW Makes You More Productive When Using Arduino The Arduino microcontroller is a low-cost electronics prototyping platfor...
  • (no title)
    Amazon.com Widgets
  • Count to Three
    Just like a programmer starts off printing "HELLO WORLD" on the screen, in LabVIEW you can start off by learning to count to three...
  • (no title)
    I just received a wonderful device that defies logic. I now have a Kindle Keyboard 3G, Free 3G + Wi-Fi, 6" E Ink Display - includes Sp...
  • (no title)
    I just found an excellent way to invest money and receive more than a bank could ever offer as interest. Have you ever felt jealous of the c...

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)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (2)
    • ►  May (1)
  • ▼  2012 (19)
    • ▼  December (4)
      • Is the case structure "case sensitive?"
      • Flash Player 9 or higher is required to view the c...
      • I just received a wonderful device that defies log...
      • CLAD certified today !!!
    • ►  October (2)
      • Count to Three
      • Amazon.com Widgets
    • ►  June (2)
      • LabVIEW & Arduino
      • Buy, Shop for LabVIEW
    • ►  May (2)
      • Website scraping with LabVIEW
      • LabVIEW Web UI BuilderLabVIEW Web UI Builder is a ...
    • ►  March (4)
      • STEP #4 "HELLO WORLD" using LabVIEW
      • STEP #1 Get LabVIEW
      • STEP #2 Get an Arduino, or equivalent
      • STEP #3 LabVIEW Interface for Arduino Setup Proce...
    • ►  February (5)
      • INTRODUCTION TO THE PROJECT
      • Amazon.com Widgets
      • Top 5 Reasons LabVIEW Makes You More Productive Wh...
      • Arduino with LabView
      • LabVIEW for Amazon Associates
Powered by Blogger.

About Me

Unknown
View my complete profile