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

ENH: support enumeration of tsproj project-defined data types #214

Closed klauer closed 4 years ago

klauer commented 4 years ago

Additionally:

FIX: some tmc files are missing a DataArea; create one for symbols if needed.

I was previously unaware that DataTypes can be defined at the .tsproj level until I found this in the case of lcls-twincat-general: https://github.com/pcdshub/lcls-twincat-general/blob/4f45e54ff29676050368109dffca0f340c7054ac/LCLSGeneral/LCLSGeneral.tsproj#L149-L174

This adds summary support, and pairs with ads-deploy PR https://github.com/pcdshub/ads-deploy/pull/15

Example docs rendered output:

image
klauer commented 4 years ago

Tests passing and working locally. Merging to get ads-deploy going.