G-application is constructed using ‘G‘programming language, which is a graphical
language and is used for description of connections and relations between objects
in block diagram. ‘G’ language has different characteristics in view of the fact
that it is a graphical language, in which linearity is excluded. One graphical block
can be executed only when its inputs are defined or resolute. It is possible to
create a diagram with a few parallel branches, thus realizing simultaneous execution
of numerous operations at the same time.
G-application offers usual structures, which allows linear execution of certain
parts of the program, which are useful in situations similar to those when you first
have to send some data to certain instrument and wait for a while and then read
the message that came from that instrument.
Each program written in ‘G’ programming language is called virtual instrument. Drawing
an icon creates virtual instrument, including defining inputs and outputs. It can
also be included in other virtual instruments simply by importing the icon in program
and connecting its inputs and outputs with other variables. This way it becomes
sub-virtual instrument. Double clicking on the icon will open its front panel and
block diagram.
LabVIEW:
LabVIEW is graphic oriented programming package for collection, analysis and display
of measured data, which offers graphic way of programming. Basic idea behind visual
display of programming is more appropriate than textual, and data flow is easier
to follow.
LabVIEW has interpreter which interprets ‘G’ language into machine executable code
(.exe code). It also has options such as: breakpoints, step-by-step command execution,
error location, and detection, etc.
|