06-28-2009 03:59 AM
Hello friends,
I am using labview 8.6. The condition terminal of the while loop and conditional for loop is behaving in just the opposite way.
When i wire a true to the condition terminal of my loop, the while loop continues to run when I click on run. when I wire a FALSE, it stops.
Is there any setting change that I have to make it to get it work properly.
Please suggest on this.
Thanks and regards,
Herok
06-28-2009 05:06 AM
06-28-2009 05:24 AM
Hi Tomi,
Thanks for your quick reply. It is not the question of conditional terminal. Let me explain my problem better.
Please have a look at the attachment that I am sending. For both the loops, the condition is CONTINUE if TRUE but in my case, both the loops are showing opposite behaviours as mentioned in the figure.
Can you please let me know what change should I make in the settings.
Thanks in advance.
Regards,
Herok
06-28-2009 05:47 AM
Hi Tomi,
Thanks for your quick reply. It is not the question of conditional terminal. Let me explain my problem better.
Please have a look at the attachment that I am sending. For both the loops, the condition is CONTINUE if TRUE but in my case, both the loops are showing opposite behaviours as mentioned in the figure.
Can you please let me know what change should I make in the settings.
Thanks in advance.
Regards,
Herok
06-28-2009 06:19 AM
06-28-2009 06:26 AM
Hello JCarmody,
Thanks for your reply.
I am sending you the VI. I am not sure if this would help you because only in 2 computers this behaviour is seen. In others, it works as it is supposed to work.
This is strange but true. So I was thinking if there are any settings change that someone has made by mistake. I am not able to find any such settings.
Regards,
Herok
06-28-2009 09:15 AM
06-28-2009 12:48 PM
Herok wrote:Hello JCarmody,
Thanks for your reply.
I am sending you the VI. I am not sure if this would help you because only in 2 computers this behaviour is seen. In others, it works as it is supposed to work.
This is strange but true. So I was thinking if there are any settings change that someone has made by mistake. I am not able to find any such settings.
Regards,
Herok
Herok-
here is an example of code that behaves like you describe. The not (hidden in the second loop) also has its output wire hidden by the input wire. To find out if you have hidden functions select the loop right-click and enable the "Autogrow" property. You can also configure the LabVIEW.ini to place structures with or without Autogrow enabled (Tools>Options>Block Diagram> about halfway down the page.
06-28-2009 01:09 PM
Please do NOT attach .bmp images with the extension changed to .jpg to circumvent the forum filters!
Herok wrote:I am sending you the VI. I am not sure if this would help you because only in 2 computers this behaviour is seen. In others, it works as it is supposed to work.
Whatever you are seeing must be due to some corruption or folding error. It all works fine here.
To make sure there are no hidden objects, simply press the cleanup button which would reveal any extra stuff (which is obviously not there). Does it fix itself if you click the termination terminal an even number of times? What if you remove the bad loop and create a new one?
Could it be you have some problems with the graphics card and the icon of the conditional terminal does not update correctly?
Whay happens if you connect a control instead of a diagram constant?
What is different on the computers where it acts incorrectly (different CPU (brand, model), #of cores, etc.)