Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Development Topics > SBX Subroutines

Calling SBX Remotely on ATE Client

Scroll Prev Top Next More

SBX routines can be called remotely on an ATE client by implementing them as functions; see Call SBX as a Function. This can be a very useful and powerful technique to extend application functionality from the server to the workstation—or vice versa, e.g. to allow the application to take advantage of some functionality existing on the Windows workstation but not the Unix server. The main limitation in this technique is that unlike a local SBX, the remote SBX can directly return only a single value, i.e. the value of the function. But there are ways around that limitation. For example, you can encode multiple values into a return string which are then parsed by the application. Or, the remote SBX can create a file and FTP it back.

One obstacle to overcome with remote SBXs is getting them installed on the client workstation in advance. This can be made simple by use of the utility function SOSLIB:[907,10]Fn'ATE'SBX().