09-04-2005 09:43 AM - edited 09-04-2005 09:43 AM
Message Edited by Gnurt on 09-04-2005 09:45 AM
09-04-2005 11:22 AM
09-04-2005 11:31 AM
09-04-2005 12:56 PM
09-04-2005 12:57 PM
09-04-2005 03:07 PM
thanks for you very fast answer but it doesnt work like i imagine.
Maybe you can have a look to my Vis.
The popup.Vi is the main menu, the "reihe-parallel.vi" is a subVi. In the popup.Vi i run the program and can press to "plot" which call up the subVi "reihe-parallel" and a popup-window of the SubVi is opened. In this window I can entered numbered which are calculated.
If I want to leave the Popupwindow I have to press"return" and come back to the main menu. If I press to "plot" again the popup-window opens but the values I entered before don't exist anymore instead of that they accept the startvalues "null". My intention is that everytime I press "plot" in the main menu the old Values I entered before are kept!
thanks!
09-04-2005 04:24 PM
The values are reset because you set the controls in the connector pane. It seems that if you have an unwired control in the connector pane it defaults to its default value every time the VI is called.
Interesting, I wasn't aware of that.
To detect if you have a number wired into the VI input, you can make the default value NaN and check to see when the VI starts. If it is NaN, you can use an uninitialized shift register to get the value from the last time the VI ran.
09-04-2005 05:38 PM
You helped me really a lot, it is crazy that you found my fault. I didn't aware the unconnected connector pane as well!!!
thanks a lot for all your help and the good tips!
I' m seriously intend to learn Labview, but learning by "try and error" is so hard! How did you learn Labview so professional and which way help me to improve knowledge in this programming language? Thanks for the tips with the books, but they don't show me the concept of programming labview but only leanring how to get to know the tools of the programm. I'm would be thankful for your tips!
Thanks you really really!!
09-05-2005 01:12 AM
09-05-2005 02:20 AM
Other than the german user group (which is probably a good idea) there are also german speakers here, so if you are having problems with getting your problem solved in english, you can try posting questions in german.
You should also try looking for some books (try searching german internet book stores for "LabVIEW").
The best option is probably the basic NI courses I mentioned, but they will also cost you some money.
As for the style, if you read the different forums regularly, you can learn quite a lot from the more experienced users. The style guide I mentioned can also be found inside the LV bookshelf in your help menu, where it is part of a document called development guidelines, which also discusses some program designing techniques. You should also try reading the other application notes there, which are more advanced. You should also use the knowledge base in this site, which has many articles and examples on many different topics.
If you want just a few tips which will help you:
There are probably quite a few others I forgot, but in general, if you really want to write serious programs, you will probably need some training, and you will definitely need experience.
In any case where you have problems and you see you can't find the solution yourself, post your question here, and we will be happy to help. If you become more experienced yourself, come back and help others.