LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labiew wire is very slow

Solved!
Go to solution

So how can you find these crazy objects? Do VI analyzer help or is it just trial and error?

(And how do i quote thing on the forum, there used to be a button for that ...)

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 27
(1,581 Views)

Hi Yamaeda,

 


@Yamaeda wrote:

And how do i quote thing on the forum, there used to be a button for that ...


See here:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 27
(1,576 Views)

@Yamaeda wrote:

So how can you find these crazy objects? Do VI analyzer help or is it just trial and error?

(And how do i quote thing on the forum, there used to be a button for that ...)

/Y


The insane objects are discussed here, with some tips and links. But that can get a bit advanced.

 

Yamaeda, quote using the quote-button 🙂

quote.PNG

Certified LabVIEW Architect
Message 13 of 27
(1,574 Views)

That's a good suggestion, yes, i edit the code in a project, I will have a try to edit that main.vi by only open it without open a whole project,

0 Kudos
Message 14 of 27
(1,558 Views)

I think it's a structure's problem, But  i actually didnot have any heavy task in that if case, only two layer if case. 

So feel strange when faced with this problem

0 Kudos
Message 15 of 27
(1,557 Views)

@ericyuan wrote:

I think it's a structure's problem, But  i actually didnot have any heavy task in that if case, only two layer if case. 

So feel strange when faced with this problem


The editor doesn't care about how heavy a task is (during execution).

 

It can be about complexity of the wiring. Insane objects used to happen a lot with type defs (mainly enums and clusters) that where resizing when edited. This would misalign the anchor point of the wire to the node...

 

What seems like a heavy task to you, might be easy for the editor. And vice versa.

 

One simple wire could be corrupted some way, making a simple case diagram slow to edit...

0 Kudos
Message 16 of 27
(1,556 Views)

There are a lot of very experienced LabVIEW Users on this Forum.  We could help you much more directly if you do the following steps:

  • Compress the folder that contains the LabVIEW Project that is "slow to edit".  You should get a .zip file with the contents of the Folder.
  • Attach your VIs (meaning the .zip file containing the entire Project) to your response.

Doing this will serve several purposes:

  • We can determine which version of LabVIEW you are using.
  • We can see if you are doing things "very inefficiently", and can suggest (and actually try out!) changes to speed things up.
  • If there is a "problem for Experts", the Experts will be able to look at the problem and probably provide you with a solution.

Bob Schor

0 Kudos
Message 17 of 27
(1,554 Views)

When I see edit time slow downs, it is almost always due to "Compiled Code Complexity" getting too high.  You can look at the number in the VI Properties under the Memory Usage category.  If you are getting above 7 or 8, issues will start.  You can reduce the complexity with subVIs and/or better algorithms (remove duplicate code).  Inline VIs will also add to the complexity.  If you can't do anything to reduce that, then you can go into the LabVIEW options (Tools->Options) under the Environment category and play around with the Compiler Optimization settings to limit the optimizations the compiler does.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 18 of 27
(1,551 Views)

Ditto the idea of trying to edit with the project closed. There was an issue a couple of versions back that was involved with the project and classes (I do not recall the details but something about reevaluating from the top down vs the bottom up or some such).

 

Also make sure the auto-populating folders is turned OFF. That will slow down the IDE.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 19 of 27
(1,548 Views)

@Bob_Schor wrote:
  • Attach your VIs (meaning the .zip file containing the entire Project) to your response.

That is unlikely to happen, as even the names of the cases in the screenshot are obfuscated.

 

I don't think there's much else we can do without the code...

0 Kudos
Message 20 of 27
(1,543 Views)