MatthewDean Posted October 12, 2012 Posted October 12, 2012 Delta Tau, How can I avoid conflicts with the Power PMAC's gathered data and my own user data in the shared memory area? I noticed that I can get a pointer to the data using "pSharedMem->Gather.Buffer". Is there a way to tell the Power PMAC beforehand where to store the gathered data? Thanks, Matthew Dean Coastal Controls
Sina.Sattari Posted October 15, 2012 Posted October 15, 2012 Matthew, The gather buffer is separate than the user buffer. You can store all your data in the Sys.Idata[x] which can also be accessed as Sys.Udata[x], Sys.Fdata[x] and Sys.Ddata[x] depending on the format from the script and also by defining int, unsigned, float and double pointers starting at addressed location by "pushm" pointer in C environment. Regards,
Recommended Posts