NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Deployment Setup

Hello Folks,

 

I am new to this forum and TestStand. I am working on setting up TestStand Deployment programmatically.

 

The following setup is intended:
 1) LabVIEW adapter set to Run Time Engine with cleanup (if error occurs)
 2) Setup Search Directories in a particular order
 3) Disable Report Generation
 4) Disable Object leak reporting

 

[Question 1]  I would prefer on setting the above in LabVIEW (since I am familiar with it), but was wondering if doing this task would be easier in TestStand rather than LabVIEW.


For now, I went ahead and created something using ActiveX in TestStand that does the setup above partly, but when I try to run the sequence through a VI, it does not seem to go through past step 1 (see attached figure). I am suspecting the TS.IEngine reference. Any ideas?

 

Thanks.
AG

0 Kudos
Message 1 of 4
(3,837 Views)

Hi,

 

Your problem is the IEngine reference and the NULL reference for the ProcessModelParam.

 

Checkout my example at this link.  http://forums.ni.com/ni/board/message?board.id=330&thread.id=26017

 

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 4
(3,795 Views)

Thanks, Ray. The example does clarify my doubts.

 

I have updated the sequence at my end last week to do the required configuration on target computer. However, I would like to run it purely in LabVIEW without running the sequence in Sequence Editor or OI. I am assuming it is possible to do it that way. Please correct me if I am wrong. Thank you.

0 Kudos
Message 3 of 4
(3,760 Views)

Hi,

 

You should be able to do some of the items as a standalone. It would be like an OI only with limit capability.

 

Only probably some of the items you would only beable toalter the setting by display the dialogbox as in the SeqEditor.

 

So taking your initial list

 1) LabVIEW adapter set to Run Time Engine with cleanup (if error occurs) - I think this is only done via a DialogBox
 2) Setup Search Directories in a particular order - you should beable to reorders these using the API methods
 3) Disable Report Generation - I believe is done via the Dialogbox (ths maybe done via changing the TeststandModelReportOptions file)
 4) Disable Object leak reporting - not sure about this one.

 

 

regards

Ray

 

Regards
Ray Farmer
Message 4 of 4
(3,756 Views)