gsget(volbuf.i2a.r, read_buffer.i1a.r, sequence_num.i2.r,
length.i2.r, offset.i2.r, status.i2.r)
This routine returns data from a GAS list to the users buffer.
volbuf buffer specified in associated GSLIST call to set
up the return of a GAS list
read_buffer buffer of at least "length" bytes in length to return
data into from "volbuf"
sequence_num data return sequence number of the last list update
length number of bytes to transfer from "volbuf" to
offset byte offset from the first data byte in "volbuf"
to return. That is, the 5 words of header
information in "volbuf" should not be included in
calculating the offset. An offset of 0 will return
the smart module error.
status returned ACNET standard status value from the last
update of the GAS list return
(OK -> success,
CAMAC_FE_PEND -> data is pending,
CAMAC_FE_FEDOWN -> front end is down,
CAMAC_FE_GASBUSY -> busy or a one shot read has an
CAMAC_FE_NOLIST -> no such list,
CAMAC_FE_REQFAIL -> no reply ID, request failed,
CAMAC_FE_ALRDYREAD -> one shot has already been read)
This routine enables the user to get a copy of the data returned by
a module as a result of a GAS list request. Although in theory the
user's program can simply look at VOLBUF, since the incoming data
can arrive at any time and may be in separate packets, this is not
advisable. By calling GSGET he is assured a valid and complete copy.
This function requires the following include files:
gslist, gsgetw, gslend, gschk, gsset, gsread, gstanc, gsmod, gsboot,