pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

Summary, pragmalint does not locate independent IO files properly #179

Closed n-wbrown closed 4 years ago

n-wbrown commented 4 years ago

Instead of seeking the .xti files in the [project_name]/_Config/IO/*.xti summary and pragmalint attempt to locate the files in [project_name]/[project_name]/*.xti.

Creating symlinks provides a temporary hack/solution to resolve this issue.

klauer commented 4 years ago

Do you have a sample project repo to add to our test suite?

n-wbrown commented 4 years ago

https://github.com/n-wbrown/lcls-plc-kfe-gmd-vac/commit/4b4105124f5ca00aac6353d7b8c58e12ac4ba333

This is the commit prior to adding the symlinks.

I plan to merge this into master soon

klauer commented 4 years ago

I see the what's happening, but I wonder what the environment configuration differences are coming in here. I'd like for pytmc to support any setting, but for now can you compare your settings against https://confluence.slac.stanford.edu/display/PCDS/TwinCAT+3+Git+Setup+and+Best+Practices ?