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

NI-6738 AO sample clock too high #91

Open
dihm opened this issue Dec 14, 2021 · 0 comments
Open

NI-6738 AO sample clock too high #91

dihm opened this issue Dec 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@dihm
Copy link
Contributor

dihm commented Dec 14, 2021

This is more a cautionary note than something to fix, necessarily.

The 6738 analog output DAQ has 32 channels of AOs and a max single channel sample rate of 1 MS/s. This sample rate is preserved if only one output channel per bank is used (a bank being formed from four sequential AO channels).

However, if you have two AOs from the same bank (ie ao0 and ao1), the max single channel sample rate drops to 350 kS/s. The NI-DAQmx driver doesn't know this and will error out when trying to transition to buffered (since it tries to set a Sample clock limit of 1e6).

The current workaround is to only use one AO per bank (so ao0 and ao4 is fine), or to manually override the max_AO_sample_rate instantiation argument to an allowed 400e3.

@dihm dihm added the bug Something isn't working label Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant