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

Fix P-733 AutoZero call #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zacsimile
Copy link

@zacsimile zacsimile commented Sep 11, 2024

...and add some spaces to error messages for nicer formatting.

There was a mismatch between the function call automatically generated by LabView and the actual PI call.

Generated call:
image (36)
image (35)

True call:
Untitled (1)

Fix:
image (37)
image (38)

Note that, once fixed, the pdLowVoltageArray input had to have constant values filled in (in this case I put -5 in entries 0-4), despite the fact that we explicitly tell the API to ignore this array in pbUseDefaultArray. If you just right click and add a constant without then manually updating the first few entries (at least enough to account for the number of axes you plan to AutoZero), the call will still fail even with a 1 in pbUseDefaultArray.

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.

1 participant