I’m curious if anyone out there is using shared memory and had it working with ARSim? It seems to be working with briscShmOpen but not briscShmOpenByName.
The events seem to work but fine but getting memory by name returns NULL.
I’m curious if anyone out there is using shared memory and had it working with ARSim? It seems to be working with briscShmOpen but not briscShmOpenByName.
The events seem to work but fine but getting memory by name returns NULL.
Hi there,
unsure, but brisc is part of internal functions, not public, is it?
I think the mechanism to be used is this lib: B&R Online Help
Please correct me in anything wrong I’ve said.
Best regards
Michae
The brisc functions are the API to use on the GPOS side to interact with the shared memory and events.
They are public and are available in the system folder for the specific runtime you are using. It includes headers, static libraries and shared libraries.
There are examples of its use in the help at B&R Online Help if you click the source code link
Hi there,
I used it quite a while ago and also with ARsim. Both setups were working but I can not think of the functions I used back then. But something in my head insists that the function “byname” was not working. So there was an implementation to check if the byName works if not, try the other one. Together with checking the ARsim instance by code the brisc interface was handled accordingly.
BR Fabian