Thanks for the reply Colin.
This is what enters into my 'Publish' Function Node:
[ 'F Number', 'F205804 ' ]
3 Aug 11:22:57 - [info] [debug:debug 364]
[ 'VERSION ', 'LR HandlingTool ' ]
3 Aug 11:22:57 - [info] [debug:debug 364]
[ '$VERSION', 'V8.30226 9/27/2017' ]
3 Aug 11:22:57 - [info] [debug:debug 364]
[ 'DATE', ' 07-JUL-23 03:52 ' ]
This is what leaves the Node:
{
topic: 'FANUC Robot/Initial Information/F Number',
payload: '"F205804 "',
_msgid: 'f3dcaaa027c1cb42'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/F205804 ',
payload: undefined,
_msgid: 'f3dcaaa027c1cb42'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
payload: [ 'F Number', 'F205804 ' ],
topic: '',
filename: 'C:\\Users\\PC\\Documents\\FANUC _ FANUC Robotics.html',
parts: { id: '424a0f96cb3665df', type: 'array', count: 4, len: 1, index: 0 },
_msgid: 'f3dcaaa027c1cb42'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/VERSION ',
payload: '"LR HandlingTool "',
_msgid: '8e5b7ad3704bbc19'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/LR HandlingTool ',
payload: undefined,
_msgid: '8e5b7ad3704bbc19'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
payload: [ 'VERSION ', 'LR HandlingTool ' ],
topic: '',
filename: 'C:\\Users\\PC\\Documents\\FANUC _ FANUC Robotics.html',
parts: { id: '424a0f96cb3665df', type: 'array', count: 4, len: 1, index: 1 },
_msgid: '8e5b7ad3704bbc19'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/$VERSION',
payload: '"V8.30226 9/27/2017"',
_msgid: 'c73dfa4091d6eae8'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/V8.30226 9/27/2017',
payload: undefined,
_msgid: 'c73dfa4091d6eae8'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
payload: [ '$VERSION', 'V8.30226 9/27/2017' ],
topic: '',
filename: 'C:\\Users\\PC\\Documents\\FANUC _ FANUC Robotics.html',
parts: { id: '424a0f96cb3665df', type: 'array', count: 4, len: 1, index: 2 },
_msgid: 'c73dfa4091d6eae8'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/DATE',
payload: '" 07-JUL-23 03:52 "',
_msgid: '7587543be12b3167'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/ 07-JUL-23 03:52 ',
payload: undefined,
_msgid: '7587543be12b3167'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
payload: [ 'DATE', ' 07-JUL-23 03:52 ' ],
topic: '',
filename: 'C:\\Users\\PC\\Documents\\FANUC _ FANUC Robotics.html',
parts: { id: '424a0f96cb3665df', type: 'array', count: 4, len: 1, index: 3 },
_msgid: '7587543be12b3167'
}
This is an example of my issue here where only the first message is correct but it is creating duplicate malformed messages for the following 2.
{
topic: 'FANUC Robot/Initial Information/$VERSION',
payload: '"V8.30226 9/27/2017"',
_msgid: 'c73dfa4091d6eae8'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
topic: 'FANUC Robot/Initial Information/V8.30226 9/27/2017',
payload: undefined,
_msgid: 'c73dfa4091d6eae8'
}
3 Aug 11:25:36 - [info] [debug:debug 366]
{
payload: [ '$VERSION', 'V8.30226 9/27/2017' ],
topic: '',
filename: 'C:\\Users\\PC\\Documents\\FANUC _ FANUC Robotics.html',
parts: { id: '424a0f96cb3665df', type: 'array', count: 4, len: 1, index: 2 },
_msgid: 'c73dfa4091d6eae8'
}