NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How the Threads of TestStand treats the global variables of a CVI DLL

Solved!
Go to solution

I have been searching about this issue but I couldn't find some official documentation or white paper of NI explaining clearly how the threads of TestStand treat the global variables declare in a CVI DLL. I would be very grateful if someone could explain this.

 

Also I would like to ask what are the best practices in this cases.

 

Thanks in advance.

 

Ramiro Rossi.

0 Kudos
Message 1 of 2
(798 Views)
Solution
Accepted by topic author rrossi

I hope you like this thought: You can call your CVI DLL from many types of code. The DLL will not know who is calling, so the answer must be specific to a DLL, not TestStand.

As you know from C, global variables keep the value that has been recently written to them and this is also true if the caller is TestStand - multi-threaded or not.

0 Kudos
Message 2 of 2
(747 Views)