--On 10/15/2004 12:05:41 [EMAIL PROTECTED] wrote:
I would like to have a version of DX which can read and execute some
simple commands from a socket (e.g. for starting or reexecuting some
visual program).  I assume that I could build such a beast with DXLink.
...
Are there examples how this is done for other languages, e.g. Python?

A Python interface for DX, py2dx, can be found at http://sc-2.psc.edu/mfix . It uses DXLink. If you look into the code, you will see that it takes quite a bit of work to create a full interface because of the messages that come back from DX through the link. The messages are important for synchronization, obtaining parameters, and receiving errors.

The download for py2dx includes several simple examples. The application "Mavis" (same location) uses py2dx to implement a full visualization application using py2dx.

Kent
- - -
Kent Eschenberg   [EMAIL PROTECTED]   412-268-6829
Pittsburgh Supercomputing Center

Reply via email to