VIAVI Test Center: issues when upgrading to STC FW 4.81 (On Linux)
Knowledge Base - FAQ
VIAVI Test Center: issues when upgrading to STC FW 4.81 (On Linux)
The package: “pkgIndex.tcl” in STC-API install directory, needs to be changed for HLTAPI using P4.81 STC-API installs.
replace the package: “pkgIndex.tcl” in:
../VIAVI_TestCenter_4.81/VIAVI_TestCenter_Application_Linux
with the attached at the end of this KB article.
Or edit out the following in the pkgIndex.tcl file that is there. (../VIAVI_TestCenter_4.81/VIAVI_TestCenter_Application_Linux/pkgIndex.tcl)
#Creating HLTAPI Path
set hltDir [string trim $dir '\"']
set hltDir [string trimright $hltDir '/']
set hltDir "$hltDir/HltAPI/SourceCode/"
package ifneeded VIAVIHltApi 4.81 [list source [file join "$hltDir" hltapi_5.10_stc_2.10.tcl]]
package ifneeded sth 4.81 [list source [file join "$hltDir" hltapi_5.10_stc_2.10.tcl]]
package ifneeded VIAVIHltApiWrapper 4.81 [list source [file join "[set hltDir]hltapiWrapper/" sth_wrapper.lib]]