08-13-2024 05:59 AM
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?
08-13-2024 06:18 AM
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.
08-13-2024 08:50 AM
@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?