From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI References to Running Clones

Solved!
Go to solution

@ww.brown wrote:

I had a related problem with clones in 2012-13.  Attached is a solution sent by NI in 2013.  Hope this helps!  WB


It's in 2014...

0 Kudos
Message 11 of 13
(708 Views)

The task manager I've seen does this very inefficiently (it could have been an older version). It calculates the clone crc every time it iterates over the possible clone names:

 

For each VI

 For x = 1 to n

  calculate crc

  ref = crc + x

 

The crc doesn't change, it's only input is the VI name...

 

For each VI

 calculate crc

 For x = 1 to n

  ref = crc + x

 

Just a hint. It will be hundreds of times faster.

 

Note that this is unsupported although it works. It might very well change in future versions of LV (NXG for sure).

0 Kudos
Message 12 of 13
(708 Views)

Thanks ww.brown,

 

I went with the hash you posted.  I use the clone VI's Front Panel Window: Title property to uniquely configure and subsequently select the clone instance I want to automate.

 

Thanks to all who posted.

 

Regards,

 

Steve K

0 Kudos
Message 13 of 13
(676 Views)