Multi Signal Class Users Guide
SR/RF-FOC/TRA3-1/Set-CurrentSR/RF-FOC/TRA3-1/Current
SR/RF-FOC/TRA3-1/Voltage
As in the signal class the function object_initialise() was modified from the standard device server template. A class_name argument was added to the function to allow the specification of signal resources for a whole class of devices.
static long object_initialise (MDSSignal ds, char *dev_class_name, long *error);A list of signal names must be specified for the device class. All devices of the same class treat the same list of signals. For example the signal list of the "RF_FOCUS" device class:
CLASS/RF_FOCUS/DEFAULT/signal_names: set-Current \Voltage, \
Current
The method DevMethodCheckLimits is not implemented in the multi signal object. Up to now this feature is used to check set-point limits when changing set-points. In this case it is an action on one signal object only. To handle a set-point limit check when working with a multi signal object, a method was implemented to extract the pointer of a signal object from the multi signal object.
properties.length = (number of properties per signal) * number of signals + 1
properties.length = 25properties.sequence[0] = Number of properties per signal
properties.sequence[1] = Name of signal 1
properties.sequence[2] = Label 1
properties.sequence[3] = Unit 1
properties.sequence[4] = Format 1
properties.sequence[5] = Description 1
properties.sequence[6] = Maximum value 1
properties.sequence[7] = Minimum value 1
properties.sequence[8] = Alarm high 1
properties.sequence[9] = Alarm low 1
properties.sequence[10] = Delta value 1
properties.sequence[11] = Time interval 1
properties.sequence[12] = Multiplier for standard units 1
properties.sequence[13] = Name of signal 2
properties.sequence[14] = Label 2
properties.sequence[15] = Unit 2
properties.sequence[16] = Format 2
properties.sequence[17] = Description 2
properties.sequence[18] = Maximum value 2
properties.sequence[19] = Minimum value 2
properties.sequence[20] = Alarm high 2
properties.sequence[21] = Alarm low 2
properties.sequence[22] = Delta value 2
properties.sequence[23] = Time interval 1
properties.sequence[24] = Multiplier for standard units 2
DEVHIGH = Exceeded high alarm level.DEVLOW = Exceeded low alarm level.
DEVEXTRACTED = Difference between read and set (nominal) value.
DEVRUN = Signal is in the given range.
True = One or more signals indicate alarmsFalse = No alarms
DS_NOTOK = An error occurred
Generated with Harlequin WebMaker