Unable to generate analog output using NI USB 6366

When trying to generate an analog output signal for the NI USB 6366 I run into trouble when trying to generate an sinusoidal signal. For example when using the analog output generator I am able to generate a constand DC output. However, when I try to implement a sine wave (the test signal (10 Hz sine)) the programm errors showing the following error message:
When I try to implement a sine wave though code (as in https://nl.mathworks.com/help/daq/generate-signals-on-ni-devices-that-output-voltage.html) I am again not able to implement a sine wave(but I am able to generate a constant voltage). I am using MATLAB 2021a
I am not sure why this is not working and would like some assistance.
Thank you

댓글 수: 1

cecile conrad
cecile conrad 2022년 4월 6일
편집: cecile conrad 2022년 4월 6일
For anyone with the same problem: I installed an older version of MATLAB (2020a) and NI driver 18.5 since I noticed similar problems were all very recent. With this combination of MATLAB+driver I no longer experience this problem and it works very well :)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Acquisition Toolbox에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2022년 4월 5일

편집:

2022년 4월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by