LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help nieeded!

Highlighted
hi
I study (almos finish) on Silesian Technical University in Poland
I work on my M. A. thesis and I have a problem:
i have to create a virtual instrument fo LEM NORMA 6100 analyzer.
The problem is that I have to build construction like this:

___ configutration screen 1
/
Main screen ------- configutration screen 2
\
------ configutration screen 3

on every configutration screen i have to place button >BACK< (close conf
screen x and go to main screen)
I have to make it in LAbView 4.1 and I ran out of ideas.
(to be honest this is my first work in LabView)
In advance I used 'conventional' programming languages and i can't stop
think that
way.
I completly don't know how tu create 'a flow control' (for exaple: in pascal
or C i call a procedure and when it is finidshed the program goes back to
palce where the procedure was called from).
It's hard to show my problem in a few words. If anyone is ready to help me
I'll try to explain it and sent my poor tries in LabView.

I'll be grateful for any help

orzech

,+ + +'' + + ,
+ +
+ +
+ +
+ +
+ . pszczyna -> poland -> europe
+ + +++
0 Kudos
Message 1 of 4
(847 Views)
Orzech,

Make the pages you want to call into separate vi's (programs) and set the vi
properties of each to "Show Front Panel When Called" and " Close Afterwards, If
Originally Closed" ... then, use a Case statement and just put each vi into a
separate Case. When a Case is called, the vi front panel will open... when you
leave the vi, the front panel will close, thus showing your main selection page
(front panel) again.

good luck,
Bill

------
orzech wrote:

> hi
> I study (almos finish) on Silesian Technical University in Poland
> I work on my M. A. thesis and I have a problem:
> i have to create a virtual instrument fo LEM NORMA 6100 analyzer.
> The problem is that I have to build construction like this:
>
> ___ configutration screen 1
> /
> Main screen ------- configutration screen 2
> \
> ------ configutration screen 3
>
> on every configutration screen i have to place button >BACK< (close conf
> screen x and go to main screen)
> I have to make it in LAbView 4.1 and I ran out of ideas.
> (to be honest this is my first work in LabView)
> In advance I used 'conventional' programming languages and i can't stop
> think that way.
> I completly don't know how tu create 'a flow control' (for exaple: in pascal
> or C i call a procedure and when it is finidshed the program goes back to
> palce where the procedure was called from).
> It's hard to show my problem in a few words. If anyone is ready to help me
> I'll try to explain it and sent my poor tries in LabView.
>
> I'll be grateful for any help
>
> orzech
>
> ,+ + +'' + + ,
> + +
> + +
> + +
> + +
> + . pszczyna -> poland -> europe
> + + +++
0 Kudos
Message 2 of 4
(847 Views)
"Bill Trump" wrote :

> Make the pages you want to call into separate vi's (programs) and set the
vi
> properties of each to "Show Front Panel When Called" and " Close
Afterwards, If
> Originally Closed" ... then, use a Case statement and just put each vi
into a
> separate Case.
OK, what should I do to close the vi (how to construct the 'close' button)
thx 4 help


orzech

,+ + +'' + + ,
+ +
+ +
+ +
+ +
+ . pszczyna
+ + +++
0 Kudos
Message 3 of 4
(847 Views)
Actually, you don't have to do anything... as soon as the vi completes the
page closes and exposes your main page again.

Normally if I'm in a sub-page, I stay there by using a while loop... the exit
button is tied to the loop control boolean (lower right corner of the while
loop).

When you leave the loop, the vi completes exectution and the front panel
"closes, since it was originally closed."

-----

orzech wrote:

> "Bill Trump" wrote :
>
> > Make the pages you want to call into separate vi's (programs) and set the
> vi
> > properties of each to "Show Front Panel When Called" and " Close
> Afterwards, If
> > Originally Closed" ... then, use a Case statement and just put each vi
> into a
> > separate Case.
> OK, what should I d
o to close the vi (how to construct the 'close' button)
> thx 4 help
>
> orzech
>
> ,+ + +'' + + ,
> + +
> + +
> + +
> + +
> + . pszczyna
> + + +++
0 Kudos
Message 4 of 4
(847 Views)