LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP HELP Totally new to Labview.

We have some code (quite a large size) developed in Labview 3.1 on a Mac.
This was originally developed such that just one GPIB power supply was
controlled by the computer running the software. Later someone modified
a version to include four GPIB power supplies. Some other changes
were also made to this software to create a version 2. I do not know
what these other changes were.

Then they brought a system where there was only one supply availble.
This did not work with version 2 software so they tried version 1 and it
works. Now they want me to evaluate what the effort is on making one
version of software, that will recognise (or be told) how many power
supplies
are available and accordingly turn on these and allow that many number of

units to be tested.

I am just learning Labview and it gets overwhelming as to where I should
start
looking in the actual code. The diagrams seem complex and I have learned
the basics of how it works. Still struggling with a mac and with moving
around
between the control panels and diagrams.

Please some experts... help ...
Much gratitude to someone who can point me in the right direction.


Ashok
0 Kudos
Message 1 of 3
(2,233 Views)
On Fri, 03 May 2002 15:12:31 GMT, "Ashok B Shah"
wrote:

>We have some code (quite a large size) developed in Labview 3.1 on a Mac.
>This was originally developed such that just one GPIB power supply was
>controlled by the computer running the software. Later someone modified
>a version to include four GPIB power supplies. Some other changes
>were also made to this software to create a version 2. I do not know
>what these other changes were.
>
>Then they brought a system where there was only one supply availble.
>This did not work with version 2 software so they tried version 1 and it
>works. Now they want me to evaluate what the effort is on making one
>version of software, that will recognise (or be told) how many power
>supplies
>are available
and accordingly turn on these and allow that many number of
>units to be tested.
>
>I am just learning Labview and it gets overwhelming as to where I should
>start
>looking in the actual code. The diagrams seem complex and I have learned
>the basics of how it works. Still struggling with a mac and with moving
>around
>between the control panels and diagrams.
>
>Please some experts... help ...
>Much gratitude to someone who can point me in the right direction.
>
>
>Ashok
>
>

I would do a find all the instruments on the bus and see how many is
found.

Linda
0 Kudos
Message 2 of 3
(2,233 Views)
Ashtok,

I would start at the top level. This diagram should be somewhat simple and just invoke a number of subVIs. Once this top level VI is understood, I would start with one subVI (recursively, of course) to understand, then move to another. At each level, add comments so that no one has to struggle like this again. Chances are that you are not understanding this code because it was not commented. This happens because some say adding comments in a graphical language is very difficult. However, it is easy if you document ideas and concepts (you could always document every single thing, but that is what the VI Properties, documentation is for as well).

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 3 of 3
(2,233 Views)