The Device Server Signal Interface

6. Reading the Signal Properties without Accessing the Device


A second way to extract the signal properties of a device was developed. The properties are read directly from the resource database without a connection to the device. This interface is used in applications like fsigmon, devsel, hdb_config and the hdb_filler which can read data only from the data collector without having access to a device server running on a VME crate.

===================================================== Function:	long dev_get_sig_config()
 Description:	Extract the signal configuration for a device from
	the resource database. The result is the same as
  	calling the command DevGetSigConfig on the device.
 Arg(s) In:	char *device_name              - Name of the device
 Arg(s) Out:	DevVarStringArray *argout - Array containing the 
 	configuration of all signals known for this device.
	long  *error - pointer to error code, in case
	routine fails. =====================================================
long dev_get_sig_config (char *device_name, 
                                     DevVarStringArray *argout, long *error)
To use this function your client must be linked with the shared library:

libdssig.sl

The function was not integrated to the TACO API-library, because it uses internally the signal and multi signal classes. This would cross reference the API-library with the class library. Linking problems and Makefile changes would be the result.


The Device Server Signal Interface - 27 FEB 1998

Generated with Harlequin WebMaker