Forum Migration Notice
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

Virtual Controller System Directory Path

I am migrating RAPID from IRC5 to Omnicore. On the IRC5 (virtual controller), I was able to create directories and access them at the "System" directory with "../" but I get an error when I do this on an Omnicore virtual controller. Is there a way around this? Or does everything have to be in the "Home" directory? 

Comments

  • Hi!
    It's not entirely clear to me why and what folders you're trying to create. If the question is specifically about RAPID programs, the easiest way to migrate would be to save the modules from the IRC5 project and load them into the tasks of the Omnicore project (assuming the tasks are already configured in the system settings).
    Fritz

  • jbultman
    jbultman
    edited December 3
    I have a custom RW add-in that makes directories at the system level where the HOME directory is, but I cannot open the directories via RAPID commands. Another example: On the IRC5, the command MakeDir "../my-dir" would work on a VC to create a directory at the system level. On omnicore, that is no longer the case.
  • Fritz
    Fritz
    edited December 9
    OK, I misunderstood your question. 
    I personally have used only "home" folder to read/write files with path "HOME:".
    Have a look in RAPID manual into "Open" instruction page. Maybe there are some hints on how to do this.
    Edit: also found this: https://www.uzivatelskadokumentace.cz/Controllers/OmniCore/en/3HAC065037-001.pdf
    Section "Directory structure on OmniCore". Folder "ADDINDATA:" is probably path that add-ins on Omnicore have to use.

    Fritz.