04-28-2009 07:46 AM
Hi All,
I have been using Active X servers in TestStand for several years and now some of the newer stuff I am being supplied with is Dot Net objects. Does anyone know of somewhere to learn the correct way to use object references in TestStand. I don't understand when you should create a new object vs just using an existing object reference. I also would like to understand how to use an object reference variable.
I looked at the TS examples, but there is not an explanation.
Any ideas?
TIA,
Jim
04-29-2009 09:43 AM
Jim,
You may try reading through the NI TestStand Advanced Architecture Series, specifically Chapter 2: Using the NI TestStand Object Model. These may shed some light on the issue.
Regards,
Steven Zittrower
Applications Engineer
National Instruments
04-29-2009 12:14 PM
Thanks Steve!! It was an excellent article, but my search is for Dot Net Object References. The TestStand Object Model is an ActiveX server.
Thanks Again,
James
04-30-2009 02:43 PM
James,
You are correct that we don't have very many specific examples. The best would be the Demo example <TestStand>\Examples\Demo\DotNet. Basically, you're individual .dll, file, or reference would dictate the best practices needed to take to interface with it.
Regards,
Steven Zittrower
Applications Engineer
National Instruments