11-13-2008 04:55 AM
if any one know it please reply<<<<
thank you
11-13-2008 05:23 AM - edited 11-13-2008 05:24 AM
Just open reference to Global VI, then set property Front Panel : Open to true.
Code snippet in attachment.
Andrey.
11-13-2008 09:33 PM
Thanks for reply;:::
Actually i ab working on LabVIEW 8, so that file which you send cannot be open,, please can u send file of LabVIEW 8..
11-13-2008 10:22 PM
11-13-2008 11:52 PM
Although it does not seems right to me. Globals are not for displaying.
Maybe you should use a "functional global", instead.
If you do a small search you will find examples
11-14-2008 04:05 AM
Hi, Pnt,
Why not? Showing globals or not as well as using or not - there are design questions. Like "to be or not to be".
In some situations globals can be useful (with deep understanding, of course).
The question was - how to show FP of Globals in runtime technically, and yep - this is possible.
Andrey.
11-14-2008 06:04 AM
I agree that the question should be answered.
But usually not experienced users could go in the wrong way, if things are not cleared.
So the question is "Why not?"
There is no good reason. I just think it is bad coding style.
Has anyone used it ?
11-14-2008 06:28 AM
Personally I don't remember, that I have used Globals (at least last year).
But in the past, few years ago, I have project where globals was used exactly in that way - with showing their Front Panel (service department urgently asked me to show some information - and this info was already used as Globals, so I just added just one button... - that was very "quick and dirty" solution).
But I agree with you - in most cases the necessarity for using and showing Globals to user - is the sign that something may be wrong with design.
Andrey.
11-14-2008 07:56 AM
thank you for reply,,,,
i facing another problem,, i am writing code for login window, which asks user to ennter name and password,,so my code has to vefy with data base file, which is .csv format,,
but when vi runs, the name and password it reads ,the chracter is converting in some junk format,, so output of the program shows invalid user,
11-14-2008 07:59 AM