TestStand environments are really great.
But launching SeqEdit with a specific environment is not straighforward: launch SeqEdit, select the environment, restart... or use a specific script to manage the command line launch of SeqEdit with /env argument...
Why do no provide a file association in Windows when installing TestStand? Or when changing the Engine version ?
I'm able to associate *.tsenv files using this powershell script (requieres elevated rights plus powershell execution policy trick):
$extension = ".tsenv"
$classType = "NationalInstruments.TestStandEnvironment"
$commandLine = "`"%TestStandBin%/SeqEdit.exe`" /env `"%1`""
New-Item -Path "Registry::HKEY_CLASSES_ROOT/$extension" -Value "$classType" -Force | Out-Null
New-Item -Path "Registry::HKEY_CLASSES_ROOT/$classType/Shell/Open/Command" -Value $commandLine -Force | Out-Null
This way, a double click on my environment file launches SeqEdit using that specific environment file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.