The best way I've seen is to do a cancel/apply box is with Labview 6.1's
event structure.
Unlike a queued-statemachine (well documented at ni.com) I use a simpler
approach for dialog boxes. Generally I'm dealing with GOOP objects, but for
matters of discussion let's assume we have a simple cluster involved.
I attached a zipfile as an example, realizing this is kind of complicated to
explain. I created a while-loop with an event-structure inside. Every
control updates the cluster, and the two buttons (ok, cancel) are flow
control for the cluster. OK outputs the modified cluster, and cancel outputs
the original unchanged cluster.
If this isn't quite what you were desribing, post to the group again and
I'll try to help.
-joey
"Oliver Meike"
post.rwth-aachen.de> wrote in message
news:b0p0ia$4si$1@nets3.rz.RWTH-Aachen.DE...
> Hi!
> I have two problems. The first one is the following:
> I would like to put an "apply-button" (like Windows has it) on the front
> panel. If I press it, it should run a sub-vi to update some values. Is
there
> a possible solution for it? Or is there any other way, perhaps a loop or
> something like that?
> And the second one:
> If I build a stand-alone-application (*.exe-file), will it run the vi once
> or continuously? Or can I specify this when building the *.exe-file?
> Thanx a lot,
> Oliver.
>
>
[Attachment apply.zip, see below]