Pummpcomm v2.5.1 Pummpcomm.Session.Exchange.ReadCgmPage View Source
Reads a CGM page. To get the valid range of page
, use Pummpcomm.Session.Exchange.GetCurrentCgmPage
.
Link to this section Summary
Functions
Decodes Pummpcomm.Session.Response.t
to Pummpcomm.Cgm.event
s on page requested in make/2
Pummpcomm.Session.Command.t
Makes Pummpcomm.Session.Command.t
to read page
from CGM attached to pump with pump_serial
. To get the valid
range of page
, use Pummpcomm.Session.Exchange.GetCurrentCgmPage
. Pages count up from 1
, so it is not possible
to determine the current page and the range of valid pages without using
Pummpcomm.Session.Exchange.GetCurrentCgmPage
first
Link to this section Functions
decode(Pummpcomm.Session.Response.t) :: {:ok, [Pummpcomm.Cgm.event]}
Decodes Pummpcomm.Session.Response.t
to Pummpcomm.Cgm.event
s on page requested in make/2
Pummpcomm.Session.Command.t
make(Pummpcomm.Session.Command.pump_serial, page :: non_neg_integer) :: %Pummpcomm.Session.Command{bytes_per_record: term, effect_time: term, max_records: term, opcode: term, params: term, pump_serial: term, retries: term, timeout: 5000}
Makes Pummpcomm.Session.Command.t
to read page
from CGM attached to pump with pump_serial
. To get the valid
range of page
, use Pummpcomm.Session.Exchange.GetCurrentCgmPage
. Pages count up from 1
, so it is not possible
to determine the current page and the range of valid pages without using
Pummpcomm.Session.Exchange.GetCurrentCgmPage
first.