Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6732

Best Practices for using .Net code Modules

$
0
0

Hello,

In a sequence I have to use a .net code module that I also use outside TestStand  (in a Windows Form application). For this reason I'm currently using the code module without using the TestStand Interoperability API meaning that I do not  pass Sequence Context to my dll, I just use its function as I do in .net application. It works, I'm just wondering if it is a bad practice. 

Furthermore, I choosed to use fileglobals to sto store the object reference to my dll since it is used in many subseqeunces of the sequence, even in this case I'm wondering if it is a bad practice.

Thanks in advance,

Francesca 


Viewing all articles
Browse latest Browse all 6732

Trending Articles



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