Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 5.1/6.0, builds 1100-1271 > 1153 – 22 June 09

MX_AGWRAPPER

Scroll Prev Top Next More

New MIAMEX function MX_AGWRAPPER (177) serves as a convenient wrapper for "raw" ATE commands that are otherwise invoked via a sequence like:

? TAB(-10,AGCMD);PARMS;chr(127);

input "",RESPONSE

 

The MX_AGWRAPPER function reduces the above sequence to:

xcall MIAMEX, MX_AGWRAPPER, AGCMD, PARMS, RESPONSE

Aside from simplifying the syntax, MX_AGWRAPPER provides some intelligence to deal with the problem of typeahead that may be "in the pipe" at the time the command was issued and thus get mixed into the response.

Note that the function should only be used with ATE (AG_xxx) functions that return a response. Otherwise there will be a 2 second delay until it times out waiting.