# Author: Jae Chung # Date: 7/20/99 # # This file is modified from # "ns-2/tcl/ex/lantest.tcl" set opt(tr) "out.tr" set opt(na…
EX-PLC 源代码
汇集 EX-PLC 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
# Polly Huang 8-7-98 set ns [new Simulator] $ns multicast set f [open out.tr w] $ns trace-all $f $ns namtrace-all [open out.nam …
# Jae Chung 7-13-99 # Create MyAgent (This will give two warning messages that # no default vaules exist for my_var1_otcl and m…
// Jae Chung 7-13-99 // Example of a aimple and dull Agent that // illustrates the use of OTcl linkages #include #include…
# Polly Huang 8-7-98 # Initial setup source ~/ns-allinone-2.1b4a/ns-2/tcl/http/http-mod.tcl source dumbbell.tcl global num_node n…
Example 3. Example of Outputting a MEL descriptor: Code Fragment: double pipe_length = 100, diameter = 6; union melo_…
Example 5. Public Interface Between MEL and Any Application Program Using It. (Excerpted from mel.h header file.) /* if usin…
Example 4. An Example of Output Generated by a Hydraulic Analysis Program using MEL. (From the input data given in Example 1.) …
Example 1. An Example of MEL Input for a Hydraulic Analysis Program. (Note that tokens will be unique to each application.) …
Example 2. Example of Obtaining Data From a MEL Descriptor: Descriptor: pipe, length = 100 (ft), diameter = 6 (in); …