next up previous contents
Next: Advanced programming techniques Up: Device server startup Previous: Retrieving a list

Exporting devices on the network

Once a list of devices have been created and initialised they can be exported onto the network to be exported by clients who want to execute commands on them. Not all created devices are necessarily exported onto the network. Sometimes devices are created in the startup for internal use and never exported onto the network.

To export devices onto the network their are two possibilities - (1) calling the DevMethodDevExport directly with the method finder, or (2) using the convenience function dev_export() which calls the method finder. It is possible to export a device onto the network with a different name to its device name. This option is reserved for perverse device server programmers. For a device to be exportable it has to appear somewhere in a list of devices in the resource database (cf. above example).



Andy Goetz
Tue Jan 28 13:58:13 MET 1997