Subscribe by Email


Showing posts with label Laboratory virtual instrumentation engineering workbench. Show all posts
Showing posts with label Laboratory virtual instrumentation engineering workbench. Show all posts

Monday, January 7, 2013

What are benefits of LabVIEW(Laboratory virtual instrumentation engineering workbench)?


Laboratory virtual instrumentation engineering workbench (or labview as it is commonly known) is a platform developed for designing systems and presents a development environment.

Benefits of LabView


1. Interfacing
- The extensive support that labview provides for access to instrumentation hardware is one of the key benefits of it. 
- In addition to the drivers, a number of abstraction layers are available for inclusion for a variety of buses as well as instruments. 
- These drivers and abstraction layers are presented as the graphical nodes. 
- A standard interface is provided by the abstraction layers so that communication with the other hardware devices could be established. 
- A lot of program development time is saved by the driver interfaces that are provided. 
That is why people having limited coding experience of writing the programs can even develop programs and easily deploy the test solutions in a time less than what it might take with the conventional programming systems. 
- DAQmxBase is a brand new driver topology.
- It comprises mostly of the G – coded components having a few register calls via national instrument measurement hardware driver development kit (DDR) functions.
- It is known to provide hardware access that is independent of the platform. 
- This access is to instrumentation devices and a number of other data acquisition devices. 
- This new driver is available for the following platforms:
a)    Windows
b)    Mac os x
c)    Linux
- An interface for .net frame work applications is also provided by the labview using    which one can use XML files and data bases in one’s automation projects.

2. Code Compilation
- When it comes to performance, labview is at its best as it provides you even a compiler that can produce a native code for platform level of CPU. 
- Firstly, the graphical code is converted in to machine executable code by passing it through an interpreter and compiler.
- The syntax of the labview is to enforced during the code editing process only and then it is compiled in to machine level code whenever execution command is given. 
- The executable code is executed by the run time engine of labview which already has some pre-compiled code that can be used to perform usual tasks that have been already defined by the G – language. 
- Also, the compile time is reduced by the run time engine. 
- In addition to this it also offers you a consistent interface that can be used for a number of following:
a)    Operating systems
b)    Graphic systems
c)    Hardware components and so on.
- The code is made portable across the platform because of the run – time environment. 
- Labview code compiles slower than the equivalent code in C and this difference gets larger with the program optimization.

3. Large Libraries
- A large number of libraries with a large number of functions such as those mentioned below are provided with the labview package:
a)    Functions for data acquisition
b)    Signal generation
c)    Mathematics
d)    Statistics
e)    Signal analysis
f)     Signal conditioning and so on.
- The package also has a number of graphical interface elements. 
- The package has numerous advanced mathematics blocks which can carry out functions such as filters, integration and so on.
- Many other specialized capabilities that are associated with the data that has been captured with the help of hardware sensors. 
- In addition to all this, labview comes with mathscript which is nothing but a text based programming component having some additional functionality such as for mathematics, analysis, signal processing and so on. 
- This component and graphical programming can be integrated together via the script nodes and using a syntax compatible enough with MATLAB.

4. Code re use
5. Parallel programming
6. Ecosystem
7. User community


Friday, January 4, 2013

Explain LabVIEW (Laboratory virtual instrumentation engineering workbench)?


Laboratory virtual instrumentation engineering workbench (or labview as it is commonly known) is a platform developed for designing systems and presents a development environment. 
- The environment it provides is for the development of visual programming language from what are known as the national instruments. 
- The graphical language that is usually used is commonly known as “G”. 
- Make sure that you do not yourselves with G code.
- This graphical language had its release for the Apple Macintosh in the year of 1986. 

Labview is used for a number of purposes few of which are:
  1. Data acquisition
  2. Instrument control
  3. Industrial automation and so on.
All these functions can be carried out on a number of platforms including:
a)    Unix
b)    Linux
c)    Mac OS X and
d)    Microsoft windows

- Labview 2012 which is the latest version of labview has been released recently in year 2012 in the month of August. 
- 'G' is actually a data flow programming language. 
- The structure of the graphical block diagram helps in determining the execution. 
- This graphical block diagram is actually composed of the LV source code using which the different function nodes can be connected via wires. 
- Variables are propagated by these wires. 
- Any node for which all the input data is available can be put in to execution immediately. 
- It involves a number of modes simultaneously, parallel execution is very much possible in G.
- Built-in scheduler is automatically exploited through multi–threading and multi– processing hardware.
- Multiple OS threads are multiplexed by the built – in scheduler over the nodes that are ready to be executed. 
- User interfaces called front panels are created by the labview and incorporated in to the development cycle. 
- The programs or subroutines of the labview are termed as virtual instruments or VIs. 

There are 3 main components of each VI namely:
  1. A block diagram
  2. A front panel and
  3. A connector panel
- The third component i.e., the connector panel is used for the representation of the virtual instrument in the other virtual instruments which call this one. 
- Front panel comprises of the indicators and controls, thus allowing the operator to input or extract data from an active virtual instrument. 
- Another feature of the front panel is that it also serves as a programmatic interface. 

Thus, a virtual instrument can be run in either of the two ways:
  1. As a program: The front panel serves as a user interface.
  2. As a node on to the block diagram: The inputs and outputs for a particular node are defined by the front panel through the connector panel.
- Any of the virtual instruments can be tested very easily before it is embedded in to the main program as a subroutine. 
- Even non-programmers can take the benefit of the graphical approach since using it, they can build programs by just dragging and dropping the lab equipment’s’ virtual representation with which they have some familiarity. 
- Advantage is that the labview programming environment comes with documentation and some included examples which can be used to work out small applications very easily. 
- There is one disadvantage also which is that one might underestimate the expertise required from implementing high quality G – programming.
- Also, as far as complex programming or large scale programming is concerned it is a must for the programmer to have an extensive knowledge regarding the labview syntax and the topology it uses for the management of memory. 
- The advanced development system of the labview lets you create stand –a lone applications also.


Facebook activity