05-27-2013 06:32 AM - edited 05-27-2013 06:33 AM
@sushmith_ks wrote:
Hi @altenbach sir,
Since it is a defence related project I have no rights to share my vi. So 1st let me try with the inputs you have given and I will come back to you with the result, either positive or negative.
05-27-2013 01:05 PM
@Ranjeet_Singh wrote:
Go to page 6 and 7 of attached ppt. That is what I mean to say
If you quote or attach work that you did not create, you should always give proper credit to whoever wrote it als also include a link to the original source. There is no need to attach something that can be downloaded from elsewhere.
05-27-2013 01:48 PM
That's exactly what I thought.
I imagine the number of Rube Goldberg Codes in this VI.
This is really worrying.
05-27-2013 11:35 PM
@altenbach wrote:
@Ranjeet_Singh wrote:
Go to page 6 and 7 of attached ppt. That is what I mean to sayIf you quote or attach work that you did not create, you should always give proper credit to whoever wrote it als also include a link to the original source. There is no need to attach something that can be downloaded from elsewhere.
Sir,
I just want to show him what I mean to say. It will take sometime to search the ppt and read, If I attached some example then this not bad. I tried to save his time only. He is in defence project so I dont have any rights to say good or bad of somebodys code.
Thanks
05-28-2013 01:21 AM
@Ranjeet_Singh wrote:
Sir,I just want to show him what I mean to say. It will take sometime to search the ppt and read, If I attached some example then this not bad. I tried to save his time only. He is in defence project so I dont have any rights to say good or bad of somebodys code.
Thanks
Cultural differences aside, the fact that he's ina defence project certainly does not prohibit us from informing him of the quality (or lack thereof) of his code.
Bad code is bad code, no matter what the purpose of it might be.
05-28-2013 02:00 AM
@Intaris wrote:
@Ranjeet_Singh wrote:
Sir,I just want to show him what I mean to say. It will take sometime to search the ppt and read, If I attached some example then this not bad. I tried to save his time only. He is in defence project so I dont have any rights to say good or bad of somebodys code.
Thanks
Cultural differences aside, the fact that he's ina defence project certainly does not prohibit us from informing him of the quality (or lack thereof) of his code.
Bad code is bad code, no matter what the purpose of it might be.
Friend @Intaris,
what I mean to say is not because of defence instead we dont know the purpose and application of the VI. Untill and unless I know all the application and purpose I cant say bad because there may be only this way (You never know).
05-28-2013 02:29 AM
Hi everyone,
That is what i thought, it is the only way. because system needs so many tasks to be done in my VI. and most of the variables are used in many places, and few of them are used in many tasks. So if I create subvi,updating value will be a problem since i cant go for local variables. For this reason, i splitted up everything and ended up in creating a huge block diagram.
Eventhough i succeed in creating subvi, my block diagram size can not be reduced to greater extent. because as I said tasks are more, and in few places i cant go for subvi.
05-28-2013 02:49 AM
sushmith_ks wrote:That is what i thought, it is the only way.
No, there is always more than one way!
05-28-2013 02:53 AM
If it turns out that this is the ONLY way to get his program doing what he wants then I will stop programming LabVIEW immediately and devote myself to a completely new task....
What I'm trying to say is that looking at the image posted, this certainly is NOT the only way. In fact, most other ways are probably better than the one chosen, but if the willingness to learn is present, then it's at least a great way of learning. That is certainly a possible positive outcome of this exercise.
05-28-2013 03:08 AM
Hello,
As I mentioned in the beginning, I was a fresher when I started the Vi, after thinking so much I came to conclude that its the only way. It doesn't mean that its the ONLY way, but I could do only that much.