gsset(house.i2.r, module_type.i2.r, stanc.i1a.r, set_buffer.i1a.r,
event_flag.i2.r, status.i2.r [,node.i2.r])
This routine sends a single setting (one STANC's worth) to a GAS
house house code
module_type module type code
stanc 8 byte word aligned GAS STANC
set_buffer buffer containing the setting data
event_flag event flag number to be set upon acknowledgment
from the front end that the setting has been sent
to a smart module
status status returned from the front end on acknowledgment
of the setting request
[node] front end logical node number (default is TEV)
When ready to verify the setting has been successfully sent to
the smart module, issue call WAITFR (EFLG) and check STAT
for success. Only one GSREAD, GSSET, or GSLIST setup is serviced
at a time, a reply or reply error receipt allows another GSREAD, GSSET,
or GSLIST setup to proceed.
The way to use this routine is:
1) Set up arguments.
2) Get an event flag from 'LIB_GET_EF'. You do not have
to clear this event flag.
3) Call 'gsset'. The setting process will be initiated.
4) Possibly do other stuff.
5) Wait for the event flag with 'SYS_WAITFR'.
6) Check "status". Zero = O.K.
Note that you ALWAYS WAIT FOR THE EVENT FLAG before checking "status".
Note also that THE EVENT FLAG WILL ALWAYS BE SET, even if a network
message gets lost, because we use time-outs around all network calls.
This function requires the following include files:
clib_h, nodedefs_h, acnet_errors_h
gslist, gslend, gsget, gsgetw, gschk, gsread, gstanc, gsmod, gsboot,