LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem regarding use of many string controllers

Hi,

 

What exactly is the problem which you are facing when restarting it? can you share the piece of code? Is it something like the attached vi? In this when ever the input array changes the output array also gets updated.

 

Regards,

 

Nitzz

(Give kudos to good Answers, Mark it as a solution if your problem is Solved;))

Message 11 of 13
(432 Views)

I moved the auto index part of my program over to a new VI, and it works when I run this VI on its own.

The problem is likely high CPU usage because of the rest of my program.I will try to restict the update frequency in my while loops.

 

I know the source to the problem now. Thanks for your help though. It's nice to know that people are willing to help.

___________________________________
Is my avatar the dog from the fraggle rock?
Message 12 of 13
(429 Views)

As mentioned before i'd also put the string in an array, if you plan on adding other control types make it an array of clusters. If it'll be matrix like it's just a 2D array.

If you make it a Classic array you can make it invisible.

When you've done that (actually you can already to this) - create an event for Array value change (or now for all string value change) and you'll have 0 cpu usage. 🙂

 

Something along this line.

 

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 13 of 13
(413 Views)