Example Code

Programmatically Search Google Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview
Executes a Google search programmatically using Internet Explorer.

 

Description

This example shows how to use ActiveX to open a connection to Internet Explorer and executes a Google search programmatically. By replacing the variable in the URL string the user can type in any string into the search field and Google will display the results.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

1. Enter the search term in the Google search field
2. Run the VI

 

Additional Information or References

 VI Block Diagram
Search Google.png

 

 

This VI only works with Google.  The concatenated string is specifically designed for Google's URL.

 
**This document has been updated to meet the current required format for the NI Code Exchange.**

A_Ryan
AES
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Meng-Shiang.Lin
Member
Member
on

very useful!