07-28-2022 03:55 AM - last edited on 10-21-2024 04:59 PM by Content Cleaner
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
07-28-2022 08:05 AM
Hi Pawhan11,
Yes, you will need to install the full TestStand package. Why is installing the complete TestStand package problematic?
Regards,
Anand Jain
NI
07-28-2022 08:28 AM
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
08-01-2022 03:15 AM
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
08-01-2022 05:40 AM - edited 08-01-2022 05:44 AM
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:
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?
08-01-2022 07:23 AM
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