question

Berkey avatar image
Berkey asked Yaseen answered

TCL not working iTest and IxNetwork

I am having trouble configuring iTest 4.3 to connect to IxNetwork 7.21.893.5 EA. I believe the issue is related to both PATH and Tcl interpreter settings. This is the error I recieve when attempting to connect via IxNetwork session: "Spirent Communications Ixia IxNetwork command interpreter. Copyright (c) 2005 - 2014, The Spirent Communications Using internal tcl interpreter tcl version: 8.0 The Ixia IxNetwork session did not start because it could not load the required dll files. Do one of the following: 1. Install a Tcl shell. Add its installation path to your system's 'Path' environment variable. Then restart iTest. 2. If a Tcl shell is already installed, make sure it is in your system's 'Path' environment variable. Then restart iTest. 3. Specify a Tcl shell path in Window > Preferences > iTest > General > Execution > Tcl Interpreter. Initialization Failed:The Ixia IxNetwork session did not start because it could not load the required dll files. Do one of the following: 1. Install a Tcl shell. Add its installation path to your system's 'Path' environment variable. Then restart iTest. 2. If a Tcl shell is already installed, make sure it is in your system's 'Path' environment variable. Then restart iTest. 3. Specify a Tcl shell path in Window > Preferences > iTest > General > Execution > Tcl Interpreter. Disconnected..." Under preferences in iTest there are three tcl interpreter options "Auto-select,Built-in, and Use specified" Can you tell me which choice is correct and is "C:\\Program Files (x86)\\Ixia\\IxNetwork\\7.21-EA\\tcl8.5\\bin\\tclsh85.exe" is correct if the proper selection is "Use specified"? Also can you verify that my PATH is set correctly? I have listed the output of the set command at the bottom of this posting. This is where tcl is installed by ixia: C:\\Program Files (x86)\\Ixia\\IxNetwork\\7.21-EA\\tcl8.5\\bin tclsh85.exe This is where the IxNetwork lib tcl files are: C:\\Program Files (x86)\\Ixia\\IxNetwork\\7.21-EA\\TclScripts\\lib\\IxTclNetwork Environmental Variables C:\\Users\\admin>set ALLUSERSPROFILE=C:\\ProgramData APPDATA=C:\\Users\\admin\\AppData\\Roaming CLIENTNAME=AUDIOSLAVE CommonProgramFiles=C:\\Program Files\\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\\Program Files\\Common Files COMPUTERNAME=ITEST ComSpec=C:\\Windows\\system32\\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\admin ITEST_HOME=C:\Program Files (x86)\Spirent Communications\iTest 4.3\ LOCALAPPDATA=C:\Users\admin\AppData\Local LOGONSERVER=\\ITEST NUMBER_OF_PROCESSORS=4 OS=Windows_NT Path="C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System3 2\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\ Binn\\;c:\\Program Files (x86)\\Microsoft SQL Server\\100\\DTS\\Binn\\;C:\\Program Files (x86)\\Ixia\\Perl\\site\\bin;C:\\Program Files (x86)\\Ixia\\Perl\\bin;C:\\Program Files (x86)\\Spirent Communications\\iTest 4.3;C:\\Program Files (x86)\\Spirent Communicat ions\\iTest 4.3\\iTestRT;C:\\Program Files (x86)\\Ixia\\IxNetwork\\7.21-EA\\tcl8.5\\bin; C:\\Program Files (x86)\\Ixia\\IxNetwork\\7.21-EA" PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 15 Model 6 Stepping 1, GenuineIntel PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0601 ProgramData=C:\\ProgramData ProgramFiles=C:\\Program Files ProgramFiles(x86)=C:\\Program Files (x86) ProgramW6432=C:\\Program Files PROMPT=$P$G PSModulePath=C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\ PUBLIC=C:\Users\Public SESSIONNAME=RDP-Tcp#0 SystemDrive=C: SystemRoot=C:\\Windows TCLLIBPATH="C:\\Program Files (x86)\\Ixia\\IxNetwork\\7.21-EA\\TclScripts\\lib\\IxTclNe twork" TEMP=C:\\Users\\admin\\AppData\\Local\\Temp TMP=C:\\Users\\admin\\AppData\\Local\\Temp USERDOMAIN=itest USERNAME=admin USERPROFILE=C:\\Users\\admin windir=C:\\Windows eof
iTesttcl scriptixNetworkpath
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Yaseen avatar image
Yaseen answered
Could you please try the below settings in Session profile/Topology file, 1. Under More>> property go to Tcl Interpreter section 2. Browse the path for Tcl Interpreter for "Path to Tcl Interpreter" field 3. Browse the path till IxTclNetwork folder as specified in TCLLIBATH environmental variable for "Path to Tcl Library" field 4. Disable the check box "In addition, use paths specified in the TCLLIBPATH environmental variable" ![alt text][1] [1]: /storage/temp/3822-tcl1.png Let us know how it goes! Thanks!

tcl1.png (28.4 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

madhuri avatar image
madhuri answered
Hi Berky, To avoid this issue, we need to specify the correct Tcl interpreter path under preferences->Spirent->Session Types->Ixia IxNetwork by selecting the "Use specified Tcl interpreter" option. If the Tcl is installed with Ixia then the Tcl interpreter path should be "C:\\Program Files (x86)\\Ixia\\IxNetwork\\7.21-EA\\tcl8.5\\bin\\tclsh85.exe" And the TCLLIBPATH env need to set as below: TCLLIBPATH="C:/Program Files (x86)/Ixi/IxNetwork/7.21-EA/TclScripts/lib/IxTclNetwork" Please try these settings and let me know how it works. Thanks, Madhuri
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Berkey avatar image Berkey commented ·
Thanks for the response. Unfortunately even with the system configured using the settings that you defined the error remains the same. Can you recommend any other changes that may resolve the issue? Thanks again for the assistance. This issue is a major roadblock in setting up our lab. Mike
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.