CellDisp objects are used to display the content of data objects
that is stored i NMpsCells, in the process graphics. It also makes it
possible for the operator to remove data objects from the cell, move
dataobjects forward or backwards in the cell, or select a data object
to gain more information about the object.

With the CellDisp object you can display a table of the data objects
in a cell, with the object name and some selected attributes. The
CellDisp object contains a number or arrays where the values for the selected
attributes are copied. The arrays can be displayed in a process graph.
There is also a select function, where a data object is selected, and
the selected object is copied to a dispay object, i.e. a permanent object
of the same class as the data object. If the content of the display
object is viewed in the process graphics, it will always display the
content of the currently selected data object.
Several tables in the same process graph, can have a common select
function, by using the DispLink object. One common DispLink object
is connected to all the DispCell, which will guarantee that at most
one data object is selected. In the DispLink object there is also
functions to remove the selected data object, or to move the object
forward or backward in the cell.
The selection is done, either with a select button in each row of
the table, or with the SelectNext/SelectPrevious function in the
DispLink object. With SelectNext/SelectPrevious the selection can
be performed with the function keys.
One table can display up to 10 cell objects. In the CellDisp object
there is room for 5 attributes of type float, 5 integers and 5
boolean. There is also an array containing the objid of the data
objects.
Maximum number of data objects displayed in one table is 60.
The connected cell objects can be of class NMpsCell or
NMpsStoreCell.
A DispLink object can link an unlimited number of CellDisp objects.
The select function is not conntected to the select function of the
NMpsStoreCell.
See also
|
RtBody attributes pwr_sClass_CellDisp |
| Pointer to Void |
Cell1 |
Cell1 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell2 |
Cell2 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell3 |
Cell3 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell4 |
Cell4 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell5 |
Cell5 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell6 |
Cell6 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell7 |
Cell7 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell8 |
Cell8 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell9 |
Cell9 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Pointer to Void |
Cell10 |
Cell10 |
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object. |
| Float32 |
Link |
Link |
Connected to the output of a DispLink object. Is used to link the select
function with other DispLink objects, or to use the function for remove
the selected data object from the cell, move the object forward or backward,
or select next or previous object. |
| Pointer to Void |
DisplayObject |
DObj |
Connected to a GetData object refering to a display object of the same
class as the data objects handled by the cells. The DisplayObject makes
it possible to display more detailed information for the seleted object.
The content of the selected data object is copied to the display object. |
| ClassId |
DataClass |
|
Class of the data objects handled by the cell. |
| Int32 |
Function |
|
Specific functions
- 0 Normal function.
- 1 The data objects are stored in reverse order. |
| Int32 |
Number |
|
If the selection function is shared with other DispCell objects, there has to
be a specified order when the selection is moved between the different
DispCell tables. The DispCell objects connected to one DispLink object are
numbered from 1 and upwards. The number for each DispCell object has to
be unique and there should be no jumps in the enumeration. |
| Int32 |
MaxSize |
|
Size of the displayed table (number or rows). Largest size is 60. |
| Int32 |
SelDirection |
|
SelDirection changes the selection direction, i.e the function of
SelectNext/SelectPrevious and MoveForward/MoveBackward is reversed.
This is useful if several CellDisp objects are linked, and some
displayes their objects in normal order, other in reverse order. |
| Array of String32 |
FloatAttr |
|
The name of attributes of type float in the data object, that
should be displayed in the table. Up to 5 float attributes can be specified.
The attribute in FloatAttr[0] is copied to F1, FloatAttr[1] to F2, etc. |
| Array of String32 |
BooleanAttr |
|
The name of attributes of type boolean in the data object, that
should be displayed in the table. Up to 5 boolean attributes can be specified.
The attribute in BooleanAttr[0] is copied to B1, BooleanAttr[1] to B2, etc. |
| Array of String32 |
IntAttr |
|
The name of attributes of type integer in the data object, that
should be displayed in the table. Up to 5 integer attributes can be specified.
The attribute in IntAttr[0] is copied to I1, IntAttr[1] to I2, etc.
If the attributes is of type Int16, add the suffix ##Int16 to the
attributename. |
| Array of Boolean |
Select |
|
Array for selecting objects in the table.
An object in a row is selected by setting the corresponding index in Select.
Select[n] could be connected to a pushbutton of row n in the table. |
| Array of Boolean |
OldSelect |
|
|
| Array of Objid |
Objid |
|
Array with objid of the data objects. |
| Array of Float32 |
F1 |
|
Contains the values of the attribute specfied in FloatAttr[0]. |
| Array of Float32 |
F2 |
|
Contains the values of the attribute specfied in FloatAttr[1]. |
| Array of Float32 |
F3 |
|
Contains the values of the attribute specfied in FloatAttr[2]. |
| Array of Float32 |
F4 |
|
Contains the values of the attribute specfied in FloatAttr[3]. |
| Array of Float32 |
F5 |
|
Contains the values of the attribute specfied in FloatAttr[4]. |
| Array of Boolean |
B1 |
|
Contains the values of the attribute specfied in BooleanAttr[0]. |
| Array of Boolean |
B2 |
|
Contains the values of the attribute specfied in BooleanAttr[1]. |
| Array of Boolean |
B3 |
|
Contains the values of the attribute specfied in BooleanAttr[2]. |
| Array of Boolean |
B4 |
|
Contains the values of the attribute specfied in BooleanAttr[3]. |
| Array of Boolean |
B5 |
|
Contains the values of the attribute specfied in BooleanAttr[4]. |
| Array of Int32 |
I1 |
|
Contains the values of the attribute specfied in IntAttr[0]. |
| Array of Int32 |
I2 |
|
Contains the values of the attribute specfied in IntAttr[1]. |
| Array of Int32 |
I3 |
|
Contains the values of the attribute specfied in IntAttr[2]. |
| Array of Int32 |
I4 |
|
Contains the values of the attribute specfied in IntAttr[3]. |
| Array of Int32 |
I5 |
|
Contains the values of the attribute specfied in IntAttr[4]. |
| Array of Int32 |
FloatAttrOffs |
|
Calculated offset for the float attributes. |
| Array of Int32 |
BooleanAttrOffs |
|
Calculated offset for the boolean attributes. |
| Array of Int32 |
IntAttrOffs |
|
Calculated offset for the integer attributes. |
| Objid |
SelectObjid |
|
|
| UInt32 |
DataSize |
|
|
| Int32 |
OldLastIndex |
|
|
| GraphPlcNode |
| object_type |
11 |
| parameters[0] |
12 |
| parameters[1] |
0 |
| parameters[2] |
0 |
| parameters[3] |
0 |
| graphmethod |
0 (standard, individual attributes) |
| graphindex |
0 |
| default_mask[0] |
1 |
| default_mask[1] |
0 |
| segname_annotation |
1 |
| compmethod |
35 |
| compindex |
0 |
| tracemethod |
0 |
| traceindex |
0 |
| connectmethod |
0 |
| executeordermethod |
2 |
| objname |
CellDisp |
| graphname |
CellDisp |
| Template Object |
| MaxSize |
60 |
Attributes detail
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Connected to the output of a DispLink object. Is used to link the select
function with other DispLink objects, or to use the function for remove
the selected data object from the cell, move the object forward or backward,
or select next or previous object.
Connected to a GetData object refering to a display object of the same
class as the data objects handled by the cells. The DisplayObject makes
it possible to display more detailed information for the seleted object.
The content of the selected data object is copied to the display object.
Class of the data objects handled by the cell.
Specific functions
- 0 Normal function.
- 1 The data objects are stored in reverse order.
If the selection function is shared with other DispCell objects, there has to
be a specified order when the selection is moved between the different
DispCell tables. The DispCell objects connected to one DispLink object are
numbered from 1 and upwards. The number for each DispCell object has to
be unique and there should be no jumps in the enumeration.
Size of the displayed table (number or rows). Largest size is 60.
SelDirection changes the selection direction, i.e the function of
SelectNext/SelectPrevious and MoveForward/MoveBackward is reversed.
This is useful if several CellDisp objects are linked, and some
displayes their objects in normal order, other in reverse order.
The name of attributes of type float in the data object, that
should be displayed in the table. Up to 5 float attributes can be specified.
The attribute in FloatAttr[0] is copied to F1, FloatAttr[1] to F2, etc.
The name of attributes of type boolean in the data object, that
should be displayed in the table. Up to 5 boolean attributes can be specified.
The attribute in BooleanAttr[0] is copied to B1, BooleanAttr[1] to B2, etc.
The name of attributes of type integer in the data object, that
should be displayed in the table. Up to 5 integer attributes can be specified.
The attribute in IntAttr[0] is copied to I1, IntAttr[1] to I2, etc.
If the attributes is of type Int16, add the suffix ##Int16 to the
attributename.
Array for selecting objects in the table.
An object in a row is selected by setting the corresponding index in Select.
Select[n] could be connected to a pushbutton of row n in the table.
Array with objid of the data objects.
Contains the values of the attribute specfied in FloatAttr[0].
Contains the values of the attribute specfied in FloatAttr[1].
Contains the values of the attribute specfied in FloatAttr[2].
Contains the values of the attribute specfied in FloatAttr[3].
Contains the values of the attribute specfied in FloatAttr[4].
Contains the values of the attribute specfied in BooleanAttr[0].
Contains the values of the attribute specfied in BooleanAttr[1].
Contains the values of the attribute specfied in BooleanAttr[2].
Contains the values of the attribute specfied in BooleanAttr[3].
Contains the values of the attribute specfied in BooleanAttr[4].
Contains the values of the attribute specfied in IntAttr[0].
Contains the values of the attribute specfied in IntAttr[1].
Contains the values of the attribute specfied in IntAttr[2].
Contains the values of the attribute specfied in IntAttr[3].
Contains the values of the attribute specfied in IntAttr[4].
Calculated offset for the float attributes.
Calculated offset for the boolean attributes.
Calculated offset for the integer attributes.