send_server_command()

Sends a command to the server identified by server_handle. Prefix with the CMD command protocol statement. Returns: none.

See also: create_server().

Syntax:

send_server_command(command, server_handle, [wait, invokeDir]);

where

command is the command string to send to simulator.

server_handle is a handle to simulator/server, returned by create_server().

wait is optional; the flag indicating whether the function should return immediately or wait for the "DONE" message from the server, where:

  • 0 = (default) for immediate return
  • 1 = wait for "DONE" message

invokeDir is optional; the directory from which to invoke the server if necessary, where:

  • NULL = (default) for using current working directory
  • DirName = for using the given directory

Example:
decl sh = create_server("myServer", "myServerProcess", "");
send_server_command("MAP_WIN", sh, 1);
Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources