Jump to content
OMRON Forums

alangreer

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

alangreer's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Thank you for your answer it is perfect, and your example is just what I was looking for. Thanks again!
  2. Apologies if this has already been asked but I could not find an answer. I need to compile C code on the power PMAC that makes use of the shared memory structures. I would be using various scripts and services on the power PMAC to automatically download code and compile it, and so I cannot use the Windows IDE. Whilst I can compile C code, and include RtGpShm.h without any problems the application fails to run with a segmentation fault. I am assuming I have not linked to the libraries I require, or I have not made the right calls in the first place. I imagine I could call something like volatile struct SHM *pshm; double pos = pshm->Motor[0].JogPos; So is there a basic guide I can follow to get a C program to compile on the Power PMAC that talks to the shared memory structures, and have I just messed up the code, should I set the LD_LIBRARY_PATH to point to libraries etc. Any help would be appreciated on this matter.
×
×
  • Create New...