The ‘Debug’ Module
Did you know that you can use the Debug module to inspect data types within your flow?
This powerful tool adds metadata to the flow message, allowing you to see the actual data types of each property. By providing a detailed view of data types, the Debug Module helps identify mismatches or unexpected types that could be causing issues in your flow.
For instance, if a value you expected to be an integer is actually a float, the Debug Module can reveal this discrepancy before it affects downstream processes. This insight enables you to catch potential errors early, saving time on troubleshooting.
Additionally, it ensures that all components in your flow handle data correctly, enhancing the overall stability and reliability of your system.
Crosser Example Flow
Output of Debug (OPC UA):
{ "data": { "dataType": { "type": "String", "value": "Float" }, "index": { "type": "Int32", "value": 2 }, "name": { "type": "String", "value": "Random" }, "nodeId": { "type": "String", "value": "ns=3;i=1003" }, "sourceTimestamp": { "type": "DateTime", "value": "2024-11-11T13:55:00.000+00:00" }, "statusCode": { "type": "String", "value": "Good" }, "value": { "type": "Single", "value": 0.2314444 } } }