Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this PV be smaller? #363

Closed
prjemian opened this issue Dec 13, 2018 · 3 comments
Closed

Can this PV be smaller? #363

prjemian opened this issue Dec 13, 2018 · 3 comments
Labels

Comments

@prjemian
Copy link
Contributor

In NDFileHDF5.template : XMLFileName, does the NELM field need to be so large? It is defined as a 1MB. Perhaps a kB or two would be more than sufficient?

The MB size is causing problems when I try to record that PV value with PyEpics. See APS-2BM-MIC/ipython-user2bmb#13

@MarkRivers
Copy link
Member

The PV was made that large to be able to directly write the XML layout using Channel Access. I agree it is too large a default. I have changed it to be controlled by the macro XMLSIZE with a default of 2048. This default is set both in NDFileHDF.template (5ad2a68) and in EXAMPLE_commonPlugins.cmd (3765026). That first commit also changed ADDR and TIMEOUT to be macro parameters to be consistent with other plugin template files.

Users who require a larger value will need to change their commonPlugins.cmd or other startup script to set a larger value for XMLSIZE.

@MarkRivers
Copy link
Member

Closed via 5ad2a68 and 3765026.

@prjemian
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants