Error while running LabView and Matlab on the same card

1 次查看(过去 30 天)
I am trying to output a sine wave through an AO channel (using Matlab function analogoutput) on a NI DAQ card and have it read on an AI channel on the same DAQ card through a LabView executable. The LabView executable also outputs data on a different (than the Matlab controlled channel) AO channel. I understand that the multiple applications cannot do the same function (e.g. input or output) on the same DAQ card. What I want to confirm is whether the error that I am getting is a direct result of this conflict. Here is the error message:
Error using daq.analogoutput_nidaqmx_1_5/start
Two or more properties that drive a line are set to the same terminal. Check
the settings of properties ending in 'DriveLine'.
When I used the object inspector to view the properties of the analog output object, I noticed the following values for the relevant properties:
ExternalClockDriveLine : None
ExternalTriggerDriveLine: None
Thanks!
Anand

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by