Skip to content

Commit

Permalink
fix: attr
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTheocharis committed Dec 13, 2024
1 parent bac0df1 commit d2b72d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1277,14 +1277,14 @@ tag_processor:
msg.meta.data_contract = "_historian";
return msg;
conditions:
- if: msg.meta.opcua_node_id === "ns=1;i=2245"
- if: msg.meta.opcua_attr_nodeid === "ns=1;i=2245"
then: |
msg.meta.virtual_path = "axis.x.position";
msg.meta.tag_name = "actual";
return msg;
```

Input with metadata `opcua_node_id: "ns=1;i=2245"`:
Input with metadata `opcua_attr_nodeid: "ns=1;i=2245"`:
```json
23.5
```
Expand Down

0 comments on commit d2b72d7

Please sign in to comment.