05-04-2015 08:53 AM - edited 05-04-2015 08:54 AM
Hi
i had made my VI in labview 2012 version , now when i am running my VI on 2014 labview it dose not work .
it work on labview 2014 once i remove the timed loop , however, i am trying to make it work with timed loop .
any advice
Abdul
05-04-2015 09:03 AM - edited 05-04-2015 09:05 AM
Hi abdul,
what exactly "does not work"?
Why do you use so many local variables? Why do you need so many parallel running loops? (THINK DATAFLOW!)
Why are there loops running as fast as they can?
Why do you use a string to keep that "time string"? Why not work with timestamps or float numbers?
Why do you want to use a TimedWhileLoop set to a loop time of 1000ms when you have other loops in it which are set to (upto) 60s loop time?
Why do you want to use a TWL, when your code waits for user input?
Why do you want to use a TWL, when your code does network communication?
05-04-2015 09:25 AM
i am new with labview.
dose not work mean . when i run the VI on 2012 version the graph changes with current data and time " using timed loop", howver , when i use the same vi on 2014 i do not see that .
please advice how can i make VI better if possible if you make changes to my VI.
regards
Abdul
05-04-2015 09:27 AM
05-04-2015 09:32 AM - edited 05-04-2015 09:33 AM
Hi
thanks for your reply
your advice to make the VI better is good.
But please answer why only on labview 2014 its doing this not on labview 2012 .any trick to fix it without making alot of changes.
Kind regards
05-04-2015 09:35 AM
Hi Abdul,
why only on labview 2014 its doing this not on labview 2012 .
Don't know, have to scroll too much to have an overview of this VI…
any trick to fix it without making alot of changes.
Sorry, here I strongly advice to clean up the code and fix all those problems.
05-04-2015 09:37 AM
@GerdW wrote:
Hi Abdul,
why only on labview 2014 its doing this not on labview 2012 .
Don't know, have to scroll too much to have an overview of this VI…
any trick to fix it without making alot of changes.
Sorry, here I strongly advice to clean up the code and fix all those problems.
What GerdW is saying that, in cleaning up the code the way he recommended, you'll probably fix the issue.