Specifications
Adding Channels and an SWI to the Configuration File
7-16
7) Right-click on the SWI manager and choose Insert SWI.
8) Rename the new SWI0 object to A2DscaleD2A_SWI.
9) Set the following properties for A2DscaleD2A_SWI and click OK.
■ function
. This property causes the object to call the A2DscaleD2A
function when this software interrupt is posted and runs.
■ mailbox
. This is the initial value of the mailbox for this object. The
input_HST object clears the first bit of the mask and the output_HST
object clears the second bit of the mask. When this object runs the
A2DscaleD2A function, the mailbox value is reset to 3.
■ arg0, arg1
. The names of the two HST objects are passed to the
A2DscaleD2A function.
10) Choose File
→
Close. You are asked whether you want to save your
changes to hostio.cdb. Click Yes. Saving the configuration also generates
hostiocfg.cmd, hostiocfg.s62, and hostiocfg.h62.