12-03-2019 03:10 AM
Hello,
So i have a project use class and some other class which inherit from one generic class.
In the main vi, i have several if-else case and in each if-else case, i also have many if-else case,like 30 in average.
so right now, the problem is the wire in the main vi is pretty slow, but for some other vi and even a sub vi in the main vi is in a good wire speed,
Any suggestions about it.
Below is a screen shoot for the structure of the if-else case.
Solved! Go to Solution.
12-03-2019 03:26 AM - edited 12-03-2019 03:26 AM
12-03-2019 03:26 AM
Please explain your definition of a "slow wire". Are you talking about any particular wire? How do you measure wire speed?
Do you have performance problems? What are the time limiting steps?
(A wire is a graphical representation and just defines value origin and data dependency on the diagram to be processed by the compiler. It does not have any "speed")
12-03-2019 03:33 AM
12-03-2019 03:35 AM
@ericyuan wrote:
so right now, the problem is the wire in the main vi is pretty slow, but for some other vi and even a sub vi in the main vi is in a good wire speed,
Did you accidentally turn on highlight execution? (The little light bulb in the toolbar of every diagram).
That's the only way to make a 'slow wire'... Of course splitting a wire could cause a data copy, but only if it enters a function or VI.
12-03-2019 04:22 AM
No, light mode is in execute stage, I'm talking about edit stage, like delete a wire and connect it again takes more than 2 seconds
but for other vi it's pretty quick, so should be a computer's problem?
12-03-2019 04:25 AM
Sorry, I'm talking about the slow wire in edit mode.
but strange things is that slow edit only happens to that part, for editing other part,(others location which isn't in that if case) the edit is quite fast.
Like the wire can quickly connected once i click the wire to one node
12-03-2019 04:31 AM
Ah, the very slow IDE problem. It's been some time since i had it or heard about it, but it sucks. One thing you can try it to close your project and turn of antivirus for your project folder and see if that helps.
/Y
12-03-2019 04:36 AM
@Yamaeda wrote:
Ah, the very slow IDE problem. It's been some time since i had it or heard about it, but it sucks. One thing you can try it to close your project and turn of antivirus for your project folder and see if that helps.
/Y
Not too sure, since only some parts are affected. But try and open the VI without opening it from a project (if you are). Working from within a project can slow some things down after a while and suddenly.
12-03-2019 05:13 AM
Could it be a hidden insane object?
Those used to crash LabVIEW, but not anymore. They could still slow down things though.
If there is a diagram that is particularly slow, I'd re-wire especially the type defs.
I noticed that newer LabVIEW version get slower in general the more you add on the diagram. But if only parts of the main diagram are slow, it must be something particular on the structure diagram.