首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到16条相似文献,搜索用时 144 毫秒
1.
本文介绍Linux环境下,利用C与Tcl/Tk结合编写网络程序的一个实例。例程中用C编写网络通信程序作为底层,利用Tcl/Tk的C接口进行扩展编程,定制合适的Tcl/Tk解释器作为中间层,然后用Tcl/Tk脚本语言编写顶层用户图形界面。为在Linux平台下的C与Tcl/Tk结合的应用程序开发工作提供了一个参考例子。  相似文献   

2.
Tcl/Tk命令与C/C++的集成研究   总被引:2,自引:0,他引:2  
针对Tcl/Tk脚本中需要调用C/C++函数的问题,简要说明了Tcl/Tk命令的运行机理,给出了一个使用Tcl/Tk命令来调用C/C++动态链接库(DLL)函数的方案,并给出了将C/C++DLL函数封装为Tcl/TkC库函数的解决方法。  相似文献   

3.
RTLinux操作系统上Tcl/Tk和Open Motif的GUI开发技术探讨   总被引:3,自引:0,他引:3  
李凤宪 《计算机应用》2003,23(2):115-116,119
文中介绍了Tcl/Tk和Motif开发技术的特点,提供基于RTLinux实时操作系统上利用Tcl/Tk和Motif进行实时应用程序GUI开发的特点及实现方法,并以一个数控软件为例简要简述其实现过程,最后对Tcl/Tk和MOtif两种开发软件包进行了讨论。  相似文献   

4.
本文介绍一种多平台通用的、易于扩展的、具有C/C 语言接口的图形用户界面开发工具Tcl/Tk。本文结合作者的使用经验,首先介绍Tcl/Tk的特点,然后给出它的使用要点,最后描述了Tcl/Tk与C/C 的接口方式。期望该工具能得到更广泛的使用。  相似文献   

5.
面向路径的测试数据生成问题是软件测试中一个基本问题。文章介绍了自主开发的面向路径的测试数据自动生成工具。Tcl/Tk是一种图形界面设计工具,其功能强大,可运行于Windows,UNIX等操作系统上,具有良好的可移植性。文章简要介绍Tcl/Tk,并给出用Tcl/Tk设计面向路径的测试数据自动生成工具的图形界面的方法。  相似文献   

6.
用Tcl/Tk开发Linux下的图形界面应用   总被引:2,自引:0,他引:2  
探讨Tcl/Tk的基本原理,分析Tk在构建图形界面、与操作事件绑定以及实现事件响应等主要方面的功能,介绍用Tcl/Tk开发Linux下图形应用的环境要求以及脚本形成的方法和步骤。  相似文献   

7.
基于Linux及Tcl/Tk的数控系统人机界面的实现   总被引:3,自引:1,他引:2  
提出了一种基于在PC/104单板机的嵌入式Linux平台上,利用Tcl/Tk与C构建数控系统人机界面的方法。其中涉及底层接口程序的构建,Tcl/Tk解释器的扩展以及界面设计与实现等内容。  相似文献   

8.
《电子技术应用》2013,(1):59-61
要提高三层交换机的可靠性,需要进行大量的测试。为了提高测试的效率,提出基于Tcl/Tk语言的自动化测试平台。主要通过Tk实现GUI、Tcl实现测试脚本,已经广泛应用于测试Sprient公司的TestCenter所能测试的设备测试,替代手动操作测试仪表和手动配置被测设备,大大提高了测试效率。  相似文献   

9.
美国ActiveState公司开发的解释型脚本语言Tcl/Tk,用于访问硬件,内带的Snack包,可采集、加工声音,并显示振幅,频谱图。Tcl,Tk,Snack的Windows平台最高版,分别为8.3,8.3,2.1.6,集成在ActiveState TclPro 2.0 Beta 1产品中,下载于http://www.activestate.com。 Tcl支持clipboard、dde、socket等机制,可与其它语言通  相似文献   

