OneStopGate.Com
OnestopGate   OnestopGate
   Tuesday, November 19, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


Home » GATE Study Material » Electrical Engineering » Measurements » Measuring a Single Temperature (Hydra)

Measuring a Single Temperature (Hydra)

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **

Measuring a Single Temperature (Hydra)

An Introduction to Instrument Programming in LabVIEW Using GPIB/IEEE-488

        We assume that you have some background - however sparse - in programming.  In this lesson, we will examine how to communicate with an instrument using LabVIEW and a GPIB (IEEE-488) connection.  We will focus on the Fluke Hydra Data Acquisition Unit (DAU), but what is covered here is applicable to many other instruments.  Note that LabVIEW is a copyrighted name owned by the National Instruments Corporation, and that is the corporation that sells LabVIEW.  It is the most widely used programming environment for instrument control although there is considerable instrument programming done in C/C++ and Visual Basic.  LabVIEW is a visual programming environment (which means that you do not write sequential lines of code) and seems to be uniquely matched to the ways of thinking and solving problems that engineers and scientists commonly employ.

        The first step in instrument programming is to reset the instrument under program control in LabVIEW.  What you need for that process is the following.

  • First, you need to start LabVIEW and generate a new "vi".  LabVIEW files often have a "vi" extension, and that stands for "Virtual Instrument".  You are about to embark on developing a virtual instrument that uses the Hydra DAU to take the actual measurements.  What you write in LabVIEW will be a program that controls that process.

  • You need to know the GPIB address for the instrument.  In many cases - especially with more recent instruments - the GPIB address will flash for a moment as the instrument cycles through its startup procedure.  In the case of the Hydra, you need to set that address.  Within our department, the standard address is 3, and you will find most programs use that address.

  • Once you have that taken care of, the Hydra should be ready to be accessed from within LabVIEW.



The Hydra

        In the lab, you will find that the numbered terminals for the Hydra have been brought out to a connector block attached to the top of the Hydra.  Those terminals are shown below in the photo of the Hydra and we are referring to the orange terminal blocks there.

        In the example in this note, we will be taking a temperature measurement from Channel 1 of the Hydra.  That means that you should connect the thermocouple leads to the Hydra.

    • Attach the red lead to terminal #22.

    • Attach the other lead to terminal #21.

WARNING:  You cannot take a temperature measurement from the front panel terminals (Channel 0).  You might try, and you might even force the thermocouple wires into those terminals, but it will not work!


Taking a Temperature Measurement

        Taking a temperature measurement is more complex than just resetting the instrument.  The steps you need to take are as follows (assuming that the instrument has been reset).  Here's the diagram for the vi.

Here's what you do in this vi.

  • Send the following commands using the GPIB Write block in LabView.  In the diagram below, there are three GPIB Write blocks.  Note that each of them uses the same address (3) and the same mode (3) as in the reset vi above.  Here are the commands that are sent to the instrument in each of the GPIB Write blocks.

    • FUNC 1,TEMP,K - which sets the function on Channel 1 to be TEMP (TEMPerature measurement) using a type K thermocouple.

    • *TRG - which triggers a measurement when the instrument receives this command.

    • LAST? 1 - which requests the instrument to prepare the last measurement on Channel 1 for transmission to the computer.

    • In LabView you sequence these commands by taking the error signal from each block and feeding it to the next block.  See the diagram reproduced below.

  • After setting up the instrument, taking a measurement and preparing the data, you must get the instrument to send the string to the computer.  In LabView you use a GPIB Read block.  It's found in the same general place as the GPIB Write block.

        The vi above will take a single temperature measurement once the instrument has been reset.  That allows you to put the temperature mesurement inside a loop and put the reset outside the loop.  If you use this in an application where speed is critical, you might also want to consider putting the GPIB Write block that sets the channel and the measurement type outside the loop, separating it from the rest of the operations above.



Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari