NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying TestStand

I am trying to use the Deployment Utility to deploy TestStand to a target.  I have modified the TestExec.prj through CVI and have created an installer using CVI to do that.  I have also modified the modelsupport2.prj with some additional GUI's.  I have also made the necessary changes to all the other files required.  I have sone this several times with other versions of TestStand.

 

For some reason, the deployment utility is not picking up the files located in /All Users/Documents/TestStand 4.1.1/Components/

 

Therefore it is not getting the modified GUI, the Language files requires, the modelsupport2 files, etc. etc. etc.

 

I have tried multiple deployments selecting different settings, but nothing seems to work.  I finally copied iver the components directory from the development machine to the target and now my modelPanels GUI (which is all modifed in modelsupport2.dll) and it seems to work.  However, this is not the correct way, right????

 

Please advise. 

 

 

0 Kudos
Message 1 of 6
(4,074 Views)

Hi greggj_00,

 

I have a few questions just to clarify what is going on.  When you made changes to the modelsupport2.prj, etc, did you include them directly in the TestStand public directory?  Files should be copied from the components folder under Program Files to the components folder under Documents & Settings and changes should be made there.  It sounds like you have done this correctly, but I do want to verify that these files are located in the public directory.

 

Then, within the deployment utility, you should check"Display Files in TestStand Public Directories" under the System Source tab.  After doing this, you should be able to see the files populated under the Distributed Files tab.

Cheers,
Kelly R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(4,043 Views)

Hi Kelly,

 

All the files that were modifed in the modelsupport2.dll have been modified in the TestStand public directories, so I know that is not the problem.  The files in the normal TestStand directories remain unchanged. 

 

I have also tried to select the "Display files in the TestStand Public Directories", but this is where I run into other problems.  The deployment utility reports several errors and warnings that will cause my deployment to fail.  The errors reported are as follows:

 

 

1.  You may need to add any sequence files referenced by the following expressions:  (Too many to list, but all have to do with reportgen)

 

2.  The following files were not found:  (too many to list, but all are .vi's.  I don't even have LabView installed!)

 

3.  The following vi's could not be loaded: (Again, too may to list, but see above.... Labview not installed!) 

 

Regarding the vi's, I have tried to deselect any of the items that seem to be LabView related, but It still gives me those errors/warnings.  I have also tried to exclude any LabView items by excluding them in the Labview sections, but that does not help either. 

 

Please explain if possible.

 

Thanks,

Gregg

0 Kudos
Message 3 of 6
(4,028 Views)

Hi greggj_00,

 

In your distributed files tab, I would like you to remove everything that is not necessary.  From what you said in your first post, aside from your sequence files, etc that are in your workspace, I would like you to include the following in the distributed files tab:

 

  • Only the CVI checkbox for either the full or simple user interface (uncheck C++using MFC, C-Sharp, LabVIEW, VB.Net, other user interface)
  • Language checkbox under Components
  • Models checkbox under Components
  • TypePalettes under Components


In a previous post you had mentioned you removed everything LabVIEW related.  By following these steps, and removing all components except those absolutely necessary, we should hopefully see a change.

 

After you have removed all these unnecessary files, I would like you to click the analyze source files button at the bottom of the distributed files tab.  You check check the build status to see if you have any errors at this point.  If this works, then I would like you to retry the build.

Cheers,
Kelly R.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(4,004 Views)

I have removed all off the items that you instructed me to.  I am now only getting warning as follows:

 

Warning:  You may need to add any sequence files(s) referenced by the following expression(s):

 

There are too many to list, but they all have reportgen in them.  See below for an example.

 

"reportgen_" +RunState.Root.Locals.ReportOptions.Format + ".seq" in step 'Process Step Result', sequence 'SequenceFilePostResultListEntry', sequence file 'C:\Documentr and Settings\All Users.Windows\Documents\National Instruments\TestStand 4.1.1\Components\Models\TestStandModels\SequentialModel.seq

 

It appears to me, that the deployment wants me to include the following sequences:

 

SequentialModel

ParallelModel

ModelSupport

BatchModel

 

Is this right?  How do I do that?

0 Kudos
Message 5 of 6
(3,984 Views)

Hi greggj_00,

 

This warning indicates that these sequence files are being referenced by an expression that is evaluated at runtime. This warning can be ignored as long as the sequence files being referenced are included in the workspace.  If this is the case, you do not need to worry about this warning. It's for your information to ensure you have included these sequence files. 

Cheers,
Kelly R.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,956 Views)