新建
上传
首页
助手
最?/div>
资料?/div>
工具

Spirent Testcenter

自动化测试脚?/p>

 

TCL -1 

基本功能

 

2015-06-18 

浏览

(69) 

#!/bin/sh 

# aTemplate.tcl  

exec tclsh "$0" ${1+"$@"} 

#----------------------------------------------------- 

# 

# 

#----------------------------------------------------- 

 

 

#

引用

STC API ,SpirentTestCenter.tcl

的路?/p>

 

source {C:ProgramFilesSpirentCommunicationsSpirentTestCenter 

4.20Spirent TestCenterApplicationSpirentTestCenter.tcl} 

 

 

#

开启日志,

-logTo

?/p>

日志保存路径?/p>

使用

stdout

为标准输出;

 

 -loglevel

?/p>

可?/p>

 

DEBUG

?/p>

 

INFO 

?/p>

WARN 

?/p>

 

ERROR 

四种?/p>

 

stc::configautomationoptions -logTo "aTemplateLog.txt" -logLevel DEBUG 

 

 

#

配置机框

Ip

槽位端口?/p>

 

 

 

set chassisAddress "192.168.0.100" 

 

 

set slotPort1 "8/25" 

 

 

set slotPort2 "8/26" 

 

 

#

创建一个项?/p>

 

 

 

Ͼλ
新建
上传
首页
助手
最?/div>
资料?/div>
工具

Spirent Testcenter

自动化测试脚?/p>

 

TCL -1 

基本功能

 

2015-06-18 

浏览

(69) 

#!/bin/sh 

# aTemplate.tcl  

exec tclsh "$0" ${1+"$@"} 

#----------------------------------------------------- 

# 

# 

#----------------------------------------------------- 

 

 

#

引用

STC API ,SpirentTestCenter.tcl

的路?/p>

 

source {C:ProgramFilesSpirentCommunicationsSpirentTestCenter 

4.20Spirent TestCenterApplicationSpirentTestCenter.tcl} 

 

 

#

开启日志,

-logTo

?/p>

日志保存路径?/p>

使用

stdout

为标准输出;

 

 -loglevel

?/p>

可?/p>

 

DEBUG

?/p>

 

INFO 

?/p>

WARN 

?/p>

 

ERROR 

四种?/p>

 

stc::configautomationoptions -logTo "aTemplateLog.txt" -logLevel DEBUG 

 

 

#

配置机框

Ip

槽位端口?/p>

 

 

 

set chassisAddress "192.168.0.100" 

 

 

set slotPort1 "8/25" 

 

 

set slotPort2 "8/26" 

 

 

#

创建一个项?/p>

 

 

 

">
新建
上传
首页
助手
最?/div>
资料?/div>
工具

Spirent Testcenter

自动化测试脚?/p>

 

TCL -1 

基本功能

 

2015-06-18 

浏览

(69) 

#!/bin/sh 

# aTemplate.tcl  

exec tclsh "$0" ${1+"$@"} 

#----------------------------------------------------- 

# 

# 

#----------------------------------------------------- 

 

 

#

引用

STC API ,SpirentTestCenter.tcl

的路?/p>

 

source {C:ProgramFilesSpirentCommunicationsSpirentTestCenter 

4.20Spirent TestCenterApplicationSpirentTestCenter.tcl} 

 

 

#

开启日志,

-logTo

?/p>

日志保存路径?/p>

使用

stdout

为标准输出;

 

 -loglevel

?/p>

可?/p>

 

DEBUG

?/p>

 

INFO 

?/p>

WARN 

?/p>

 

ERROR 

四种?/p>

 

stc::configautomationoptions -logTo "aTemplateLog.txt" -logLevel DEBUG 

 

 

#

配置机框

Ip

槽位端口?/p>

 

 

 

set chassisAddress "192.168.0.100" 

 

 

set slotPort1 "8/25" 

 

 

set slotPort2 "8/26" 

 

 

#

创建一个项?/p>

 

 

 

Ͼλ">
Ͼλ
Ŀ

Spirent Testcenter 自动化测试脚?TCL(1) - 百度文库
新建
上传
首页
助手
最?/div>
资料?/div>
工具

Spirent Testcenter

自动化测试脚?/p>

 

TCL -1 

基本功能

 

2015-06-18 

浏览

(69) 

#!/bin/sh 

# aTemplate.tcl  

exec tclsh "$0" ${1+"$@"} 

#----------------------------------------------------- 

# 

# 

#----------------------------------------------------- 

 

 

#

引用

STC API ,SpirentTestCenter.tcl

的路?/p>

 

source {C:ProgramFilesSpirentCommunicationsSpirentTestCenter 

4.20Spirent TestCenterApplicationSpirentTestCenter.tcl} 

 

 

#

开启日志,

-logTo

?/p>

日志保存路径?/p>

使用

stdout

为标准输出;

 

 -loglevel

?/p>

可?/p>

 

DEBUG

?/p>

 

INFO 

?/p>

WARN 

?/p>

 

ERROR 

四种?/p>

 

stc::configautomationoptions -logTo "aTemplateLog.txt" -logLevel DEBUG 

 

 

#

配置机框

Ip

槽位端口?/p>

 

 

 

set chassisAddress "192.168.0.100" 

 

 

set slotPort1 "8/25" 

 

 

set slotPort2 "8/26" 

 

 

#

创建一个项?/p>

 

 

 



ļ׺.doc޸Ϊ.docĶ

  • д˱ʲ10---й˱ʲ޹˾
  • _ǽ仯_⼰
  • İ桶ѧʼ
  • ﷸӵķԲ(ϴ)
  • ݵǼǹٿģ
  • ʩչ淶дȫױ+ʾд˵[1]
  • ӰĿԱ-׼
  • йsmoҵгչʮͶǰо2016-2021
  • NRF24L01·ͨѶԳɹĹؼ__
  • ϰʹ

վ

԰ Ͼλ
ϵͷ779662525#qq.com(#滻Ϊ@)