08-15-2008 04:14 AM
Hi,
seems LV does no longer like me after all that years ;-((
Here's another problem:
I need to invoke a VI, set its controls and run it from another VI. I use 'Set control value [variant]. This worked for years.
Now in a new project I get error1:
Error 1 occurred at Invoke Node in GTM_start VI as process.vi
Possible reason(s):
LabVIEW: An input parameter is invalid.
The value 'offset' I'm trying to set is 0,000 (which is 0.000 in German localization. The variant shows '0.000E+0', which isUS localization.
What can I do?
Greetings from Germany!
--
Uwe
08-15-2008 04:18 AM
Hi Uwe,
do you use different number formats in both vi´s? Normally we use 0,00 in germany and 0.00 in america. I think there is the problem.
Mike
08-15-2008 04:25 AM
I thought of this as well.
Just tested it and changed my LV option 'Front Panel.Use localized decimal point' Now the number format is aequivalent, but error1 is still there...
Greetings from Germany!
--
Uwe
08-15-2008 05:00 AM
Hi Uwe,
the attached example works for me.
Hope it helps.
Mike
08-15-2008 05:31 AM
Mike,
thx, your code worked here as well.
I found the problem and now I'm ashamed: I got the controls names from the FP of the callee. But the controls had been configured to show caption, not names. Basically those have been identic, but I had removed the default values from the captions and meant I had removed those from the names.
Now it seems to run. Hope this makes it through to the exe I have to built.
God sake I'll go for holidays this afternoon. Seems like I need it 😉
Thanck you VERY MUCH for your apreciated help!
Greetings from Germany!
--
Uwe