LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

which code does the labview generate?how it exactly works ?

Hi ,

I am not new to Labview but i want ot know and  I am very eager to know how labview works , which code it generates , how it will interacting with hardware.

 

plz do reply

 

regards

mahadev

0 Kudos
Message 1 of 5
(3,549 Views)

Mahadev,

 

LabVIEW is a programming language, so the compiled code is machine code. You have to have the LV Run Time Engine (RTE) installed in order to execute that machine code. A RTE is a collection of OS components which enables the OS to control, schedule and manage the process created by the application.

 

The concept of dedicated RTEs is not unique to LV (even though some programmers around the world do think so). For comparison take a look on the .NET Framework, which is nothing more (or less) than a RTE for .NET applications.

 

Hardware is interfaced just the same way as in any other programming language: You need a driver including an interface (API) which you can use in LV.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(3,538 Views)

mahadev wrote:

I am not new to Labview but i want ot know and  I am very eager to know how labview works , which code it generates , how it will interacting with hardware.


Your question is very vague and could be understood in many different ways. We all know that LabVIEW "works", but I am not sure what you mean by "how". What exactly do you want to know? Are you interested in the details under the hood or are you just trying to learn how to write a program in LabVIEW?

 

LabVIEW typically does not intereact directly with hardware. Instead, it interacts with hardware drivers that do the lowlevel stuff. For example, it can interact with DAQ hardware using DAQmx drivers. 

LabVIEW is just a programming language like any other, except that the code is graphical, which eliminates the clumsy bottleneck having to compose the program as a long linear string of monochrome characters as in text based programs.

 

The LabVIEW compiler directly translates the graphical code into the machine code. Here is some useful information.

0 Kudos
Message 3 of 5
(3,534 Views)

actually i wanted to know when we develop model how the actions are taken by labview to exectue it . which kind of code it will generate , does it uses any complier , assembler and all ?

 

sorry for being not clear

 

thanks and regards

mahadev

0 Kudos
Message 4 of 5
(3,520 Views)

@mahadev wrote:

actually i wanted to know when we develop model how the actions are taken by labview to exectue it . which kind of code it will generate , does it uses any complier , assembler and all ?

 


LabVIEW is compiler itself.

 

Probably the following info will be helpful for you:

 

Inside LabVIEW - How the Compiler Works

 

Andrey.

 

Message 5 of 5
(3,515 Views)