COMMUNICATING WITH ONSPEC

Once communications with the device are established and the I/O template is sending its scheduled commands properly, the next step is to pass the data on to ONSPEC's tables. This is done by using the sendToOnspec function (a full description of this function is given later in this manual). If a change is made to ONSPEC's tables a message will be sent on an ONSPEC queue. To poll this queue you must use the function getFromOnspec. (See the pollOnspecInput function in the provided source code.)

Table No. Prefix Data Type

1 EUR double
2 EUI integer
3 FLG char
6 DII char
7 DOO char
18 STR char *

This chapter will discuss the following aspects: