Set Timeout - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Maplets[Tools]

  

SetTimeout

  

set the maximum amount of time Maple waits for the first Maplet application to start

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SetTimeout(n)

Parameters

n

-

(optional) integer timeout value

Description

• 

Maplet applications are displayed by a Java [TM] program separate from the Maple kernel and user interface.  This Java program is launched by Maple the first time a Maplet application is displayed.  In rare circumstances, the Java program starts, but fails to establish a connection with Maple.  After n seconds, Maple aborts the Maplet application execution and raises an error.

• 

The default timeout value is 90 seconds.  Usually, the Java Maplet application manager takes only a few seconds to start.  The default is set to a high value to ensure normal operations are not impeded on slow or heavily loaded machines.  It is not set to an infinite value so that Maple can resume control in abnormal situations.

• 

The previous timeout value setting is always returned.

• 

If called with no arguments, the current setting is returned.

Examples

The default timeout setting.

MapletsToolsSetTimeout

90

(1)

Set the timeout to 120 seconds.

MapletsToolsSetTimeout120

90

(2)

Notice that the previous timeout value was returned.

If you call SetTimeout again with no arguments, 120 is returned.

MapletsToolsSetTimeout

120

(3)

See Also

Maplets[Tools]

Overview of Maplet Applications