1.6.30 Shift operation dialog
Specify the transformation source node or function for shift operation in the [Shift operation] dialog.
This dialog is displayed when you perform one of the following operations:
-
Right click the Shift operation function and select [Setting]
-
Double click the Shift operation function
The following figure shows the [Shift operation] dialog:
|
|
- Organization of this subsection
(1) Displayed items
- [Function name]
-
Displays the function name. If you want to change to any name, specify within 64 characters. You can use NCName definition characters of XML schema.
- [Input]
-
Specify a node that contains the node you want for shift operation. If a node is already mapped to logical operation, that node is displayed.
For details about the display format in [Input], see "6.4.6 Mapping Source Display Format" in "Service Platform Basic Development Guide".
- [Select Node] button
-
Displays the [Select Node] dialog. Click this button when you want to specify the node for shift operation in [Input].
For details about the [Select Node] dialog, see "1.6.8 Select Node Dialog (Data Transformation)".
- [Set Node Condition] button
-
Displays the [Set Node Condition] dialog. Click this button to specify a condition for the node and allow only mapping to take place only when that condition is satisfied
For details about the [Set Node Condition] dialog, see "1.6.11 Set Node Condition Dialog". For details about how to set node condition, see "6.7 Specifying Node Conditions" in "Service Platform Basic Development Guide".
- [Select function] button
-
Displays the [Select function] dialog. Click this button when you want to specify a function for Logical operation in [Input].
For details about the [Select function] dialog, see "1.6.9 Select function dialog".
- [Details]
-
Specify the detailed items for shift operation function.
- [Shift volume]
-
Specify the number of bits to be shifted. You can specify the number of bits in a range of 0 to 64.
- [Output size]
-
Specify the range to be outputted. The amount of size specified is acquired from the lower bit. You can specify the number of bits from 1 to 64.
- [Shift direction]
-
Specify the direction for shifting, with [Right] or [Left] radio button.
- [Shift type]
-
If the shift direction is [Right], specify the method to shift from one of the following:
- [Arithmetic shift] radio button
-
The higher bit (code bit) is not shifted and is retained.
- [Logical shift] radio button
-
Higher bit (code bit) is shifted. To the bits that become vacant by shift, "0" is complemented to them.
In case of left shift, since the resulting values of arithmetic shift and logical shift are same, there is no need to set shift type.
The specifications for every shift operation are as follows:
Shift classification
Left shift
Right shift
Arithmetic shift
Logical shift
Shifting code bit
Shifts
Does not shift
Shift
Empty bits smaller than output size
Fills with "0"
Fills with code bit
Fills with "0"
Empty bits during shifts
Fills with "0"
Fills with code bit
Fills with "0"
- [OK] button
-
Commits the specified contents and closes the dialog.
- [Cancel] button
-
Cancels the specified contents and closes the dialog.
(2) Operations that can be performed in this dialog
You can set the shift operation function with the [Shift operation] dialog. For details about how to set the shift operation function, see "6.5 Processing value or node in which function is used" in "Service Platform Basic Development Guide".