Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Again closing references and reentrant vi-calls

$
0
0

Hello,

i create a static-vi-reference that is then opened in a loop for 10 times in parallel. At the end i wait for all are finished. Then i close the reference that was created from "Open Vi reference".

Question 1: Do i also have to close the reference that is coming from "Static vi reference"?

(This 10x opening happens each second).

 

Question 2:

Currently the vi that is used as static vi-reference is set in VI-Poperties + Execution to "Shared clone reentrant execution".

What about all the subvis that are called in there? Do i also have to set them  to "Shared clone reentrant execution" or is this done automatically?

 

Question 3:

I have the effect that everything seems to run fine but the CPU and memory increases

After starting the program 50 MB RAM and CPU at 15%

Then i can be seen that there are cpu-peaks from time to time, Seems as this are the parallel-calls.

Then cpu goes higher and higher up to 72% and ram goes to 230MB (after 4 hours)

 

Is ther something that can be changed in this mimic? There is nothing else running that can eat my cpu und ram.

 

Thx

 

 

 

CloseReferences.jpg


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>