VIAVI TestCenter-HLTAPI: How do I Load HLTAPI on Windows?
Knowledge Base - FAQ
VIAVI TestCenter-HLTAPI: How do I Load HLTAPI on Windows?
You need to have the Native Spiren TestCenter-API loaded before you can load the HLTAPI, so you need to set the packageIndex.tcl to point to both API locations.
Example:
set STC_INSTALL_DIR "C:\\Program Files\\VIAVI Communications\\VIAVI TestCenter 3.50\\VIAVI TestCenter Application"
package ifneeded VIAVITestCenter 3.31 [list source [file join $STC_INSTALL_DIR VIAVITestCenter.tcl]]
package ifneeded stc 3.31 [list source [file join $STC_INSTALL_DIR VIAVITestCenter.tcl]]
package ifneeded stclib 3.31 [list source [file join $STC_INSTALL_DIR stclib.tcl]]
set hltdir "C:\\HLTAPIStuff\\HLTAPI340\\SourceCode"
package ifneeded VIAVIHltApi 3.00 [list source [file join $hltdir hltapi_5.10_stc_2.10.tcl]]