Data payload of the frame for ArCANFrameType

Are these hardcoded frames, or do you expect the data to change?

If it’s hardcoded, then Tommi’s suggestion is a good one. You could also initialize the frame data in the variable declaration if want to clean up your main program file.

The way I’ve packed ArCan frames in the past is by creating custom functions. For example, I’ll have a function called CreateXyzFrame() with the inputs being the data that’s included in that frame. Then the function can organize/modify/pack the frame, with the output being an ArCanFrameType.