I am creating channels in veristand. I use a for loop to automate the process and I have about 100 channels to create. The channels are grouped by module type. The problem is, that the whole procedure takes about 5-10 minutes. veristand shows the busy cursor and I can't do anything until this is finished. When it finishes all is fine. Is there a way to speed this up? I have attached a Jpg.
Ok I'll do that, but that doesn't change the result. The custom device configures, and collects data from a cRIO using TCP. One thing to note, when I step through the channel creating process using a an index array instead of the fore loop I get a better result.
JY
The sub vi is creating a section and adding channels--very simple.
JY
在 07-29-2010 04:08 PM
How many sections and channels are being created? NI VeriStand 2009 has a known issue that as the # being added increases, the speed degrades exponentially. If your channel count isn't huge (<200) I wouldn't expect this to take more than maybe 10-20 seconds.
The only thing that worries me is all the string manipulation, array building, and array initializing is probably hitting memory pretty hard, also I don't know what is in that parse VI. Although those operations will all pale in comparison to the slowdown experienced with adding a large amounts of items to the tree.