Could you please share the serial number of your HMI for our reference?
From the macro, it looks like you’ve placed your data in EM memory. Could you confirm this and also share your SQL Query + SQL Query Command setup so we can further investigate?
Furthermore, below is a forum post on converting protocol and transferring data that is useful in setting up your macro.