10.
用C语言开发的Tcl/Tk语言主要用于访问各种硬件,如利用Snack,可任意加工外界声音,并通过自带的图形函数显示声强、频谱等物理特性。写多媒体程序时,有时希望将Tcl数据传递到VB,以利用那里的有关控件。为此,本文给出Windows 2000下,在Wish83解释环境下,Tel利用clip-  相似文献   

11.
高磊  孙宁 《计算机辅助工程》2006,15(1):47-50,62
对Tcl/Tk语言的代码可重用特性在可重配置平台上的应用进行研究,讨论星载计算机可重配置特性的机理,并详细介绍这种面向用户的脱离底层代码操作的重配置平台的搭建步骤和代码实现,并给出该方案在一款星载数据处理系统可重配置设计上的应用结果.  相似文献   

12.
We describe the design and implementation of a workbench for molecular biology that allows the easy integration of analysis tools. The software is implemented in Tcl/Tk using the [incr Tcl] extension that provides object‐oriented programming. The program is called tkGDE and consists of four main parts. The sequence editor allows the user to perform basic editing operations on biomolecule sequences. The graphical annotation editor gives the user a graphical overview of all annotated features of a sequence. The output manager retains information on the results produced by the analysis tools. The bundle control allows several tools to run automatically, passing data from one tool to the next. Tools are integrated into the system by describing their properties in a configuration file, which drastically reduces the time needed for integration. We present results proving that Tcl/Tk has been misjudged to be slow and unsuited for large projects. To achieve sufficient performance we exploited special features of Tcl/Tk, namely idle tasks and the capabilities built into the Tk canvas widget. The system consists of more than 34000 lines of [incr Tcl] code in 182 classes. The whole development process took about one person‐year. Copyright © 2000 John Wiley & Sons, Ltd.  相似文献   

13.
ANSYS的汉化及二次开发   总被引:2,自引:0,他引:2  
通过对ANSYS9.0软件的分析,介绍了ANSYS的汉化方案,并和诸如金山快译等通用汉化软件的汉化技术进行了分析和对比。以汉化为例,运用Tcl/Tk和UIDL两种编程语言,总结了对ANSYS进行二次开发的技巧。为ANSYS二次开发的进一步研究提供了参考。  相似文献   

14.
目前采用约束单元SPR2 建立无铆钉铆接的简化有限元模型,建模简单,仿真精 度较高,但HyperMesh 12.0 版本不支持SPR2 建模,导致了整车建模效率较低,因此本文应用 Tcl/Tk 语言和 HyperWorks 内置函数开发了整车铆接SPR2 的有限元快速建模模块。并以某轿 车铆接建模为例,验证了该模块的可操作性。该模块可根据用户选择的铆接点自动识别连接板 件,极大地提高了建模效率,同时可有效地避免软件的升级更新,节约费用,并为其他新型连 接的有限元快速建模提供了一种参考方法。  相似文献   

15.
DON LIBES 《Software》1997,27(2):123-137
This paper describes a technique that allows automation and testing of character-graphic programs using existing public-domain tools. Specifically, Tcl, Tk, and Expect are augmented with a terminal emulator in order to build a screen representation in memory. This screen can be queried in a high-level way and the interaction can be further controlled based on the screen representation. One immediate use of this is to build a test suite for automating standards conformance of the interactive programs in POSIX 1003⋅2 (Interactive Shells and Utilities). This technique is portable and inexpensive. All the software described in this paper is free or in the public domain. © 1997 by John Wiley & Sons, Ltd.  相似文献   

16.
DON LIBES 《Software》1997,27(4):481-493
Two agent implementations are described—one for mail notification and one for news notification. Both agents are implemented using Tcl. This paper provides a brief history and perspective of similar agents. Included are experiences using Tcl as an agent-implementation language, and comparisons of the results to similar agents. Also described are some new techniques of interest to Tcl programmers. © 1997 by John Wiley & Sons, Ltd.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号