LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a dialog window with no button that opens along with the main window?

Hi I understand how it works.

But is it really necessary to use event structure in dialog window?

I try to build a hardware event like receiving an input signal, say a push button via DAS board inside the PC to close the dialog window. I tried to build it with event structure but it does not work right way,
unlike there is no need for anything inside the event structure when using the keyboard.

And another thing, I am stumped as to how to build a big program. I dun know how to start even though I went thru a lot of programs. There are many ways to build but I am not sure how to start.

Where can I find the guidelines in labview resources?
I could not find it.

Thanks in advance

Clement
0 Kudos
Message 11 of 12
(787 Views)
Of course you never really need an event structure, it just makes UI programming quite a bit easier and cleaner. A few versions ago, the event structure did not even exist!

If you want to close the panel from the main VI, just close the panel by "invoke node" to the VI reference, for example.

Properly designed, a "big program" is just an assembly af many little programs, each fully debugged and with clear functionality, all tied together with a clean toplevel VI. It shouldn't be something 5x5 screens big with remote parts duct-taped together with local variables.

What do you consider a big program?

A good place to start would be the nt>LabVIEW Style Guidelines.
0 Kudos
Message 12 of 12
(787 Views)