06-15-2010 04:17 PM
hi all,
check out the attached code (lv 8.6). this is a standard example of how to modify the properties of another vi (test.vi and test1.vi in this case). although the properties of the called vi are set, the front panel does not react accordingly. for example:i set fp.minimizable to false and double checked that the value is actually set. but the front panel still is minimizable. why? where is the error?
thanks in advace
labviewette
p.s if you want to run the attached code, you have to create a test vi in the same directory in which the code is saved.
06-16-2010 12:35 AM
Minor errors in your code :
1 - set "wait until done to false" when running Test.vi from your vi
2 - connect "Show menu bar" to the case input instead of a constant
Then everything runs nicely. See modified vi below.
06-16-2010 03:06 PM
chilly charly thanks for replying.
let me get this straight: with the code you sent me, you were able to resize,minimize,..., the fp of the test vi, correct? well i ran the code, but still the properties don't alter...
where is the twist?
labviewette
06-16-2010 05:25 PM
labviewette a écrit:let me get this straight: with the code you sent me, you were able to resize,minimize,..., the fp of the test vi, correct? well i ran the code, but still the properties don't alter...
where is the twist?
Everything works fine on my side. Checked with Windows XP and MacOS. Means the problem is specific to your setup. Something corrupted ?
Sorry, no clue !