Datasheet

Fig Template object
Next step is to add the methods to the class description. While the card contains both inputs and
outputs, we need to create Init, Close, Read and Write methods. These will be configured with
method objects of type $Method. First we put a $RtMethod object, named IoMethods, under the
$ClassDef object. Below this, we create one $RtMethod object for each method. The objects are
named IoCardInit, IoCardClose, IoCardRead and IoCardWrite. In the attribute MethodName we
state the string with witch the methods will be registered in the c-code, i.e.
“MotionControl_USBIO-IoCardInit”, etc.