Good morning -

I am looking to be able to share some large [fixed] co-ordinate value arrays between a realtime component, but source it from an external flat file (via a complementary userspace component).

I was looking at the streamer and sampler, however I don't need the iterative nature of those methods, but rather do want a [huge] continuously-available lookup table in the realtime space.

For that I was looking next at the rtapi_shmem library, but haven't found any basic use examples between C and Python. (Admittedly I am a C/C++/C# guy rather than python, but am attempting to improve my coding skills since LCNC2.9 is now fully happy with Py3 and it seems to be the direction to go with if recent examples are any indication).

Are there any available use-case examples to pass an array/struct/etc as a contiguous block instantiated by python and read by C? The format is not yet determined, and can be directed by the implementation as needed, however as a baseline, 3x signed floats (read: x,y,z) with 400-1000 coordinate elements, give or take. The direction for this data is one way only (ie, realtime will not write or modify the shmem space, and write only happens by userspace at instantiation). Alternatively, I would still be happy with a C-userspace script creating the shmem to C-realtime; the Python option would simply be just an option.

Not sure if I'm asking quite the right questions to get the above, so thanks for any understanding where my google-fu didn't return much to learn from.

Regards,

Ted.


--
This email has been checked for viruses by Avast antivirus software.
www.avast.com


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to