Skip to content

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