Here is an example...
Demo flow...
[{"id":"46fd36cc.0d35e8","type":"inject","z":"59c1e9ca.dd6988","name":"$ISAGM,1.234,2.345,3.456,9.876,8.765,7.654,5.555,6.666,7.777*10","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$ISAGM,1.234,2.345,3.456,9.876,8.765,7.654,5.555,6.666,7.777*10","payloadType":"str","x":1110,"y":260,"wires":[["86e56eee.fb24f"]]},{"id":"86e56eee.fb24f","type":"function","z":"59c1e9ca.dd6988","name":"Serial Data to Object","func":"var elements = msg.payload.split(\",\");\nvar el9 = elements[9].split(\"*\");\nmsg.payload = {\n aLat: parseFloat(elements[1]),\n aLon: parseFloat(elements[2]),\n aAlt: parseFloat(elements[3]),\n gPh1A: parseFloat(elements[4]),\n gPh2A: parseFloat(elements[5]),\n gPh3A: parseFloat(elements[6]),\n mA: parseFloat(elements[7]),\n mB: parseFloat(elements[8]),\n mC: parseFloat(el9[0]),\n multiplier: parseInt(el9[1]),\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1070,"y":320,"wires":[["c8d55540.9ff008"]]},{"id":"c8d55540.9ff008","type":"debug","z":"59c1e9ca.dd6988","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1270,"y":320,"wires":[]}]