Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Output Time-Out

Draft MDC Standard

8.3 Device Parameters
8.3.1 Output timeout

For any mnemonicspace the implementation may define a device parameter that causes an error condition when an output-producing argument of a Read or Write command fails to complete execution within a specified time. If it is defined, the device parameter shall conform to this clause and to the related sections of 7.1.3.2.

This device parameter shall have the following form:
   OUTTIMEOUT = numexpr

numexpr shall be interpreted as the value of a timeout (see 8.1.5). Should any subsequent output-producing argument of a Read or Write command to the device fail to complete execution within that time, then

  1. the OUTSTALLED member of ^$Device, described in 7.1.3.2, shall assume the value 1, and
  2. an error with ecode = "M100" shall occur.

Output timeout shall not apply to a device when

  1. no OUTTIMEOUT deviceparam has executed for the device, or
  2. the value of numexpr in the most recent OUTTIMEOUT is non-positive.

An execution of an OUTTIMEOUT deviceparam shall replace any previous OUTTIMEOUT deviceparam for the device.

The Close command shall

  1. Set the value of the OUTTIMEOUT deviceparam to 0.
  2. Set the value of the OUTTIMEOUT member of ^$Device to 0.
  3. Set the value of the OUTSTALLED member of ^$Device to 0.

Note: this is an exception to the general specification of device parameters in 8.2.2.

Note: output timeout applies to the execution of Read or Write arguments, not to the delivery of data to a device.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 13-Sep-2014, 18:31:02.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)