02-24-2014 08:13 AM
Yes it works perfectly, it is an internal problem for this VI.
Thanks,
02-24-2014 08:26 AM
As you have quite many sequence structures in the code (which is NOT recommended btw), i find it possible that someone configured these as "Exclude from Diagram Cleanup".
Please check if this option was set.
Norbert
02-24-2014 08:38 AM
I checked also this option. Nothing is excluded from the clean up.
Zied
02-24-2014 08:42 AM
What happens if you copy the whole block diagram into a new VI?
02-24-2014 08:59 AM
I tried that as well, but nothing is pasted in the new VI.
02-24-2014 09:00 AM
If you press Ctrl+a in the original VI, what does the selection show?
Somehow i got the feeling you got fooled by a screenshot of code in the block diagram....
Norbert
02-24-2014 09:15 AM
@Norbert_B wrote:
Somehow i got the feeling you got fooled by a screenshot of code in the block diagram....
Norbert
I think the same...
@ziedhosni: Download the attached VI and check it out yourself, is your block diagram behaves like a 'Pseudo Code'...??
02-24-2014 09:36 AM
I tried to copy paste the actual code in a new VI and Then I used the clean up tool, I got this picture below,but when I tried to put the actual code in the VI where the clean up is disabled, I got the pseudo code which is the same as the actual code. Is this what you want me to do?
02-24-2014 09:36 AM
here is the picture
02-25-2014 03:17 AM
@ziedhosni wrote:
I tried to copy paste the actual code in a new VI and Then I used the clean up tool, I got this picture below,but when I tried to put the actual code in the VI where the clean up is disabled, I got the pseudo code which is the same as the actual code.
Is this what you want me to do?
My intention to share that code (Actual and Pseudo Codes.vi) was to illustrate what Norbert_B has suggested:
@Norbert_B wrote:
Somehow i got the feeling you got fooled by a screenshot of code in the block diagram....
If you open the code I shared in previous reply and try to select and drag any node/wire in the Actual code and then do the same in the Pseudo code, you will find the difference in actual LabVIEW code and Pseudo code (picture/snapshot of the same).