reading and parsing data from a file is slow. depending on your process it could be unacceptably slow. i would rather use ethernet communication and ring buffer. so one does not need to split anything - just keep on streaming data even if buffer array only has couple of elements (say 5-10, instead of 32k).
This is the goal in the end. Working our way to this... We don't have a lot of KUKA expertise here. Not sure of how to establish that outside of MxAutomation, which we've already investigated a bit. I just didn't know how to use triggers when we tried MxA... Not sure if they can be passed through.
In our process, the loading / unloading of spatial data will happen between tool passes. If the delay is on the order of tens of seconds, to read in like 1000 positions, that is probably ok.
Edit - doing something with EKI, ethernet KRL would be best, MxAutomation does not scale into our end goal. Are there any recommendations you have for learning to set up an ethernet ring buffer system panic mode?
For now, SkyeFire , I've set up the workflow you advised previously, having E6POS array declared and assigned values in the DAT file, and read by a loop in the SRC file. I get the error "Array name inadmissible" on the array entries... But the name is fine, P1_POS[1] = {X 0, Y 0, Z 0, A 0, B 0, C 0} for example... Not sure if there's something I'm missing here.