LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue connecting to shared variables in DSC Module

I am trying to programmatically connect to 192 shared variables that are linked to 192 thermocouples in the DSC module.

Since they are displayed in groups of 24, I have the variables configured in 8 different libraries with 24 variables each.

I have the 24 variable connection strings in a class and then connect all 24 sequentially using Open Variable Connection in Background. After that I poll them and update my plot and indicators.

 

This all works fine when I use one group of 24 at a time. When I try to connect them sequentially, the first 24 get connected immediately. Then for each of the following groups of 24 I get an error for 40s to 45s, i.e. the Open Variable Connection in Background times out after 5s and does this 8 or 9 times in a row. After that all 24 variables connect without issue. It does not depend on which of the 24 variables I try to connect. It seems like the variable engine is just busy for 45s, which is a pain, as it means it takes me over 5 minutes to start my software.

 

Any idea what the issue could be here? This is the first time I am using programmatic connection. So far I have always used explicitly connected shared variables.

0 Kudos
Message 1 of 1
(902 Views)