Buffer Functions (Polling)
15.2. Menu Driven Data Release
NetLink II offers four different methods for retrieving buffered data; menu
driven data release, command driven data release, Push function and the
Server function. During menu driven data release, the Buffer Functions
menu controls and conﬁgures the data release process. The menu driven
procedure consists of the following three steps:
Note: Prior to reading data, you must conﬁgure output options for
the port that will drive the data release, as described in Section 5.4.
1. Set Read Session Parameters: Use item 1 in the Buffer Functions
menu to select desired data types, source port, and other options as
described in Section 15.2.2.
2. Set Partition: Use item 2 in the Buffer Functions menu to set the
partition for your command port as described in Section 15.2.1.
3. Begin Data Release: Use item 4 in the Buffer Functions menu to
begin data release as described in Section 15.2.1.
15.2.1. The Buffer Functions Menu
After conﬁguring the command port, go to the NetLink II Main Menu, and
type 2 [Enter] to display the Buffer Functions Menu (Figure 15.2.) The
Buffer Functions menu offers the following options:
1. Set Read Session Parameters: Selects Read Session parameters,
including the Source Port and Data Type, Start Record, and Record
Count. For more information, please refer to Section 15.2.2.
2. Set Partition: Sets the partition for the user's port according
to currently selected Read Session Parameters. If Read Session
Parameters have not been redeﬁned, the partition for this port will
include all records by default.
3. Release Partition: Releases the port's partition, allowing other ports
to access the formerly partitioned data.