Table of Contents

Name

marsim - program to simulate the mar research 345mm Image Plate

Detector System

Synopsis

marsim [ -port PORT ] [ -s(wap) ]

Description

marsim is a program to fully simulate the mar research 345mm Image Plate Detector System. This program is useful to test, debug or demonstrate software to operate the scanner and the base (e.g. mar345, scan345). Note, that there are 2 versions of scanner electronics which operate differently. Accordingly, the scanner driving program "mar345" comes in 2 versions. Program version < 1.0 operates on scanners with serial numbers < 044. For marsim, accordingly, there are 2 versions as well. Version numbers < 4.0 only work together with version < 1.0 of program mar345!

Options

-port PORT
Use BSD port <PORT> rather than the default (4123 for program version < 4.0 and 4441 for all others). After quitting marsim, the operating system may disallow usage of the same communication port for a limited time period. To overcome this problem, another port may be used, but also the connecting program (e.g. mar345, scan345) then has to use the specified port. -s(wap) Swaps bytes when reading input commands or sending status and data. This needs to be done if the driver program (mar345) is run on SGI and marsim is run on DEC/Linux or if both marsim and mar345 are run on DEC/Linux. This flag is only available for program versions >= 4.0.

Program Operation

marsim has to be started before starting its counterpart. marsim is the passive agent that listens to network connect requests to the given port. It accepts commands through a socket interface and writes simulated scan data through the same communication channel. The counterpart has to be started within 5 seconds, otherwise the data communication channel cannot be used (program version >= 4.0 only).

Examples

marsim -port 4441

See Also

mar345, scan345

Author

Claudio Klein, Marresearch G.m.b.H., Norderstedt, Germany

Copyright

© Copyright 2000-2004 Marresearch G.m.b.H., Norderstedt, Germany

Address

Marresearch G.m.b.H.Phone: +49 - (40) - 529 884-0
Hans-Boeckler-Ring 17 FAX: +49 - (40) - 529 884-20
D-22851 Norderstedt - GERMANYinfo@marresearch.com
www.marrresearch.com


Table of Contents