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

MCC USB-1808 Waveform Current point not updated #34

Open
sergeys21 opened this issue Nov 6, 2024 · 1 comment
Open

MCC USB-1808 Waveform Current point not updated #34

sergeys21 opened this issue Nov 6, 2024 · 1 comment

Comments

@sergeys21
Copy link

Waveform Generator Current point (WaveGenCurrentPoint) is not updated and stays at max when the waveform generator is in one-shot mode (WaveGenContinuous=0). It does work in the Waveform Generator continuous mode (WaveGenContinuous=1). Tested on MCC USB-1808.

@MarkRivers
Copy link
Member

I have reproduced this problem on both Windows and Linux. The value of the current point in the scan is read here in Windows:

status = cbGetIOStatus(boardNum_, &aoStatus, &aoCount, &aoIndex, AOFUNCTION);

and here in Linux:
status = ulAOutScanStatus(daqDeviceHandle_, &scanStatus, &xferStatus);

This code is independent of whether the scan is done in One-shot, or Continuous mode. So clearly the aoIndex is not being returned correctly by the underlying Measurement Computing driver, or by the device itself in One-shot mode.

I don't think there is anything we can do to fix the problem.

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

No branches or pull requests

2 participants