Changes between Version 3 and Version 4 of WARPnet1/AzimuthSupport
- Timestamp:
- Jun 23, 2010, 4:27:28 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WARPnet1/AzimuthSupport
v3 v4 5 5 The WARPnet Framework supports control of an Azimuth ACE 400WB Channel Emulator along with the WARP boards themselves. A channel emulator is very useful to characterize the performance of algorithms in controlled environments. The client script has access to the full TCL API that the Azimuth Emulator provides. 6 6 7 == Setup == 8 9 Run `tclserver.tcl` that is available in the [source:PlatformSupport/WARPnetTestingFramework/release-2.2/warpnet_framework warpnet_framework] folder on the same machine that has Director-II installed. The command to run it is 10 {{{ 11 tclsh tclserver.tcl 12 }}} 13 14 This computer must be on the same network as the computer running the WARPnet Server. 15 7 16 == Emulator Scripts == 17 18 In order to control the Azimuth Emulator from your script use the following commands. 19 20 First the warpnet_client must be informed of the Emulator's presence. 21 {{{ 22 emulator = initEmulator() 23 ]}} 24 25 The returned Emulator() object is used for Emulator communication. To have the WARPnet Server connect to the `tclserver.tcl` run 26 {{{ 27 emulator.connect('192.168.1.10') 28 }}} 29 where you can replace the IP address above with the IP address of the computer running tclserver.tcl. 30 31 Finally to send commands to the Emulator run the following 32 {{{ 33 emulator.command('ace_identify_chassis', 'C1') 34 }}} 35 The input to command is an arbitrary list of values that are concatenated together as a string. This string is the actual command that will be executed on the computer. To ensure that you command is valid, refer to the TCL API that the Azimuth Emulator provides.