-
Notifications
You must be signed in to change notification settings - Fork 22
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
System.databases.add_alias
is missing parameters
#213
Comments
I marked this as a breaking-change, depending on how the API gets exposed. There are ways of implementing it without breaking the API. |
@lilesj: We should consult with J. Smith regarding this. add_alias has complex underlying implementation/behavior. |
Jason, Can you give your input on this change? Is this something we should do in the python API? It's not immediately clear to me if this is doable with just the C API, or if we would have to duplicate any implementation logic and state that is potentially being maintained in nixlvapi.dll. |
There isn't any way to do this through the C API right now. C users currently have to interactively add an alias through the database editor, where a dialog will prompt for these values. I would suggest NOT implementing anything in Python right now (there isn't any good way to do it anyway!). This should be escalated to be resolved in the C interface, at which point it should be exposed through Python. |
Talked with @jashnani. We're closing this issue since it is gated on adding the functionality to the C API. If/when these properties are available in the C API, we will revisit this issue. |
Change of plan; we're going to leave the issue open in case that helps keep it on our radar, though it will continue to be blocked until the C API supports these properties. |
Looking at the LabVIEW API,
XNET Database Add Alias
seems to havein addition to default baud rate and filepath of
System.databases.add_alias
.The text was updated successfully, but these errors were encountered: