Path Format Lost When Loading Simulator Program From CSV

Hi. New user. I have a project that I need to simulate.

In the Tag Browser, existing tags in the have an OPCItemPath that looks like this:


If I manually add a tag in my simulator program like this:

the path works.

However, if I export and re-import the file as CSV:

the tag path no longer works for any paths containing _Meta.

If I delete _Meta from path in tag browser, path works again.

Why does the _Meta work if I manually create but not if I import from CSV.

1 Like

It is convoluted why this is happening, but what is going on is _Meta is prefix is something that is added for legacy purposes. There is a flag that is being set in the config.idb file that indicates a Legacy Mode if one of the built in programs is loaded and nothing is changed before the initial save. This legacy mode ensures that users who are replacing simulators they created in 7.x with the new programmable simulator will not have to recreate their tags.

So what has happened is you started with one of the built in simulators and it got saved in its default state. Then it got modified, which persists the legacy flag, and exported. The export does not contain information on if the legacy flag was set.

When the export was again imported via the CSV option, the Legacy flag isn’t set and you are now in the situation where your OPC tags don’t have the correct opcItemPath.

There are two options to fix this:

  1. Recreate the OPC tags
  2. In your import file, manually add _Meta: before the value set in the Browse Path column and re-import the program.

Sorry for the frustration this has caused you.


1 Like

Thank you so much for the information!