LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed loop problem with 2014 labview

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

0 Kudos
Message 1 of 7
(3,211 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,203 Views)

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

 

0 Kudos
Message 3 of 7
(3,193 Views)

Hi Abdul,

 

please advice how can i make VI better if possible if you make changes to my VI.

Do all those things I implied in my questions in the message above…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(3,189 Views)

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

 

 

0 Kudos
Message 5 of 7
(3,182 Views)

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.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(3,176 Views)

@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.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 7
(3,173 Views)