Key-value converter

Convert the value of the source to its corresponding parent value based on a table of key-value pairs. The key-value converter converts heterogeneous data, such as a color to value.

Input

Properties
Property
Description
Keys and values
Edit keys and values in Key-value editor. See Key-value editor .
Dynamic link mode
Read
Read direction for dynamic link icon
Read from the source node to the parent.
Default for dynamic links defined in NetLogics.
Write
Write direction for dynamic link icon
Write from the parent to the source node.
Read/write
Read and write direction for dynamic link icon
Read from the source node to the parent and write from the parent to the source node.
Default for dynamic links created in
FactoryTalk Optix Studio
UI.
Source Dynamic link
A variable with a value corresponding to a key.
This property is available only for converter instances and not converter types.

Output

The value associated with the key in the map.

Example

Instance of a key-value converter
Key-value converter block connected to Variable1, with a Source Dynamic link
            referencing Variable2.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal