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

Support querying device calibration information and Self-Cal #23

Open
epage opened this issue Aug 18, 2017 · 5 comments
Open

Support querying device calibration information and Self-Cal #23

epage opened this issue Aug 18, 2017 · 5 comments

Comments

@epage
Copy link

epage commented Aug 18, 2017

I don't think this stuff is supported in the API.

See http://zone.ni.com/reference/en-XX/help/370471AA-01/mxcprop/attributeclasscalibrationinfo/

@spalatofhi
Copy link

Has self calibration (DAQmxSelfCal) been added to the API?

@spalatofhi
Copy link

This seems to work, for self-calibration at least. It doesn't raise an error on a simulated device...

def self_cal(device: str):
    cfunc = lib_importer.windll.DAQmxSelfCal
    if cfunc.argtypes is None:
        with cfunc.arglock:
            cfunc.argtypes = [ctypes_byte_str]
    retcode = cfunc(device)
    check_for_error(retcode)
    return True # success!

@flef
Copy link

flef commented Nov 7, 2023

Hey,

Can you propose a Pull Request with this change ? I'm also looking for DAQmxSelfCal function in the API.

Regards

@zhindes
Copy link
Collaborator

zhindes commented Nov 7, 2023

@flef - this is a 6-year old Feature request. Nobody here will create a PR with that change. You can if you'd like!

@bkeryan
Copy link
Collaborator

bkeryan commented Dec 11, 2023

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

No branches or pull requests

6 participants