NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Install SequenceAnalyzer only for CI

I am trying to plug in sequence analyzer as part of my CI pipeline. 

Installing complete teststand package is problematic. Documentation states that it does not require an license.

 

Does it require to instal full TestStand package? I was uneble to fins something like Sequenceanalyzer package to install only this tool.

 

https://www.ni.com/docs/en-US/bundle/teststand/page/teststand-sequence-analyzer.html

 

 

0 Kudos
Message 1 of 6
(973 Views)

Hi Pawhan11, 

 

Yes, you will need to install the full TestStand package. Why is installing the complete TestStand package problematic?

 

Regards, 

Anand Jain

NI

0 Kudos
Message 2 of 6
(955 Views)

NIPM throws exception saying that it requires system restart to complete installation. On Github Actions VMs it is not possible to do trigger restart. After I igonre this exception it seems that TestStand is installed but I am unable to find AnalyzerApp.exe in the following directory.

 

Is this restart really required?

 

C:\Program Files (x86)\National Instruments\TestStand 2019\Bin

 

Will try to provide sample script to reproduce tomorrow

0 Kudos
Message 3 of 6
(951 Views)

HI, 

 

There is a command line that you can execute to avoid the reboot.

 

What is the package that you installed? If you installed just the TS Runtime Engine, you will not get the tools. I suggest you install the TS development system. That should install the runtime engine and the tools. 

 

Regards, 

- Anand

0 Kudos
Message 4 of 6
(924 Views)

I managed to install Analyzer app by installing package: ni-teststand-2019-tools-x86

 

After I try to start it the following error is thrown:

 

pawhan11_0-1659349946208.png

 

Attached script used on github runner used to install:

 

 

#################################################################################################################
#installs NIPM if required
function Install-NIPM
{
    $defaultPath = "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe"
    if(Test-Path $defaultPath)
    {
    }
    else
    {
        Write-Host "Downloading NIPM"
        $ProgressPreference = 'SilentlyContinue'
        Invoke-WebRequest -Uri https://download.ni.com/support/nipkg/products/ni-package-manager/installers/NIPackageManager22.5.0.exe -OutFile .\nipmInstaller.exe
        $ProgressPreference = 'Continue'
        Write-Host "Installing NIPM"
        Start-Process ".\nipmInstaller.exe"  "--passive --accept-eulas --prevent-reboot" -wait
    }
    return $defaultPath
}

#################################################################################################################
#installs TestStand Sequece Analyzer
function Install-SequenceAnlyzer
{
    $defaultPath = "C:\Program Files (x86)\National Instruments\TestStand 2019\Bin\AnalyzerApp.exe"
    
    if(Test-Path $defaultPath)
    {
    }
    else
    {
        $nipmPath = Install-NIPM
        Write-Host "Download TestStand Tools"
        & $nipmPath feed-add --name=ni-teststand-2019-x86-2019-released https://download.ni.com/support/nipkg/products/ni-t/ni-teststand-2019-x86/19.0/released | Write-Host
        & $nipmPath update | Write-Host
        Write-Host "Install TestStand Tools"
        & $nipmPath install --yes --accept-eulas --verbose ni-teststand-2019-tools-x86 | Write-Host
    }
    return $defaultPath
}

#################################################################################################################
#################################################################################################################
$seqAnalyzerPath = Install-SequenceAnlyzer
& $seqAnalyzerPath \help |Write-Host

 

 

Is it possible to work around this class registration issue?

0 Kudos
Message 5 of 6
(917 Views)

I have tried to set active TS version but id hangs forever

 

& 'C:\Program Files (x86)\National Instruments\Shared\TestStand Version Selector\TSVerSelect.exe' /version 19.0 /noprompt /installing /donotreactivate | Write-Host
0 Kudos
Message 6 of 6
(908 Views)