Thank you for repying
I don't know if this will help, please tell me if I need to share some more.
[
{
"id": "630bdb1c4f13eafc",
"type": "inject",
"z": "8a3e2aefb4cecb49",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "10",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 220,
"wires": [
[
"f8dc1780c5b633ec"
]
]
},
{
"id": "51b0c07ad2c67bb5",
"type": "debug",
"z": "8a3e2aefb4cecb49",
"name": "debug 2",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 880,
"y": 220,
"wires": []
},
{
"id": "f8dc1780c5b633ec",
"type": "function",
"z": "8a3e2aefb4cecb49",
"name": "function 10",
"func": "msg.payload = \"SELECT TOP (10) * FROM dbo.SA03 WHERE Tag = 'CH.DV01.MAIN01.Speed' ORDER BY DateTime DESC\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 350,
"y": 220,
"wires": [
[
"07853a5498b3965f"
]
]
},
{
"id": "5483a2755cbf1c1f",
"type": "ui_table",
"z": "8a3e2aefb4cecb49",
"group": "eb8ac8c960fbfe51",
"name": "",
"order": 1,
"width": 30,
"height": 6,
"columns": [],
"outputs": 0,
"cts": false,
"x": 890,
"y": 320,
"wires": []
},
{
"id": "07853a5498b3965f",
"type": "MSSQL",
"z": "8a3e2aefb4cecb49",
"mssqlCN": "aba6c4089a8cbd85",
"name": "Speed",
"query": "",
"outField": "payload",
"x": 550,
"y": 220,
"wires": [
[
"51b0c07ad2c67bb5",
"5483a2755cbf1c1f"
]
]
},
{
"id": "eb8ac8c960fbfe51",
"type": "ui_group",
"name": "Speed",
"tab": "959e32e81beb4ff7",
"order": 2,
"disp": true,
"width": 30,
"collapse": false,
"className": ""
},
{
"id": "aba6c4089a8cbd85",
"type": "MSSQL-CN",
"name": "i4.0",
"server": "Delta`Preformatted text`",
"encyption": true,
"database": "i4.0"
},
{
"id": "959e32e81beb4ff7",
"type": "ui_tab",
"name": "Delta SA 03",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]