LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The behavior when defining a large number of variables in a type definition (.ctl file)

When defining 1000×4 double data points in a type definition (.ctl file), LabVIEW’s performance has become very slow. Is there a way to avoid this?

0 Kudos
Message 1 of 3
(258 Views)

Hi kk5,

 

Yes, use an array of 4000 elements.

 

Since the general concept of a variable does not exist in LabVIEW, I'm assuming your type definition contains a cluster with an element for each data point. Having so many cluster elements to maintain and select from an enormous drop-down list sounds crazy and will of course cause editor performance issues.

 

Do you really need this to be a cluster? Why?

 

Regards,

Raphaël.

0 Kudos
Message 2 of 3
(252 Views)

@kk5 wrote:

When defining 1000×4 double data points in a type definition (.ctl file), LabVIEW’s performance has become very slow. Is there a way to avoid this?


Your description is too vague to really say much.

What are "variables"? What are "points"? Are you trying to define primarily data structures or values?

What is "slow"? (are you talking about edit time performance or when running? How do you measure "slowness"?)

 

As a first step, attach some code (maybe the ctl and a VI showing how you use it) and explain the purpose of this exercise. What problem are you trying to solve?

0 Kudos
Message 3 of 3
(205 Views)