TI Connect Manager X Scripting Interface Documentation

wait for reference from reference [ as a list of type class ]

TIco  :  TIwf

This script command causes the TI Connect Manager X application to resolve the first reference as an object (ie. file item) to be retrieved, with a source reference (the 'from' reference) specifying which device to wait for the object from. This method of retrieving data is instended to be used with devices such as a TI-82 or TI-85 which do not support "silent" linking.

This feature is available for all supported devices that utilize a "VAR-LINK" method for unit-to-unit communications as well. The "GET" event is mapped to this event internally when the specified device is of a type that a "silent" GET function will not work.

The default "timeout" for waiting is the standard event timeout period. This can be extended via the "with timeout of xxx seconds ... end with" event attribute.


Examples of using this event are:

wait for file 1 from device 1
wait for file 1 of folder "main" from last device


The reply to this event is a descriptor containing a (possible list) of records of data, or a integer status representing an error response from a device.

A single item AERecord reply may look like:

{ directory recorddata DirOxxxx», calculator recorddata xxxxrrrrrr» }

 

BACK

03 March 2004 - slr