Skip to content

Add script to create parameter db file - #2

Open
gustavosr8 wants to merge 1 commit into
masterfrom
script_param
Open

Add script to create parameter db file#2
gustavosr8 wants to merge 1 commit into
masterfrom
script_param

Conversation

@gustavosr8

Copy link
Copy Markdown

No description provided.

@gustavosr8 gustavosr8 mentioned this pull request Jun 25, 2026
field(DTYP, "asynInt32")
field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))NUMENERGYCHANNELS")
field(SCAN, "I/O Intr")
field(DISA, "0")

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is purpose of setting the records as disabled?

Comment on lines +57 to +64
print('# Macros:')
print('#% macro, P, Device Prefix')
print('#% macro, R, Device Suffix')
print('#% macro, PORT, Asyn Port name')
print('#% macro, TIMEOUT, Timeout, default=1')
print('#% macro, ADDR, Asyn Port address, default=0')
print('')

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that a comment saying that the db is automatically generated is more useful than explaining the macros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants