04-20-2016 04:34 AM
Hello,
I want to initialize array "Fitting Parameter Initialization" once VI starts (using Value Signaling prioperty).
Doesn't work. Upon VI start "Fitting Parameter Initialization" keep its old value.
Thanks in adavnce
Solved! Go to Solution.
04-20-2016 04:40 AM
04-20-2016 04:53 AM
Indeed, with local variable it works.
Thanks.
P.S. BTW why with signaling property it didn't
04-20-2016 05:07 AM
Why you are using Value Signaling Property. You can simply use Value property or local variable of the array.
04-20-2016 05:21 AM
sankar06 a écrit :Why you are using Value Signaling Property. You can simply use Value property or local variable of the array.
Frankly speaking I have no consistent answer to your question.
For some issue in the past only "Value Signalling" property could do the job (Local variable failed).
I don't remember what setup I used at that moment, but since I privilege "Value Signaling" for assigned values to controls.
But anyway, in this particular case ... why "Value Signaling" doesn't work ?
Thanks
04-20-2016 05:36 AM
Hi Pavel
Actualy it working fine in my test code. I dnt know the reason why it is not working in your VI. The Value signaling property is used to generate the value change event programticaly.
04-20-2016 05:40 AM
Can you, please, put your image.
Thanks.
04-20-2016 05:50 AM
04-20-2016 06:04 AM
Ok,
It seems that it works due to "error chain", that introduces continuity of events, e.g. first array is initialized, then while loop starts.
Without "error chain" it will not work, isn't it ?
04-20-2016 06:58 AM - edited 04-20-2016 06:59 AM