Meeting 16:
We introduced the concept of
modular programming in LabVIEW: Sub-VI. In modular programming we create a
sub-VI that contains a group of operations that repeat several times in the Block
Diagram. Then every time we need to implement that same group of operations we
just call in the sub-VI. This reduces chances of incurring errors during
repeated wirings and allows easier reading of the Block Diagram in large code,
and so making the debugging process much faster. There are two ways of creating
sub-VI’s, one presented here, the other one presented
in the link to “Circuit Analysis with LabVIEW III” in the E-syllabus.
Logbook
Just to remind that the logbook is a very important
component of the course and will be evaluated, together with the final exam
they count 20% of the course grade.
You should record the logbook on a daily basis, with pages
numbered and dated, about two main topics:
-Discussions
and findings about projects, collectively or individually
-Answers
to questions posted here in the class notes and other learning conclusions you
found by doing activities related to this course.
The next logbook due date is
Logbook questions:
1- What is the difference between a VI that
produces Rp as in the figures above, and a Sub-VI that produces the same
quantity?
2- Explain the steps to
make a VI becomes a sub-VI.
3- Explain
the steps to edit the presentation of the icon corresponding to your sub-VI