V+ AceServer Module Documentation CALL sv.read_double(handle, saved.ptr, double.val) CALL sv.read_short(handle, saved.ptr, short.val) CALL sv.read_single(handle, saved.ptr, single.val) CALL sv.read_string(handle, saved.ptr, $string.val) CALL sv.read_trans(handle, saved.ptr, trans.val) .END sv.write_hdr(handle, ptr) Abstract Write the header for an output message. Input Parameters Parameter Description handle Index of the message to read from ptr Position in the message buffer to read at Output Parameters None sv.write_single(value, handle, ptr) Abstract Write a float to the output message at the specified offset.
Input Parameters Parameter Description value Value to write handle Index of the message to read from ptr Position in the message buffer to read at Output Parameters Parameter Description ptr Index pointing to the next data item in the message Example .PROGRAM ex1.msg(handle, ptr) ; ABSTRACT: Demonstrate writing then reading to a message buffer ; ; INPUTS: handle: Index of the message to write into ; ptr: Position in the message buffer AUTO REAL saved.ptr AUTO REAL bool.val, byte.val, double.val, short.val AUTO REAL single.val ACE Reference Guide, 18317-000 Rev A Page 741