07-23-2010 07:57 AM
I need to implement this while loop, i tried it using the case structure but i am not able to do it, i am getting a error saying that Missing alignment to tunnel , Case Structure : Unwired selector...
the while loop is :
while ((eps>EPSTol)&(iter<iterMAX))
Ew = Ew.*(sqrt (F./Fr));
Ew (find (isnan (Fr))) = 0;
Fr = normalise (Fr);
eps = chi2 (F, Fr);
end
can you please help me on this....
07-23-2010 08:32 AM
You have to connect the case selector to a booloean control here. Also the esp output in the case selector "right click" and choose default if unwired.
07-23-2010 08:58 AM - edited 07-23-2010 08:59 AM
It's been said many times before, but it bears repeating;
DO NOT POST BITMAPS TO THE FORUM. DO NOT CHANGE THE EXTENSION OF A FILE TO .jpg, .gif, OR ANYTHING ELSE JUST TO GET IT PAST THE FILTERS.THE FILTERS ARE THERE FOR A REASON.
You will not be able to connect the output of your OR function to the case structure. That would create a circular condition, which you cannot have. Think about it. You want to execute the True case if the output of the Boolean operation is true, but you cannot evaluate the Boolean operation until you have the value generated by the True case. You must have an initial value for eps in order to be able to evaluate the Boolean operation. A shift register (or feedback node) should be used for the eps value, and you can initialize the shift register (or feedback node) to set the initial condition. Example:
It's also worth saying this: To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
07-23-2010 01:30 PM
smercurio_fc is right even he is a little bit loud.
How to store screenshots: In Paint and other programms do not use "File > Save..." but use "File > Save as...". Then you can select the format of the file. For screenshots it is good to use either gif or png. For real world picture use jpg.
07-23-2010 01:53 PM - edited 07-23-2010 01:54 PM
@waldemar.hersacher wrote:
smercurio_fc is right even he is a little bit loud.
That's because people don't listen...